c# - ASP.NET MVC File sometimes does not upload -
have asp.net file uploader. works 95% time throw exception.
the exception that. please know it. how can solve it.
url: https://www.xxxx.com/upload/uploadhandler.ashx user: 44123 message: error occurred while communicating remote host. error code 0x80070001. stacktrace: @ system.web.hosting.iis7workerrequest.raisecommunicationerror(int32 result, boolean throwondisconnect) @ system.web.hosting.iis7workerrequest.readentitycoresync(byte[] buffer, int32 offset, int32 size) @ system.web.httprequest.getentirerawcontent() @ system.web.httprequest.getmultipartcontent() @ system.web.httprequest.fillinfilescollection() @ system.web.httprequest.get_files() @
you can't solve it.
this happening because, external reason, connection closed and/or disconnect. you can catch show user-friendly error.
Comments
Post a Comment