none
VSTO ClickOnce deployement: System.Security.SecurityException RRS feed

  • Question

  • Hi,

    After deploying a VSTO app using ClickOnce and signing with a VeriSign certificate, I get the following exception when installing the app

    Name: TestWordAddIn

    From: http://clickonce.adlibsoft.com/clickoncetest/TestWordAddIn.vsto

    ************** Exception Text **************

    System.Security.SecurityException: Customized functionality in this application will not work because the certificate used to sign the deployment manifest for TestWordAddIn 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

    Before this worked fine; any ideas what might be wrong?

    Thanks,

    Christ Hagenaars

    Adlib Information Systems

    Tuesday, May 15, 2012 8:01 AM

Answers