Thursday 26 April 2012

Need Admin rights for Replay Vugen Scripts

Admin rights required to replay the script. Generally we get these type of error while replay the script through Vugen without having admin rights.

Warning: Extension LrXml.dll reports error -1 on call to function ExtPerThreadInitialize
Error: Vuser failed to initialize extension LrXml.dll.
If you do not want to give admin rights and want to replay the scripts then follow the following steps:(These steps are mainly for 9.1 and later version).
  1. Navigate to the following location: <LR>\\dat\\protocols
    1. If it is web protocol, go to QTweb.lrp
    2. 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
Hope by doing this script should not give error during Replay.
 
Error -27279: Internal Error – Report initialization failed, error code=-2147467259
 
I’m using Windows 7 and LoadRunner 11.50 build 2216. I looked in the HP support and found an article  that suggested that the way to resolve this was to run any LoadRunner script once as an administrator. Once you’ve done this, you’ll have “cured VuGen” of this fault.
This solution worked for me, here are the steps that I took:
  • Right click the VuGen shortcut and choose the option to “run as administrator”
  • Run the script once, the error should not appear.
  • Close VuGen

 I re-tested other Vugen script and error gone.

 How to Check that you have admin rights:

1.On XP - right-click on the clock in the tray and select the Adjust Date/Time command. You get a message if you don't have admin rights.

2. Another way is:
  1. right click on start
  2. check if you have the option to "open all users"
  3. if it's there, you have admin rights
3. Another way is:
a) Right click on My Computer and select Properties
b) Select the Computer Name tab.
c)If the Change… button is grayed out, the user is not logged in with administrator rights.


1 comment:

How to Change Password of IUSR_METRO Account

Sometime we need to change the password of IUSR_METRO Account. This may be required due to compliance issue. Below are the steps to chang...