Tuesday 30 July 2013

VuGen hangs when trying to create parameters

When trying to create a new parameter in VuGen, the CPU utilization for VuGen.exe goes up to 100% and stays there eventually causing VuGen to crash.
Diagnosis: The ss32x25.ocx file was not registered on the machine.

Solution
Register the ss32x25.ocx file on the VuGen machine.
1. Check if ss32x25.ocx exists in C:\WINNT\system32 or C:\windows\system32 where it is copied to during the LR/VuGen installation.
2. Check the version of the .ocx file, and confirm it is 2.5.0.20.
Note:
If the file is not present or the version is a lower one, copy it from a working LoadRunner machine, or, it can be found in the LoadRunner installation DVD, under this folder:
lrunner\MSI\setup_j\register
3. Register the ss32x25.ocx file using regsvr32.
Use the regsvr32 command to register or unregister a DLL

To register a DLL or OCX file
Method 1:
1. Open a DOS window.
2. Navigate to the DLL’s or OCX’s directory.
3. Enter regsvr32.exe .
Example:
regsvr32.exe mylibrary.dll
Method 2:
1. Go to Start -> Run and enter regsvr32.
2. Open Windows Explorer and find the file.
3. Drag the file from the Windows Explorer window into the Run dialog window. This will enter the full path to the DLL or OCX file.
4. Click
Example:
regsvr32.exe "c:program filesMercurymylibrary.dll"

To unregister a DLL or OCX file
Method 1:

1. Open a DOS window.
2. Navigate to the DLL’s or the OCX’s directory.
3. Enter regsvr32.exe /u .
Example:
regsvr32.exe /u mylibrary.dll
Method 2:
1. Go to Start -> Run and enter regsvr32 /u.
2. Open Windows Explorer and find the file.
3. Drag the file from the Windows Explorer window into the Run dialog window. This will enter the full path to the DLL or OCX file.
4. Click

No comments: