Search code examples
multithreadingdllfatal-errorloadrunnerloadlibrary

LoadLibrary failed when running Loadrunner 12.53


Fatal Error -32988: LoadLibrary failed, rc=193 [MsgId: MERR-32988]

Fatal Error -26000: xfbLrwiWebInfraGlobalInitOK failed [MsgId: MERR-26000]

Warning: Extension lrwreplaymain.dll reports error -1 on call to function ExtPerProcessInitialize Error: Thread Context: Call to service of the driver failed, reason - thread context wasn't initialized on this thread.

Recording is passed but cannot replayed due to the above error. Thanks for the help in advance.


Solution

  • Either lrwreplaymain.dll or some of the DLLs it depends on were corrupted (error code 193 = ERROR_BAD_EXE_FORMAT). This may have been caused by virus attack, file system corruption etc.

    The easiest solution is to re-install LoadRunner. You can also check which DLLs are corrupted by means of the Dependency Walker x86. Just start it and open <LoadRunner installation folder>\bin\lrwreplaymain.dll