We have an asp.net application that produces PDF output from SSRS (SQL 2016) using Reporting Services. It works great but when we try to use the same process in another web app on the same server we are getting the following exception error. The web app that is working is an intranet windows auth app and the one that is not working is a more public app. The rest of the public app works fine but when I try to save a PDF report I get the exception below in event log.
Process information: Process ID: 8532 Process name: w3wp.exe Account name: IIS APPPOOL\.NET v4.5 Exception information: Exception type: SoapException Exception message: System.Web.Services.Protocols.SoapException: The permissions granted to user 'NT AUTHORITY\IUSR' are insufficient for performing this operation. ---> Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The permissions granted to user 'NT AUTHORITY\IUSR' are insufficient for performing this operation. at Microsoft.ReportingServices.Library.ReportExecution2005Impl.LoadReport(String Report, String HistoryID, ExecutionInfo3& executionInfo) at Microsoft.ReportingServices.WebServer.ReportExecutionService.LoadReport(String Report, String HistoryID, ExecutionInfo& executionInfo) at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.ReportExecutionService.LoadReport(String Report, String HistoryID) at FilesClass.CreatePDFReport(String strReportName, Int32 intRecordID, Int16 intType) in C:\inetpub\wwwroot\RepairTrak\App_Code\FilesClass.vb:line 342 at orders_FinalBillReports.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\RepairTrak\Repairs\FinalBillReports.aspx.vb:line 71 at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)