关于VS2008和IE8冲突以致智能设备向导不能创建的问题
2010-05-29 11:00
330 查看
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.
Thank you
Visual C++ Team
__________________________________________________________________________________________________________________________________________________________
The Internet Explorer team has released a security update to IE as mentioned in the IE blog:
http://blogs.msdn.com/ie/archive/2009/06/09/ie-june-09-security-update-now-available.aspx
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.
- 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.
Thank you
Visual C++ Team
__________________________________________________________________________________________________________________________________________________________
The Internet Explorer team has released a security update to IE as mentioned in the IE blog:
http://blogs.msdn.com/ie/archive/2009/06/09/ie-june-09-security-update-now-available.aspx
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.
相关文章推荐
- 关于VS2008和IE8冲突以致智能设备向导不能创建的问题
- VS2008创建智能设备项目与IE8冲突的解决
- VS2008创建智能设备项目与IE8冲突的解决
- VS2005不能新建智能设备项目的解决方法(非IE8带来的问题)
- vs.net2005与ie7冲突(不能通过向导创建基于MFC的移动设备工程)
- 关于directshow播放器使用vmr9 renderless情况下创建设备的问题
- 关于“automation服务器不能创建对象”的问题的解决方案大全
- 关于VS2005和VS2008调试时,有些代码不能单步调试问题
- 关于安装IE8之后VS2008使用MFC出现问题的解决方法
- 关于VS2008不能调试使用WSDualHttpBinding协议WCF服务的问题
- 安装IE8正式版以后VS无法创建VC++智能设备项目的解决方法
- 关于VS2008生成的debug版应用程序在未安装VS的电脑上不能运行的问题
- 安装或更新到IE8后, VS2008 向导出现的Add Variable等等问题的 解决办法
- boost中关于正则表达式在vs2008不能匹配中文的问题
- 关于智能设备中无法找到PInvoke DLL问题
- 兼容IE8以下浏览器input表单属性placeholder不能智能提示功能,以及使用jquery.validate.js表单验证插件的问题处理
- 关于使用Intellij Idea创建SpringMVC框架时,Jsp里的EL表达式不能被解析的问题
- 关于Selenium脚本在Win7 IE8环境下不能运行的问题及解决方案
- 关于 vs2008 与 vs2005 的冲突问题
- 问题:VS2005和VS2008开发环境,安装IE8以后,无法创建 VC++ Smart Device Project?