web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

An error occurred rendering the report, Accessing the report server URL cause the error, The Operation has timed out "WriteCallback(): failed to write in write callback."

(0) ShareShare
ReportReport
Posted on by 690

Hi ,

I have several reports which randomly throw error , version of Ax : 2012 R2 CU7, Sql : 2012 Sp1

"An error occurred rendering the report, Accessing the report server URL cause the error, The Operation has timed out". Same report when re-executed would render without any issue

This is strange as none of these reports are complex nor the execution is beyond the default 10 minutes threshold, So my initial thought of moving these to pre-processed approach was no longer useful. 

The event viewer for this execution throws the following error

"Unable to Write the generated WCF configuration to local storage, The Generated WCF configuration will be used from the memory. The contents of new configuration are written to the following temp file C:\User\AxAdmin\AppData\Local\Temp\Microsoft.Dynamics.AX.Framework.Services.Client.ClientConfigurationInternal.Log"

Even the event viewer message was not helpful. I searched for SSRS logs which has this error:

('/DynamicsAX/RptInvoive.InvoiceDgn')
webserver!ReportServer_0-2!968!05/24/2016-12:24:32:: i INFO: Processed report. Report='/DynamicsAX/RptInvoive.InvoiceDgn', Stream=''
rshost!rshost!640!05/24/2016-12:24:32:: e ERROR: WriteCallback(): failed to write in write callback.
rshost!rshost!640!05/24/2016-12:24:32:: e ERROR: Failed with win32 error 0x03E3, pipeline=0x00000004781A59A0.
rshost!rshost!ebc!05/24/2016-12:24:32:: e ERROR: HttpPipelineCallback::SendResponse(): failed async writing response.
rshost!rshost!ebc!05/24/2016-12:24:32:: e ERROR: Failed with win32 error 0x03E3, pipeline=0x00000004781A59A0.
httpruntime!ReportServer_0-2!ebc!05/24/2016-12:24:32:: e ERROR: Failed in BaseWorkerRequest::SendHttpResponse(bool), exception=System.Runtime.InteropServices.COMException (0x800703E3): The I/O operation has been aborted because of either a thread exit or an application request. (Exception from HRESULT: 0x800703E3)
   at Microsoft.ReportingServices.HostingInterfaces.IRsHttpPipeline.SendResponse(Void* response, Boolean finalWrite, Boolean closeConn)
   at ReportingServicesHttpRuntime.BaseWorkerRequest.SendHttpResponse(Boolean finalFlush)
library!ReportServer_0-2!ebc!05/24/2016-12:24:32:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: RsWorkerRequest::FlushResponse., Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: An internal or system error occurred in the HTTP Runtime object for application domain ReportServer_MSSQLSERVER_0-2-131085439491016004.  ---> System.Runtime.InteropServices.COMException (0x800703E3): The I/O operation has been aborted because of either a thread exit or an application request. (Exception from HRESULT: 0x800703E3)
   at ReportingServicesHttpRuntime.BaseWorkerRequest.SendHttpResponse(Boolean finalFlush)
   at ReportingServicesHttpRuntime.RsWorkerRequest.FlushResponse(Boolean finalFlush)
   --- End of inner exception stack trace ---;
webserver!ReportServer_0-2!ebc!05/24/2016-12:24:32:: e ERROR: Reporting Services error Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: An internal or system error occurred in the HTTP Runtime object for application domain ReportServer_MSSQLSERVER_0-2-131085439491016004.  ---> System.Runtime.InteropServices.COMException (0x800703E3): The I/O operation has been aborted because of either a thread exit or an application request. (Exception from HRESULT: 0x800703E3)
   at ReportingServicesHttpRuntime.BaseWorkerRequest.SendHttpResponse(Boolean finalFlush)
   at ReportingServicesHttpRuntime.RsWorkerRequest.FlushResponse(Boolean finalFlush)
   --- End of inner exception stack trace ---
   at ReportingServicesHttpRuntime.BaseWorkerRequest.FilterAndThrowException(Exception e, String message)
   at ReportingServicesHttpRuntime.RsWorkerRequest.FlushResponse(Boolean finalFlush)
   at System.Web.HttpResponse.Flush(Boolean finalFlush)
   at Microsoft.ReportingServices.WebServer.HttpResponseStream.<>c__DisplayClass2.<WriteFile>b__0()
   at Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.<>c__DisplayClass4.<RunFromRestrictedCasContext>b__3(Object state)
   at System.Security.SecurityContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Security.SecurityContext.Run(SecurityContext securityContext, ContextCallback callback, Object state)
   at Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.RunFromRestrictedCasContext(ContextBody callback)
   at Microsoft.ReportingServices.WebServer.HttpResponseStream.WriteFile(String name)
   at Microsoft.ReportingServices.Library.MemoryThenFileStream.<FinallyWriteTo>b__0()
   at Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.<>c__DisplayClass4.<RunFromRestrictedCasContext>b__3(Object state)
   at System.Security.SecurityContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Security.SecurityContext.Run(SecurityContext securityContext, ContextCallback callback, Object state)
   at Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.RunFromRestrictedCasContext(ContextBody callback)
   at Microsoft.ReportingServices.Library.MemoryThenFileStream.FinallyWriteTo()
   at Microsoft.ReportingServices.Library.MemoryThenFileStream.Dispose(Boolean disposing)
   at System.IO.Stream.Close()
   at Microsoft.ReportingServices.Library.RSStream.Dispose(Boolean disposing)
   at System.IO.Stream.Close()
   at Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler.HttpResponseWrapper.WriteRSStream(RSStream stream)
   at Microsoft.ReportingServices.Library.StreamRequestHandler.RenderReport(SessionfulClientRequest sessionManager)
   at Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler.RenderReport(SessionfulClientRequest sessionManager)
   at Microsoft.ReportingServices.Library.StreamRequestHandler.PerformStreamedOperation(StreamedOperation operation)
   at Microsoft.ReportingServices.Library.StreamRequestHandler.RenderItem(ItemType itemType)
   at Microsoft.ReportingServices.Library.StreamRequestHandler.ExecuteCommand()
   at Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler.RenderPage()
rshost!rshost!640!05/24/2016-12:24:33:: e ERROR: WriteCallback(): failed to write in write callback.
rshost!rshost!640!05/24/2016-12:24:33:: e ERROR: Failed with win32 error 0x03E3, pipeline=0x00000004781A5D10.
rshost!rshost!c88!05/24/2016-12:24:33:: e ERROR: HttpPipelineCallback::SendResponse(): failed async writing response.
rshost!rshost!c88!05/24/2016-12:24:33:: e ERROR: Failed with win32 error 0x03E3, pipeline=0x00000004781A5D10.
httpruntime!ReportServer_0-2!c88!05/24/2016-12:24:33:: e ERROR: Failed in BaseWorkerRequest::SendHttpResponse(bool), exception=System.Runtime.InteropServices.COMException (0x800703E3): The I/O operation has been aborted because of either a thread exit or an application request. (Exception from HRESULT: 0x800703E3)
   at Microsoft.ReportingServices.HostingInterfaces.IRsHttpPipeline.SendResponse(Void* response, Boolean finalWrite, Boolean closeConn)
   at ReportingServicesHttpRuntime.BaseWorkerRequest.SendHttpResponse(Boolean finalFlush)
library!ReportServer_0-2!c88!05/24/2016-12:24:33:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: RsWorkerRequest::FlushResponse., Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: An internal or system error occurred in the HTTP Runtime object for application domain ReportServer_MSSQLSERVER_0-2-131085439491016004.  ---> System.Runtime.InteropServices.COMException (0x800703E3): The I/O operation has been aborted because of either a thread exit or an application request. (Exception from HRESULT: 0x800703E3)
   at ReportingServicesHttpRuntime.BaseWorkerRequest.SendHttpResponse(Boolean finalFlush)
   at ReportingServicesHttpRuntime.RsWorkerRequest.FlushResponse(Boolean finalFlush)
   --- End of inner exception stack trace ---;
webserver!ReportServer_0-2!c88!05/24/2016-12:24:33:: e ERROR: Reporting Services error Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeInternalException: An internal or system error occurred in the HTTP Runtime object for application domain ReportServer_MSSQLSERVER_0-2-131085439491016004.  ---> System.Runtime.InteropServices.COMException (0x800703E3): The I/O operation has been aborted because of either a thread exit or an application request. (Exception from HRESULT: 0x800703E3)
   at ReportingServicesHttpRuntime.BaseWorkerRequest.SendHttpResponse(Boolean finalFlush)
   at ReportingServicesHttpRuntime.RsWorkerRequest.FlushResponse(Boolean finalFlush)
   --- End of inner exception stack trace ---
   at ReportingServicesHttpRuntime.BaseWorkerRequest.FilterAndThrowException(Exception e, String message)
   at ReportingServicesHttpRuntime.RsWorkerRequest.FlushResponse(Boolean finalFlush)
   at System.Web.HttpResponse.Flush(Boolean finalFlush)
   at Microsoft.ReportingServices.WebServer.HttpResponseStream.<>c__DisplayClass2.<WriteFile>b__0()
   at Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.<>c__DisplayClass4.<RunFromRestrictedCasContext>b__3(Object state)
   at System.Security.SecurityContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Security.SecurityContext.Run(SecurityContext securityContext, ContextCallback callback, Object state)
   at Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.RunFromRestrictedCasContext(ContextBody callback)
   at Microsoft.ReportingServices.WebServer.HttpResponseStream.WriteFile(String name)
   at Microsoft.ReportingServices.Library.MemoryThenFileStream.<FinallyWriteTo>b__0()
   at Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.<>c__DisplayClass4.<RunFromRestrictedCasContext>b__3(Object state)
   at System.Security.SecurityContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Security.SecurityContext.Run(SecurityContext securityContext, ContextCallback callback, Object state)
   at Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.RunFromRestrictedCasContext(ContextBody callback)
   at Microsoft.ReportingServices.Library.MemoryThenFileStream.FinallyWriteTo()
   at Microsoft.ReportingServices.Library.MemoryThenFileStream.Dispose(Boolean disposing)
   at System.IO.Stream.Close()
   at Microsoft.ReportingServices.Library.RSStream.Dispose(Boolean disposing)
   at System.IO.Stream.Close()
   at Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler.HttpResponseWrapper.WriteRSStream(RSStream stream)
   at Microsoft.ReportingServices.Library.StreamRequestHandler.RenderReport(SessionfulClientRequest sessionManager)
   at Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler.RenderReport(SessionfulClientRequest sessionManager)
   at Microsoft.ReportingServices.Library.StreamRequestHandler.PerformStreamedOperation(StreamedOperation operation)
   at Microsoft.ReportingServices.Library.StreamRequestHandler.RenderItem(ItemType itemType)
   at Microsoft.ReportingServices.Library.StreamRequestHandler.ExecuteCommand()
   at Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler.RenderPage()


Further to this i searched for issue in SSRS with Sql 2012 Sp1 version.

I couldn't find anything that could resolve my issue, Any help is very much appreciated

*This post is locked for comments

I have the same question (0)
  • Denis Macchinetti Profile Picture
    16,444 on at

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans