| Rank: Newbie Groups: Member
 
 Joined: 12/9/2011
 Posts: 1
 
 | 
		    Added the progress bar to my Asp.net app. Works fine until I either click stop or logoff the application I get an exception logged. It also appears when I click stop e.IsStopped is not set. Even if I break out after a count of 50 and logoff an exception is thrown. 
 Any ideas?
 
 12/9/2011 12:52:20 PM: An error occurred while communicating with the remote host. The error code is 0x80070057. on Page /ITOptimizerNewDev/A_ProjectLaunch.aspx for User pjd10. Browser: IE Version: 7.0, Platform: WinNT
 System.Web.HttpException: An error occurred while communicating with the remote host. The error code is 0x80070057.
 at System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.FlushCore(Byte[] status, Byte[] header, Int32 keepConnected, Int32 totalBodySize, Int32 numBodyFragments, IntPtr[] bodyFragments, Int32[] bodyFragmentLengths, Int32 doneWithSession, Int32 finalStatus, Boolean& async)
 at System.Web.Hosting.ISAPIWorkerRequest.FlushCachedResponse(Boolean isFinal)
 at System.Web.Hosting.ISAPIWorkerRequest.FlushResponse(Boolean finalFlush)
 at System.Web.HttpResponse.Flush(Boolean finalFlush)
 at System.Web.HttpResponse.Flush()
 at EO.Web.Internal.a.b(HttpResponse A_0)
 at EO.Web.Internal.gu.a(HttpResponse A_0)
 at EO.Web.ProgressBar.a(Guid A_0)
 at EO.Web.ProgressBar.a(String A_0)
 at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
 at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint):
 System.Web.HttpException: An error occurred while communicating with the remote host. The error code is 0x80070057.
 at System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.FlushCore(Byte[] status, Byte[] header, Int32 keepConnected, Int32 totalBodySize, Int32 numBodyFragments, IntPtr[] bodyFragments, Int32[] bodyFragmentLengths, Int32 doneWithSession, Int32 finalStatus, Boolean& async)
 at System.Web.Hosting.ISAPIWorkerRequest.FlushCachedResponse(Boolean isFinal)
 at System.Web.Hosting.ISAPIWorkerRequest.FlushResponse(Boolean finalFlush)
 at System.Web.HttpResponse.Flush(Boolean finalFlush)
 at System.Web.HttpResponse.Flush()
 at EO.Web.Internal.a.b(HttpResponse A_0)
 at EO.Web.Internal.gu.a(HttpResponse A_0)
 at EO.Web.ProgressBar.a(Guid A_0)
 at EO.Web.ProgressBar.a(String A_0)
 at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
 at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 | 
	| Rank: Administration Groups: Administration
 
 Joined: 5/27/2007
 Posts: 24,425
 
 | 
		    Hi,
 This is normal. This how ProgressBar is stopped ---- by closing the connection to the server. You can safely ignore the exception.
 
 Thanks!
 |