Visual C++ team has discovered that after installing the current release of Internet Explorer (Internet Explorer 8), some VC++ wizards do not function correctly. The products affected are Visual Studio 2005 and Visual Studio 2008. Following are the affected wizards:
- Add Function
- Add Variable
- Smart Device – New Project Creation
- Smart Device – Add Class
Invoking any of the above wizards in VS2005 or VS2008 will pop up a script error if IE8 is installed on the machine. We have a workaround for those who have encountered this error.
Please follow the following steps:
- Open regedit (on a 64-bit OS, open the 32-bit regedit)
- Under “HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones”, create a new key called 1000 (if it isn't already there)
- Under 1000, create a DWORD entry with:
o Name = 1207
o Type = REG_DWORD
o Data = 0x000000
For the workaround to work on VS2005 however, the VS2005 SP1 (and VS2005 SP1 Update for Windows Vista) has to be installed.
Following is a brief explanation of the problem and the workaround:
The VC++ Wizards Engine implements the IInternetSecurityManager interface. In this implementation it allows or disallows specific actions under certain policies that Internet Explorer queries it about. In IE8 a custom Security Manager now also gets queried about the URLACTION_ACTIVEX_OVERRIDE_REPURPOSEDETECTION policy which IE previously did not delegate to custom security managers when the engine wasn’t running in the iexplore.exe process. The IE engine then fails this action because we don’t have a policy entry for it in the custom zone for VC++ Wizards. We are still investigating whether this change in IE8 is by design and will possibly be addressing it by a fix in either the Wizard or IE components depending on the outcome.
The above workaround lets the policy 1207 (URLACTION_ACTIVEX_OVERRIDE_REPURPOSEDETECTION) to be allowed in zone 1000 (custom zone of VC++ Wizards engine). This allows the wizard code to work as intended.
We apologize for the inconvenience this issue may have caused you.
Visual C++ Team
The Internet Explorer team has released a security update to IE as mentioned in the IE blog:
This update also fixes the problem that caused some Visual Studio wizards to pop up a script error. After applying this update, the earlier workaround in the registry is no longer required, and the wizards should work fine.
The Visual Studio team have blogged about an issue with Visual Studio 2005/2008 after installing IE8
I have exactly this error, but posted workaround failed to work for me. What else I can do short of uninstalling IE8 ?
Could you let us know the following from your configuration:
- OS (XP/Vista/Server, 32/64 bit)
- Version of Visual Studio (2005, 2008 with or without SP1)
- Which wizard is failing for you?
Certains d’entre vous ont surement déjà pu constater le soucis: après l’installation de la dernière version
I have to disagree with the view that "there are more important things to work on" - while perhaps there are, you're looking at what, maybe two person-weeks of work to code and another two person-weeks to test?
@RB: what do you expect to be done in two weeks? Change the html-wizards back to Win32-dialogs, WinForms or WPF?
I guess you underestimate the work.
I'm afraid I have the same issue as Jack: i tried the workaround which does not seem to solve anything.
-I use vista x64 (I made the changes in the x32 registry, although changes I make in HKCU are reflected in both x32 and x64 registry, verified twice)
-VS 2008 SP1
-I lauch the 'add variable' wizard directly from the classview, C++ environment)
Here is what I have installed in the following order:
32 bit Windows XP Professional (all the online upgrades up to date).
Visual C# Express 2008
Visual C++ Express 2008
IE8 upgrade from IE7
Visual Studio 2005 Standard.
All available online upgrades for VS2005 including SP1
Windows Mobile 6 SDK Rerfesh kit
The wizard that I tried and which fails is a Smart Device C++ Win32 new project.
I have made recommended here registry fix, but the wizard continue failing in the same manner. It comes back to the initial "new project" window with the message of script failure in the status area.
Jack Are you observing that the issue of New Project in only in Smart Device Projects ? Does the patch address the other issues for you?
I don't know about any other issues. I don't program Smart Devices that much. I don't see problems with PC programming, but I only tested briefly wizards to start project there. I haven't tested wizards later to generate anything else like class etc. In fact I don't even use VS2005 that much recently. Expresss editions 2008 cover most of my needs. I turned to my old VS2005 only to develop small application for Windows Mobile 6 a week ago and I wasn't succesfull to start a project yet due to this issue.
Would you mind opening a connect bug about this issue? Also please post the bug # when you have done so.
It seems to affect the MFC class wizards too. It happened to one of my friend and this fix solved the issue.
こんにちは！ フォーラム オペレーターの服部清次です。 ここ最近、どういう訳か肌寒い日が続いていますが、皆さんはお元気ですか？ 僕は、冬服をしまったばかりのタイミングでしたので、ちょっとビックリしています。