# Work In Process Report Error

**URL:** <https://www.epiusers.help/t/work-in-process-report-error/48320>\
**Category:** Epicor ERP 10\
**Tags:** e10, ssrs\
**Created:** [October 1, 2018, 11:08am UTC](https://www.epiusers.help/t/work-in-process-report-error/48320 "2018-10-01T11:08:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![EpicorAnon](https://www.epiusers.help/letter_avatar_proxy/v4/letter/e/c0e974/32.png) [@EpicorAnon](https://www.epiusers.help/u/EpicorAnon)\
**Post date:** [October 1, 2018, 11:08am UTC](https://www.epiusers.help/t/work-in-process-report-error/48320/1 "2018-10-01T11:08:32Z")

</div>

Hello,

A couple of times we have received the following error when running a standard non-modified Work In Process report. It seems that it only happen when run by Product Code. Running the report by job number returns with no error. Defiantly seems like a formatting issue on the surface, but as stated earlier its the stock report. Any thoughts on where to start on this one is greatly appreciated.

Thanks

_Program Ice.Services.Lib.RunTask raised an unexpected exception with the following message: RunTask: Client found response content type of ‘text/html; charset=utf-8’, but expected ‘text/xml’._  
_The request failed with the error message:_  
_–_  
  
\_ \_  
\_ \_  
\_ SQL Server Reporting Services\_  
\_ \_  
  
  
  
  
\_ BODY {FONT-FAMILY:Verdana; FONT-WEIGHT:normal; FONT-SIZE: 8pt; COLOR:black}\_  
\_ H1 {FONT-FAMILY:Verdana; FONT-WEIGHT:700; FONT-SIZE:15pt}\_  
\_ LI {FONT-FAMILY:Verdana; FONT-WEIGHT:normal; FONT-SIZE:8pt; DISPLAY:inline}\_  
\_ .ProductInfo {FONT-FAMILY:Verdana; FONT-WEIGHT:bold; FONT-SIZE: 8pt; COLOR:gray}\_  
\_ A:link {FONT-SIZE: 8pt; FONT-FAMILY:Verdana; COLOR:#3366CC; TEXT-DECORATION:none}\_  
\_ A:hover {FONT-SIZE: 8pt; FONT-FAMILY:Verdana; COLOR:#FF3300; TEXT-DECORATION:underline}\_  
\_ A:visited {FONT-SIZE: 8pt; FONT-FAMILY:Verdana; COLOR:#3366CC; TEXT-DECORATION:none}\_  
\_ A:visited:hover {FONT-SIZE: 8pt; FONT-FAMILY:Verdana; color:#FF3300; TEXT-DECORATION:underline}\_

\_ \_  
\_ \_  
\_

# \_ \_ Reporting Services Error * * * \_ \_

\_  
\_ - The report server encountered an unhandled exception in HttpApplication. (rsUnhandledHttpApplicationError) [Get Online Help](http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsUnhandledHttpApplicationError&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=11.0.6020.0)

\_  
\_ - For more information about this error navigate to the report server on the local server machine, or enable remote errors
\_  
\_ 

* * *
SQL Server Reporting Services\_  
\_ 
\_  
\_ \_  
_–._  
_Stack Trace:_  
\_ 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.Render(String Format, String DeviceInfo, String& Extension, String& MimeType, String& Encoding, Warning[]& Warnings, String[]& StreamIds) in c:\_Releases\ICE\3.1.400.0\source\Server\Internal\Lib\TaskLib\Web References\SsrsReportService\Reference.cs:line 633\_  
\_ at Ice.Core.SsrsReporting.SsrsRendererBase.Render(SsrsRenderInformationBase renderInformation) in c:\_Releases\ICE\3.1.400.0\source\Server\Internal\Lib\TaskLib\SsrsReporting\SsrsRendererBase.cs:line 141\_  
\_ at Ice.Core.SsrsReporting.SsrsRendererBase.\<\>c\_\_DisplayClass2.b\_\_0() in c:\_Releases\ICE\3.1.400.0\source\Server\Internal\Lib\TaskLib\SsrsReporting\SsrsRendererBase.cs:line 87\_  
\_ at Epicor.Hosting.Trace.TraceHandle.TimeAction(Action actionToTime)\_  
\_ at Epicor.Hosting.Trace.TraceHandle.AddTimedIfEnabled(String traceFlag, Action actionToTime, Func`2 messageBuilder)_ _ at Ice.Core.SsrsReporting.SsrsRendererBase.TraceReportRendered(String printProgram, String ssrsRenderFormat, Func`1 timedAction) in c:\_Releases\ICE\3.1.400.0\source\Server\Internal\Lib\TaskLib\SsrsReporting\SsrsRendererBase.cs:line 95\_  
\_ at Ice.Core.SsrsReporting.ReportProcessorBase`1.ProcessReportPart(String reportLocation) in c:\_Releases\ICE\3.1.400.0\source\Server\Internal\Lib\TaskLib\SsrsReporting\ReportProcessorBase.cs:line 171_ _ at Ice.Core.SsrsReporting.StandardReportProcessor`1.ProcessReportParts() in c:\_Releases\ICE\3.1.400.0\source\Server\Internal\Lib\TaskLib\SsrsReporting\StandardReportProcessor.cs:line 36\_  
\_ at Ice.Core.RptBase.ReportSsrsDatabaseBuilder`1.ProcessUnroutedReport() in c:\_Releases\ICE\3.1.400.0\source\Server\Internal\Lib\TaskLib\RptBase\ReportSsrsDatabaseBuilder.cs:line 215_ _ at Ice.Core.RptBase.ReportDatabaseBuilder`1.XMLClose() in c:\_Releases\ICE\3.1.400.0\source\Server\Internal\Lib\TaskLib\RptBase\ReportDatabaseBuilder.cs:line 134\_  
\_ at Ice.Core.RptTaskBase`1.XMLClose() in c:\_Releases\ICE\3.1.400.0\source\Server\Internal\Lib\TaskLib\RptBase\RptTaskBase.cs:line 134_ _ at Erp.Internal.JC.WIPReport.RunProcess(Int64 instanceTaskNum, String outputFileName) in c:\_Releases\ERP\UD10.1.400.9\Source\Server\Internal\JC\WIPReport\WIPReport.cs:line 592_ _ at Ice.Hosting.TaskCaller.InnerExecuteTask(IceDataContext newContext) in c:\_Releases\ICE\3.1.400.9\source\Framework\Epicor.Ice\Hosting\TaskCaller\TaskCaller.cs:line 78_ _ at Ice.Hosting.TaskCaller.ExecuteTask(Boolean suppressTransaction) in c:\_Releases\ICE\3.1.400.9\source\Framework\Epicor.Ice\Hosting\TaskCaller\TaskCaller.cs:line 31_ _ at Ice.Lib.RunTask.BpmFriendlyTaskLauncher.Run(String sessionIdPrefix, IceContext db, Action taskRunner) in c:\_Releases\ICE\3.1.400.9\source\Server\Services\Lib\RunTask\BpmFriendlyTaskLauncher.cs:line 63_ _ at Ice.Services.Lib.RunTaskSvc.InnerRunTask(Int64 ipTaskNum, Boolean suppressTransaction) in c:\_Releases\ICE\3.1.400.9\source\Server\Services\Lib\RunTask\RunTask.cs:line 477_ _ at Ice.Services.Lib.RunTaskSvc.InnerRunTask(Int64 ipTaskNum, Boolean suppressTransaction) in c:\_Releases\ICE\3.1.400.9\source\Server\Services\Lib\RunTask\RunTask.cs:line 477_ _ at Ice.Services.Lib.RunTaskSvcFacade.RunTask(Int64 ipTaskNum) in c:\_Releases\ICE\3.1.400.9\source\Server\Services\Lib\RunTask\RunTaskSvcFacade.cs:line 99_ _ at SyncInvokeRunTask(Object , Object[] , Object[] )_ _ at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)_ _ at Epicor.Hosting.OperationBoundInvoker.InnerInvoke(Object instance, Func`2 func)\_  
\_ at Epicor.Hosting.OperationBoundInvoker.Invoke(Object instance, Func`2 func)_ _ at Epicor.Hosting.Wcf.EpiOperationInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)_ _ at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)_ _ at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)_ _ at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)_ _ at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)_ _ at System.ServiceModel.Dispatcher.ChannelHandler.DispatchAndReleasePump(RequestContext request, Boolean cleanThread, OperationContext currentOperationContext)_ _ at System.ServiceModel.Dispatcher.ChannelHandler.HandleRequest(RequestContext request, OperationContext currentOperationContext)_ _ at System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump(IAsyncResult result)_ _ at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)_ _ at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)_ _ at System.ServiceModel.Channels.SecurityChannelListener`1.ReceiveItemAndVerifySecurityAsyncResult`2.InnerTryReceiveCompletedCallback(IAsyncResult result)\_  
\_ at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)\_  
\_ at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)\_  
\_ at System.ServiceModel.Channels.TransportDuplexSessionChannel.TryReceiveAsyncResult.OnReceive(IAsyncResult result)\_  
\_ at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)\_  
\_ at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)\_  
\_ at System.ServiceModel.Channels.SynchronizedMessageSource.ReceiveAsyncResult.OnReceiveComplete(Object state)\_  
\_ at System.ServiceModel.Channels.SessionConnectionReader.OnAsyncReadComplete(Object state)\_  
\_ at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)\_  
\_ at System.Net.LazyAsyncResult.Complete(IntPtr userToken)\_  
\_ at System.Net.Security.NegotiateStream.ProcessFrameBody(Int32 readBytes, Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)\_  
\_ at System.Net.Security.NegotiateStream.ReadCallback(AsyncProtocolRequest asyncRequest)\_  
\_ at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)\_  
\_ at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)\_  
\_ at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)\_  
\_ at System.ServiceModel.Channels.ConnectionStream.IOAsyncResult.OnAsyncIOComplete(Object state)\_  
\_ at System.ServiceModel.Channels.SocketConnection.OnReceiveAsync(Object sender, SocketAsyncEventArgs eventArgs)\_  
\_ at System.Net.Sockets.SocketAsyncEventArgs.FinishOperationSuccess(SocketError socketError, Int32 bytesTransferred, SocketFlags flags)\_  
\_ at System.Net.Sockets.SocketAsyncEventArgs.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped\* nativeOverlapped)\_  
\_ at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped\* pOVERLAP)_

---

<div class="post-metadata">

**Author:** ![aidacra](https://www.epiusers.help/user_avatar/www.epiusers.help/aidacra/32/17997_2.png) [@aidacra](https://www.epiusers.help/u/aidacra)\
**Post date:** [October 1, 2018, 2:50pm UTC](https://www.epiusers.help/t/work-in-process-report-error/48320/2 "2018-10-01T14:50:41Z")

</div>

You can review the following and adjust the timeouts in the various configuration files accordingly, then try to print the report again.  
 ![image](https://www.epiusers.help/uploads/default/original/2X/f/f059cd2a91605c41f4dab8e1c0b7c2be1f39c63d.png)

> **[Additional Timeout adjustments for SSRS Report xml/utf-8 type error messages](https://www.evernote.com/shard/s3/client/snv?isnewsnv=true&noteGuid=ee387ff8-b5e7-4066-b9f2-ddd3fab59404&noteKey=c1e4a29ea9fb6b3f&sn=https%3A%2F%2Fwww.evernote.com%2Fshard%2Fs3%2Fsh%2Fee387ff8-b5e7-4066-b9f2-ddd3fab59404%2Fc1e4a29ea9fb6b3f&title=Additional%2BTimeout%2Badjustments%2Bfor%2BSSRS%2BReport%2Bxml%252Futf-8%2Btype%2Berror%2Bmessages)**
>
> KB0047758 was created with this info 20190215--NJA ~ SYSCONFIG FILE: 1. Right-click on your Epicor shortcut and Properties. 2. Click on the Shortcut tab. 3. Navigate to the end of the target line and ...

---

<div class="post-metadata">

**Author:** ![EpicorAnon](https://www.epiusers.help/letter_avatar_proxy/v4/letter/e/c0e974/32.png) [@EpicorAnon](https://www.epiusers.help/u/EpicorAnon)\
**Post date:** [October 2, 2018, 10:54am UTC](https://www.epiusers.help/t/work-in-process-report-error/48320/3 "2018-10-02T10:54:59Z")

</div>

Thanks. We are going to have to wait till off hours to test this.

---

<div class="post-metadata">

**Author:** ![Nancy](https://www.epiusers.help/letter_avatar_proxy/v4/letter/n/4af34b/32.png) [@Nancy](https://www.epiusers.help/u/Nancy)\
**Post date:** [October 2, 2018, 1:49pm UTC](https://www.epiusers.help/t/work-in-process-report-error/48320/4 "2018-10-02T13:49:11Z")

</div>

Hi Greg,

A couple of years back we had an error that looked similar to yours. It was due to line feeds in the part description. Any chance you are pulling records via one way that you are not getting via the other and you have a culprit description with line feeds or some other weird character(s) in it?

Nancy
