Script error in VC++ wizards after installing
作者:黄敏 日期:2009-06-29
You might have script errors in VC++ wizards after installing IE8, for example, trying to add a member variable using class wizard, or when you double click inside a dialog normally we should taken to corresponding file but instead we get a script error…
Script error
Pretty strange isn’t it. Well as per VC++ team blogs this bug due to IE8 installation. Reason for this behavior is as explained below (quoted from VC++ team blogs…)
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.And according to this blog, following fix should work….
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 = 0×000000
Just now I had this problem hence I had to use this fix and it works.



