Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

OneClick deployment fails with TrustNotGrantedException

$
0
0

Hello Everyone,

I have a one click updateable app that works perfectly fine with Visual Studio 2008 which no longer works when we moved it over to visual studio 2013.  Has some security requirement for .Net 4.5.1 changed from .Net 3.0 ?

Casey

System.Deployment.Application.TrustNotGrantedException was unhandled
  _HResult=-2146233087
  _message=User has refused to grant required permissions to the application.
  HResult=-2146233087
  IsTransient=false
  Message=User has refused to grant required permissions to the application.
  Source=System.Deployment
  StackTrace:
       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.CheckForDetailedUpdate()
       at SoftDisplay.KrillUtilities.SoftwareUpdate.SoftwareUpdateViewModel.<.ctor>b__0(Object param)
       at System.Threading.TimerQueueTimer.CallCallbackInContext(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.TimerQueueTimer.CallCallback()
       at System.Threading.TimerQueueTimer.Fire()
       at System.Threading.TimerQueue.FireNextTimers()
       at System.Threading.TimerQueue.AppDomainTimerCallback()
  InnerException:


casey2727


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>