ClickOnce TrustNotGrantedException exception RRS feed

  • Question

  • Hi,

    There is windows forms application, whick is deployed using ClickOnce.  

    For some reason some clients (5 of >100) experience problems with ClickOnce update, method  CheckForUpdate fails with TrustNotGrantedException exception. Application is signed with "real" certificate. 
    Any idea what can be the reason?

    Unfortunately I cannot reproduce the problem locally.

    OS version: Microsoft Windows NT 6.1.7601 Service Pack 1

    System.Deployment.Application.TrustNotGrantedException: User has refused to grant required permissions to the application.   at System.Deployment.Application.ApplicationTrust.RequestTrust(SubscriptionState subState, Boolean isShellVisible, Boolean isUpdate, ActivationContext actCtx, TrustManagerContext tmc)   at System.Deployment.Application.DeploymentManager.DetermineTrustCore(Boolean blocking, TrustParams tp)   at System.Deployment.Application.DeploymentManager.DetermineTrust(TrustParams trustParams)   at System.Deployment.Application.ApplicationDeployment.CheckForDetailedUpdate(Boolean persistUpdateCheckResult)   at System.Deployment.Application.ApplicationDeployment.CheckForUpdate()


    • Moved by Anne Jing Tuesday, March 25, 2014 5:49 AM
    Wednesday, March 19, 2014 2:01 PM

All replies