VSTO Excel 2007插件无法从networking共享进行安装

我有一个VSTO插件,我发布在networking共享。 在我的公司,每个人都可以从networking共享安装和更新这个应用程序。 在域之外,我无法安装这个定制。 我得到以下错误:

安装错误截图

细节:

************** 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 

我首先认为这是证书的问题。 所以我明确地在客户机上安装了证书。 这并没有解决它。 当我复制flow目录让我们说我的桌面我可以安装和运行没有任何问题的插件。 所以看起来networking文件夹不是一个可信任的位置。 我在Excel选项中添加了pathZ:/Software/Flow/到受信任的位置。 此path自动parsing为完整path// server / data / software / flow /。 但是这并没有改变任何东西。 有人看过这个吗?

我find了解决scheme。 基本上,我将networking共享定义为Intranet区域中的受信任站点。

您将哪条path添加到受信任位置

如果不是“Z:\ Software \ Flow \”,你还检查了“这个位置的子文件夹也是可信的”选项吗?