安装 VSTO 运行时 2010 和 .Net framework 4 后出现问题 [英] Problem after installing VSTO runtime 2010 and .Net framework 4

查看:57
本文介绍了安装 VSTO 运行时 2010 和 .Net framework 4 后出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的整个团队安装了 VS 2010(它同时具有 VSTO 运行时 2010 和 .net framework 4).安装后,我们的一些开发人员在从在框架 3.5 和 VSRO 运行时 3 中开发的服务器:

Our entire team installed VS 2010(It has both VSTO runtime 2010 and .net framework 4).After installing that some of our developers are getting the below error (but for majority its working fine) while opening the deployed VSTO application from server developed in framework 3.5 and VSRO runtime 3:

***** 异常文本 *******Microsoft.VisualStudio.Tools.Applications.Runtime.CannotCreateCustomizationDomainException:自定义没有创建应用程序域所需的权限.---> System.Security.SecurityException:此应用程序中的自定义功能将不起作用,因为管理员已将 file://fmrdmwaprd2/CA-INSTALL/Demand/Templates/GeoDSS_Templates_UTT/APAC_RevOpt_OEM_Good_Bad_News/APAC_RevOpt_OEM_Good_Bad_NewstoT_UTT列为请联系您的管理员以获得进一步的帮助.在 Microsoft.VisualStudio.Tools.Office.Runtime.RuntimeUtilities.VerifySolutionUri(Uri uri)在 Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.CreateCustomizationDomainInternal(String solutionLocation, String manifestName, String documentName, Boolean showUIDuringDeployment, IntPtr hostServiceProvider, IntPtr& executor)失败的装配区是:我的电脑

***** Exception Text ******* Microsoft.VisualStudio.Tools.Applications.Runtime.CannotCreateCustomizationDomainException: Customization does not have the permissions required to create an application domain. ---> System.Security.SecurityException: Customized functionality in this application will not work because the administrator has listed file://fmrdmwaprd2/CA-INSTALL/Demand/Templates/GeoDSS_Templates_UTT/APAC_RevOpt_OEM_Good_Bad_News/APAC_RevOpt_OEM_Good_Bad_News_UTT.vsto as untrusted. Contact your administrator for further assistance. at Microsoft.VisualStudio.Tools.Office.Runtime.RuntimeUtilities.VerifySolutionUri(Uri uri) at Microsoft.VisualStudio.Tools.Office.Runtime.DomainCreator.CreateCustomizationDomainInternal(String solutionLocation, String manifestName, String documentName, Boolean showUIDuringDeployment, IntPtr hostServiceProvider, IntPtr& executor) The Zone of the assembly that failed was: MyComputer

推荐答案

听起来您的计算机存在信任问题".这是一个链接,其中包含有关不同位置/项目的信任级别以及如何更改它们的更多信息:

It sounds like your computers have "trust issues". Here is a link with more information about the trust levels for different locations / items and how you can change them:

http://msdn.microsoft.com/en-us/library/6exya3kf(v=vs.80).aspx

我还发现这篇 SO 文章可能与您的问题非常接近,可以帮助您:

I also found this SO article that might be close enough to your issue to help you out:

安装 VSTO 4.0 导致 VSTO3.0 插件退出工作

这篇关于安装 VSTO 运行时 2010 和 .Net framework 4 后出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆