Highlighted
Absent Member.
Absent Member.
1809 views

VuGen Error

Hi,
VuGen version - 9.1
Updated to -- 9.50

I am getting the below error while running the scripts in Web(Http/Html). Those scripts worked fine before. I am sure it is not because of update, as the error came even before updating the VuGen.

Warning: Extension LrXml.dll reports error -1 on call to function ExtPerThreadInitialize
Error: Vuser failed to initialize extension LrXml.dll.
Vuser Terminated.

0 Likes
8 Replies
Highlighted
Absent Member.. Absent Member..
Absent Member..

Do you have administrative rights on the machine?

Please verify if LrXml.dll file is present in the /bin directory.

Try to run the dll manually.
Go to start->run and type cmd.

Execute the following instructions in the order shown below:

Regsrv32 "C:\Program Files\Mercury Interactive\LoadRunner\bin\LrXml.dll

Please disable the anti-virus if any running in the background.
0 Likes
Highlighted
Absent Member.
Absent Member.

Thanks for your reply Shivram,

I do not have admin rights. But, even for admins also, the same error is coming.

No Antivirus

I searched C drive for list of lrxml.dll
I got 3 paths.
C:\Programfiles\BPM\bin
C:\Programfiles\HP\VirtualUserGenerator 9.50\bin
C:\TEMP\HP Virtual User Generator\bin

The one you told me to run on cmd does not exist for me.
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Hi Chandu,

register LrXml.dll....In your case it's in below path.

C:\Programfiles\HP\VirtualUserGenerator 9.50\bin

Let me know, how it goes now?
0 Likes
Highlighted
Absent Member.
Absent Member.

Hi Shivaram,

I got the following message, when I run the command Regsvr32 "C:\Program Files\HP\Virtual User Generator\bin\lrxml.dll"

Message ::

"C:\Program Files\HP\Virtual User Generator\bin\lrxml.dll was loaded but the DllRegisterServer entry point was not found.

The file can not be registered."
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Rename Vugen.ini file located in the C:/ windows directory to Vugen_old.ini

Run the register_vugen.bat file to reregister dlls.

Repeat the above step for: register_controller.bat, miregsvr.bat and set_mon.bat.

You can locate these batch files from below path:

C:\Programfiles\HP\VirtualUserGenerator 9.50\bin

Or better, repair your VuGen component by re-running the setup and choosing repair option.

Let me know, how it goes now?
Highlighted
Absent Member.
Absent Member.

Strangely, I have only one file vugen_OLD.ini file, when I checked in C:/WINDOWS directory. I did not see vugen.ini file.

Does this mean I need to reinstall VuGen again? I was not able to findout the batch files you mentioned in the above mail.
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Hi Chandu,

I would recommend you to repair or re-install the VuGen again....looks like some conflict when you upgraded from v9.1 to v9.5...

May be some dll conflict with the versions...

If the issue still persists, you can log a call with HP support team....someone can resolve this issue for you.
Highlighted
Honored Contributor.. Honored Contributor..
Honored Contributor..

HP has the steps to resolve this issue in KM888405:

 

1. Navigate to the following location: <LR>\\dat\\protocols
a. If it is web protocol, go to QTweb.lrp
b. if it is citrix protocol , go to citrix.lrp or citrix_ica.lrp

2. Go to LRP file based on the script being used,

3. Open the relevant file in a Notepad

4. Look for: ResultsDirUI=1

5. Comment it out by adding a semicolon. For example: ;ResultsDirUI=1

6. Save the changes to the file


The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.