Dot-Net
VSTO Excel 2007 外掛無法從網路共享安裝
我有一個在網路共享上發布的 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我一開始以為是證書的問題。所以我在客戶端機器上明確安裝了證書。那並沒有解決它。當我將
flow目錄複製到我的桌面時,我可以毫無問題地安裝和執行外掛。因此,網路文件夾似乎不是受信任的位置。Z:/Software/Flow/我在 Excel 選項中添加了到受信任位置的路徑。此路徑自動解析為完整路徑 //server/data/software/flow/。但這不會改變任何事情。有人見過這個嗎?
我找到了解決方案。基本上我將網路共享定義為 Intranet 區域中的受信任站點。
您將哪條路徑添加到受信任的位置?
如果不是“Z:\Software\Flow\”,您是否還選中了“此位置的子文件夾也受信任”選項?
