webclient.uploadfile error
-
Friday, March 31, 2006 12:15 PM
hi folks,
my application is uploading files to a server. This servers is running locally,i created it inside .net using a file system.
When I upload big files eg 7m the my client application that calls webclient.uploadfile crashes.. I get this error "(500) Internal server error".
The inner exception is "Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host"
Can somebody help?
thanks
All Replies
-
Monday, June 26, 2006 3:49 PMI am getting the exact same error. If you find an answer, please post it here.
-
Tuesday, June 27, 2006 5:51 AM
Hi,
In the web confing file of your script running on the server add this
<httpRuntime maxRequestLenght="50000"
executionTimeout="3600"
/>
Hope this will help.
Zaynun
-
Thursday, June 09, 2011 7:55 AM
I have same problem.This webcconfig solution is not working.
Thanks
Amit Gupta
-
Thursday, September 13, 2012 9:16 PMYour suggestion worked for me, thanks!
Victor Pulido


