# Epicor / SQL Reporting issue: The request failed with an empty response

**URL:** <https://www.epiusers.help/t/epicor-sql-reporting-issue-the-request-failed-with-an-empty-response/90091>\
**Category:** Epicor ERP 10\
**Tags:** sql, reports\
**Created:** [May 4, 2022, 2:34pm UTC](https://www.epiusers.help/t/epicor-sql-reporting-issue-the-request-failed-with-an-empty-response/90091 "2022-05-04T14:34:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jepp](https://www.epiusers.help/user_avatar/www.epiusers.help/jepp/32/50103_2.png) [@jepp](https://www.epiusers.help/u/jepp)\
**Post date:** [May 4, 2022, 2:34pm UTC](https://www.epiusers.help/t/epicor-sql-reporting-issue-the-request-failed-with-an-empty-response/90091/1 "2022-05-04T14:34:33Z")

</div>

Seeing the same error message that was reported here, but can’t figure out what is causing it: [The request failed with an empty response](https://www.epiusers.help/t/the-request-failed-with-an-empty-response/38973)

No upgrade/change has taken place at the server level. Reports worked fine yesterday but began failing overnight, no report will process today. Plenty of disk space remaining (two drives on the server, OS drive has 174 GB free, data drive has 313 GB free). Only change that I am aware of is that Microsoft Multi-Factor Authentication settings were changed yesterday afternoon but that change was rolled back this morning with no change in the reporting services issue.

I have a ticket open with Epicor Support but I am desperate for a solution, so thought I’d check here while I wait for them to call back.

Epicor Task Agent shows this error when a report is previewed/printed:

> Program Ice.Services.Lib.RunTask raised an unexpected exception with the following message: RunTask:  
> System.InvalidOperationException: Client found response content type of ‘’, but expected ‘text/xml’.  
> The request failed with an empty response.  
> 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 Ice.Core.SsrsReportService.ReportExecutionService.LoadReport(String Report, String HistoryID) in C:\_Releases\ICE\ICE3.2.700.0\Source\Server\Internal\Lib\TaskLib\Web References\SsrsReportService\Reference.cs:line 287  
> at Ice.Core.SsrsReporting.SsrsRendererBase.ConfigureReportServerForReport(String reportPath, ParameterValue parameters) in C:\_Releases\ICE\ICE3.2.700.0\Source\Server\Internal\Lib\TaskLib\SsrsReporting\SsrsRendererBase.cs:line 169  
> at Ice.Core.SsrsReporting.SsrsSingleDocumentRenderer.\<\>c\_\_DisplayClass1\_0.b\_\_0() in C:\_Releases\ICE\ICE3.2.700.0\Source\Server\Internal\Lib\TaskLib\SsrsReporting\SsrsSingleDocumentRenderer.cs:line 49  
> at Ice.Core.SsrsReporting.SsrsRendererBase.TraceReportRendered(String printProgram, String ssrsRenderFormat, Func`1 timedAction) in C:\_Releases\ICE\ICE3.2.700.0\Source\Server\Internal\Lib\TaskLib\SsrsReporting\SsrsRendererBase.cs:line 88 at Ice.Core.SsrsReporting.ReportProcessorBase.RenderReport(String ssrsRenderFormat, String printProgram, Boolean ignorePageSettings) in C:\_Releases\ICE\ICE3.2.700.0\Source\Server\Internal\Lib\TaskLib\SsrsReporting\ReportProcessorBase.cs:line 247 at Ice.Core.SsrsReporting.ReportProcessorBase.RenderReportForPreviewOrGenerate(RenderedSsrsReport renderedReport) in C:\_Releases\ICE\ICE3.2.700.0\Source\Server\Internal\Lib\TaskLib\SsrsReporting\ReportProcessorBase.cs:line 408 at Ice.Core.SsrsReporting.ReportProcessorBase.ProcessReportPart(String reportLocation) in C:\_Releases\ICE\ICE3.2.700.0\Source\Server\Internal\Lib\TaskLib\SsrsReporting\ReportProcessorBase.cs:line 163 at Ice.Core.SsrsReporting.ARFormReportProcessor.ProcessReportParts() in C:\_Releases\ICE\ICE3.2.700.0\Source\Server\Internal\Lib\TaskLib\SsrsReporting\ARFormReportProcessor.cs:line 42 at Ice.Core.RoutingAndBreaking.ReportPersister.Persist(ReportInstanceInformation reportInstance, Func`2 reportsRenderer, Action`1 fillSysRptLstRow, Action`2 processReport, Func`3 filterTableAttachmentsFunc) in C:\_Releases\ICE\ICE3.2.700.0\Source\Server\Internal\Lib\TaskLib\RoutingAndBreaking\ReportPersister.cs:line 58 at Ice.Core.RptBase.ReportSsrsDatabaseBuilder.RenderUnroutedSsrsReport() in C:\_Releases\ICE\ICE3.2.700.0\Source\Server\Internal\Lib\TaskLib\RptBase\ReportSsrsDatabaseBuilder.cs:line 305 at Ice.Core.RptBase.ReportSsrsDatabaseBuilder.RunSsrsReportIfEnabled() in C:\_Releases\ICE\ICE3.2.700.0\Source\Server\Internal\Lib\TaskLib\RptBase\ReportSsrsDatabaseBuilder.cs:line 229 at Ice.Core.RptBase.ReportSsrsDatabaseBuilder.ProcessReportWithDataInPlace(Func`2 executeCommand, Func`2 executeReader, SqlObjectsCreated sqlObjectsCreated) in C:\_Releases\ICE\ICE3.2.700.0\Source\Server\Internal\Lib\TaskLib\RptBase\ReportSsrsDatabaseBuilder.cs:line 111 at Ice.Core.RptBase.ReportDatabaseBuilder.XMLClose() in C:\_Releases\ICE\ICE3.2.700.0\Source\Server\Internal\Lib\TaskLib\RptBase\ReportDatabaseBuilder.cs:line 93 at Ice.Core.RptTaskBase`1.XMLClose() in C:\_Releases\ICE\ICE3.2.700.0\Source\Server\Internal\Lib\TaskLib\RptBase\RptTaskBase.cs:line 229  
> at Erp.Internal.AR.ARInvForm.RunProcess(Int64 instanceTaskNum, String outputFileName) in C:\_releases\ERP\ERP10.2.700.29\Source\Server\Internal\AR\ARInvForm\ARInvForm.cs:line 1448  
> at Ice.Core.TaskBase`1.StartProcess(Int64 instanceTaskNum, String outputFileName) in C:\_Releases\ICE\ICE3.2.700.0\Source\Server\Internal\Lib\TaskLib\TaskBase\TaskBase.cs:line 83  
> at Ice.Hosting.TaskCaller.InnerExecuteTask(IceDataContext newContext) in C:\_releases\ICE\ICE3.2.700.29\Source\Framework\Epicor.Ice\Hosting\TaskCaller\TaskCaller.cs:line 117  
> at Ice.Hosting.TaskCaller.ExecuteTask() in C:\_releases\ICE\ICE3.2.700.29\Source\Framework\Epicor.Ice\Hosting\TaskCaller\TaskCaller.cs:line 59  
> at Ice.Lib.RunTask.BpmFriendlyTaskLauncher.Run(String sessionIdPrefix, IceContext db, Action taskRunner) in C:\_Releases\ICE\ICE3.2.700.0\Source\Server\Services\Lib\RunTask\BpmFriendlyTaskLauncher.cs:line 63  
> at Ice.Services.Lib.RunTaskSvc.InnerRunTask(Int64 ipTaskNum, Boolean suppressTransaction) in C:\_Releases\ICE\ICE3.2.700.0\Source\Server\Services\Lib\RunTask\RunTask.cs:line 454

Event Viewer on the SQL Server showing multiple instances of this error, which I believe is related:

> Failed to initialize the AppDomain:ReportServer\_MSSQLSERVER\_0
> 
> Exception: System.Web.HttpException
> 
> Message: Could not load file or assembly ‘App\_global.asax.xnnawtgt, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. Access is denied.
> 
> StackTrace: at System.Web.Compilation.BuildManager.ReportTopLevelCompilationException()  
> at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()  
> at System.Web.Compilation.BuildManager.CallAppInitializeMethod()  
> at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)  
> at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)  
> at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)  
> at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
> 
> InnerException: System.IO.FileLoadException
> 
> Message: Could not load file or assembly ‘App\_global.asax.xnnawtgt, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. Access is denied.
> 
> StackTrace: at System.Reflection.Assembly.\_nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)  
> at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)  
> at System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence assemblySecurity)  
> at System.CodeDom.Compiler.CompilerResults.get\_CompiledAssembly()  
> at System.Web.Compilation.BaseTemplateBuildProvider.GetGeneratedType(CompilerResults results)  
> at System.Web.Compilation.BuildProvider.CreateBuildResult(CompilerResults results)  
> at System.Web.Compilation.BuildProvider.GetBuildResult(CompilerResults results)  
> at System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp)  
> at System.Web.Compilation.BuildManager.CompileGlobalAsax()  
> at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
> 
> InnerException: System.UnauthorizedAccessException
> 
> Message: Access is denied. (Exception from HRESULT: 0x80070005 (E\_ACCESSDENIED))

---

<div class="post-metadata">

**Author:** ![jepp](https://www.epiusers.help/user_avatar/www.epiusers.help/jepp/32/50103_2.png) [@jepp](https://www.epiusers.help/u/jepp)\
**Post date:** [May 4, 2022, 3:11pm UTC](https://www.epiusers.help/t/epicor-sql-reporting-issue-the-request-failed-with-an-empty-response/90091/2 "2022-05-04T15:11:21Z")

</div>

We were able to get this resolved.

In case anyone comes across anything similar in the future: We determined that the issue was related to a security software blocking the Reporting Services executable. The security software was deployed several weeks ago so we didn’t expect that was what was causing the issue but as soon as we reverted that software from protected mode to learning mode, the issue went away.

Thanks!
