Error: "Could not complete operation" when creating a TruClient Ajax - IE protocol script in LoadRunner VuGen

  • KM01217707
  • 21-Oct-2014
  • 21-Oct-2014

Summary

A registry key may be missing which specifies the IE version. A procedure to add the key is provided.

Error

Having installed the LoadRunner VuGen 12.01 component on a Microsoft Windows 7 SP1 64bit platform, when attempting to create a TruClient Ajax - IE protocol script the following error message is displayed:

Could not complete operation.
Details:
In order to create a new Ajax TruClient – IE script you must have Internet Explorer 9,10, or 11 installed on your machine.

However Internet Explorer 9 is installed and working on the platform. Why is this message being displayed?

Cause

A possible cause is that there are missing registry keys. On a 32bit platform a single "Version Vector" registry key should be present as follows:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Version Vector -> IE = 9.0000 REG_SZ

On a 64bit platforms two "Version Vector" registry keys should be present as follows:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Version Vector -> IE = 9.0000 (REG_SZ)

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\Version Vector -> IE = 9.0000 (REG_SZ)

Fix

To add a registry key follow these steps:

  1. Click "Start", type "regedit" and press "Return" to start the Registry Editor,
  2. Navigate to the location where the above keys are located e.g. "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\Version Vector" in the left hand pane,
  3. If there is no key named "IE" displayed in the right hand pane, right-click in the right hand pane and select "New -> String Value",
  4. Specify the name as "IE",
  5. Specify the value as "9.0000",
  6. Close the registry and retry the failing operation.