Work In Process Report Error

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
    • _
      _
    • 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, Func2 messageBuilder)_ _ at Ice.Core.SsrsReporting.SsrsRendererBase.TraceReportRendered(String printProgram, String ssrsRenderFormat, Func1 timedAction) in c:_Releases\ICE\3.1.400.0\source\Server\Internal\Lib\TaskLib\SsrsReporting\SsrsRendererBase.cs:line 95_
_ at Ice.Core.SsrsReporting.ReportProcessorBase1.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.StandardReportProcessor1.ProcessReportParts() in c:_Releases\ICE\3.1.400.0\source\Server\Internal\Lib\TaskLib\SsrsReporting\StandardReportProcessor.cs:line 36_
_ at Ice.Core.RptBase.ReportSsrsDatabaseBuilder1.ProcessUnroutedReport() in c:\_Releases\ICE\3.1.400.0\source\Server\Internal\Lib\TaskLib\RptBase\ReportSsrsDatabaseBuilder.cs:line 215_ _ at Ice.Core.RptBase.ReportDatabaseBuilder1.XMLClose() in c:_Releases\ICE\3.1.400.0\source\Server\Internal\Lib\TaskLib\RptBase\ReportDatabaseBuilder.cs:line 134_
_ at Ice.Core.RptTaskBase1.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, Func2 func)_
_ at Epicor.Hosting.OperationBoundInvoker.Invoke(Object instance, Func2 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.SecurityChannelListener1.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)

You can review the following and adjust the timeouts in the various configuration files accordingly, then try to print the report again.
image

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

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