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 \”,你还检查了“这个位置的子文件夹也是可信的”选项吗?
- 有什么办法来loggingExcel加载项exception(无代码更改)?
- VB.NET TryParse返回False,虽然有效的date通过
- Excel编程:从HRESULTexception:Microsoft.office.Interop 0x800A753F
- 通过.net将excel列格式化为“yyyy-MM-dd”
- 升级.Net版本后无法加载文件或程序集错误
- 如何数字sortingExcel列
- C# – 未注册的类 – 使用VBIDE创build一个包含macros的Excel电子表格
- 将字节数组复制到具有多个工作表的Excel文件
- 在Excel代码中embeddedExcel逻辑以获得复杂的公式