Hi,
Please check have you installed this below patch on your machine:
For Full LoadRunner: http://support.openview.hp.com/selfsolve/document/KM00211062
For Vugen SA: http://support.openview.hp.com/selfsolve/document/KM00209456
If not, please install it then re-record the script again and replay.
And during recording the script, please make sure to add a wait step before any enter credentials step and add wait for object step before any login step.
Regards,
Chau