IE8正式版引发VS2005和VS2008添加变量向导出错的解决方案

IE8正式版引发VS2005和VS2008添加变量向导出错的解决方案

编程专栏 2010-07-05 13:59:46 阅读827 评论1   字号: 订阅

当中vs 2005或者vs 2008编写程序使用向导添加成员变量是会出现如下错误:
路径指向添加变量向导的网页,如下:
即:C:/Program Files/Microsoft Visual Studio 9.0/VC/VCWizards/CodeWiz/MFC/Variable/HTML/2052/default.htm
IE8正式版引发VS2005和VS2008添加变量向导出错的解决方案 - 含笑 - 轻裹你的那阵风

D:/Program Files/Microsoft Visual Studio 9.0/VC/VCWizards/CodeWiz/MFC/Variable/HTML/2052/default.htm 
file:///D:/Program Files/Microsoft Visual Studio 9.0/VC/VCWizards/CodeWiz/MFC/Variable/HTML/2052/default.htm 
IE8正式版引发VS2005和VS2008添加变量向导出错的解决方案 - 含笑 - 轻裹你的那阵风

解决办法1:
卸载IE8
解决办法2:(自己使用的方法)

打开注册表编辑器

选择“HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Internet 
Settings/Zones“     (如果该项中没有名为1000的项,则建一个key名为1000)

在1000中建一个DWORD属性如下:

Name = 1207 

Type = REG_DWORD 

Data = 0x000000


IE8正式版引发VS2005和VS2008添加变量向导出错的解决方案 - 含笑 - 轻裹你的那阵风



完成,如果操作真确则可以顺利使用
正确的图
IE8正式版引发VS2005和VS2008添加变量向导出错的解决方案 - 含笑 - 轻裹你的那阵风


Walkaround for Error : An add-on for this website failed to run. When opening Visual C++'s Add Variable Wizard after IE 8 is installed

Download: http://jiangsheng.net/Documents/IE8AddZone.zip 

Prerequisite: Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) 

This program is designed to temporary circumvent the "An add-on for this web site failed to run. Check the security settings in Internet options for potential conflicts" error after installing IE8. For more details about this problem, visit https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=425510 

Update: the VC team's workaround is at http://blogs.msdn.com/vcblog/archive/2009/03/28/some-vs2005-and-vs2008-wizards-pop-up-script-error.aspx. However, I still suggest copying other settings from a restricted zone before modify the 1207 key. 

Clicking the create button will create another Internet Explorer security zone with the id 1000 that will affect all urls not included in other zones. This will allow separate security settings for webbrowser control hosting application such as Visual Studio. If settings are copied from a trusted configuration such as "my computer",a webbrowser control hosting application may not experience the aforementioned error. 

Security Remarks: do not visit unsecured web site or use email software on the same computer after creating the new zone as the security impact of the new zone is not yet tested. Applications that host webbrowser control should implement their own security manager if they want to run ActiveX in the browser control. 

If you received a fix from the IE team for this problem, please delete the zone created by this problem by clicking the delete button. Visit https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=425510 for the status of this problem. 

For more information about adding zones to IE, visit http://www.nthelp.com/50/addazone.htm . 

For more information about Internet Explorer security zones, visit http://support.microsoft.com/kb/182569 

For more information about Visual C++ wizards, visit http://msdn.microsoft.com/en-us/library/aa730846(VS.80).aspx 

Suspicious url actions from Regmon logs: 
2700 URLACTION_INPRIVATE_BLOCKING (Don’t think Visual Studio know what is the private mode) 
2106 URLACTION_FEATURE_DATA_BINDING (a lot of these in the registry log) 
1207 URLACTION_ACTIVEX_OVERRIDE_REPURPOSEDETECTION (not sure what this is doing, but it is the only one between URLACTION_ACTIVEX_MIN and URLACTION_ACTIVEX_MAX) 
160A URLACTION_HTML_INCLUDE_FILE_PATH
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值