none
CompileReport privilege error RRS feed

  • Question

  • I'm not sure if this is a problem in the .NET framework or in Report Viewer, but it has recently started appearing on a couple of our computers. We had been seeing it in code we used to occasionally check for ClickOnce updates to the app. I thought it had to do with the computer going idle and then doing the check. However, this is happening as the user tries to view a report, so it's definitely not while the computer is idle. Suggestions?

    A privilege that the service requires to function properly does not exist in the service account configuration. You may use the Services Microsoft Management Console (MMC) snap-in (services.msc) and the Local Security Settings MMC snap-in (secpol.msc) to view the service configuration and the account configuration. (Exception from HRESULT: 0x80070511)
       at System.Deployment.Internal.Isolation.IsolationInterop.CreateActContext(CreateActContextParameters& Params)
       at System.Deployment.Internal.Isolation.IsolationInterop.CreateActContext(IDefinitionAppId AppId)
       at System.ActivationContext.CreateFromName(ApplicationIdentity applicationIdentity)
       at System.Deployment.Internal.Isolation.Manifest.CmsUtils.CreateActivationContext(String fullName, String[] manifestPaths, Boolean useFusionActivationContext, ApplicationIdentity& applicationIdentity, ActivationContext& activationContext)
       at System.AppDomain.SetDomainManager(Evidence providedSecurityInfo, Evidence creatorsSecurityInfo, IntPtr parentSecurityDescriptor, Boolean publishAppDomain)
       at System.AppDomain.InternalRemotelySetupRemoteDomainHelper(Object[] args)
       at System.AppDomain.nCreateDomain(String friendlyName, AppDomainSetup setup, Evidence providedSecurityInfo, Evidence creatorsSecurityInfo, IntPtr parentSecurityDescriptor)
       at System.AppDomain.CreateDomain(String friendlyName, Evidence securityInfo, AppDomainSetup info)
       at Microsoft.Reporting.ReportCompiler.CompileReport(CatalogItemContext context, Byte[] reportDefinition, Boolean generateExpressionHostWithRefusedPermissions, ReportSnapshotBase& snapshot)

    Thursday, May 29, 2014 8:56 PM