VSTO Excel 2007插件无法从网络共享安装

Jan*_*Jan 13 .net excel clickonce vsto

我有一个VSTO插件,我在网络共享上发布.在我的公司,每个人都可以从网络共享安装和更新此应用程序.在域外,我无法安装此自定义.我收到以下错误:

安装错误截图

细节:

************** Exception Text **************
System.Security.SecurityException: Customized functionality in this application will not work because the certificate used to sign the deployment manifest for flow or its location is not trusted. Contact your administrator for further assistance.
   at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInTrustEvaluator.VerifyTrustPromptKeyInternal(ClickOnceTrustPromptKeyValue promptKeyValue, DeploymentSignatureInformation signatureInformation, String productName)
   at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInTrustEvaluator.VerifyTrustUsingPromptKey(Uri manifest, DeploymentSignatureInformation signatureInformation, String productName)
   at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.VerifySecurity(ActivationContext context, Uri manifest, AddInInstallationStatus installState)
   at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()
The Zone of the assembly that failed was:
MyComputer
Run Code Online (Sandbox Code Playgroud)

我首先认为这是证书的问题.所以我在客户机上明确安装了证书.那并没有解决它.当我复制flow目录让我们说我的桌面我可以安装并运行插件没有任何问题.因此,网络文件夹似乎不是受信任的位置.我Z:/Software/Flow/在Excel选项中添加了受信任位置的路径.此路径自动解析为完整路径// server/data/software/flow /.但这并没有改变任何事情.以前有人见过这个吗?

Jan*_*Jan 10

找到了解决方案.基本上我将网络共享定义为Intranet区域中的可信站点.