Fix Visual Studio 2005 and 2008 Wizards Script Error When Internet Explorer 8 (IE8) Is Installed

Fix Visual Studio 2006-08 Wizards Script Error on Internet Explorer 8

Internet Explorer 8 high security causes a few problems with development studios, I mentioned one in my previous article, here is another.

After installing Internet Explorer 8 (IE8), some Visual C++ wizards do not function correctly. This is due to the implementation of policy 1207 (URLACTION_ACTIVEX_OVERRIDE_REPURPOSEDETECTION). Following are the affected wizards:

– Add Function

– Add Variable

– Add Class

– Smart Device – New Project Creation

– Smart Device – Add Class

Running any of the above wizards in VS 2005 or VS 2008 will pop up a script error (“An Add-on for this website failed to run. Check the security settings in Internet Options for potential conflicts.”), in case IE8 is installed on the machine.

Here is a workaround for those developers who have encountered this error.

Modify the registry as described below;

– Open RegEdit (XP: Go to Start Menu select Run, type Regedit and enter; Vista and 7: Go to Start Menu search, type Regedit, once found run it)

– Browse to HKEY_CURRENT_USER -> SOFTWARE -> Microsoft -> Windows -> CurrentVersion -> Internet

Settings -> Zones -> 1000 (create the key 1000, if it isn’t already there)

– Add a DWORD value called 1207 with a value of 0

Note that If you are using a 64-bit computer, you need to edit the 32-bit registry by running the 32-bit Regedit (path WindowsSysWow64regedt32.exe)

The above workaround lets the policy 1207 to be allowed in zone 1000 (custom zone of VC++ Wizards engine).

Source by Danny K J

Leave a Reply

Your email address will not be published.