1

I am using jQuery Form upload. I am unable to upload file with the size more than 4MB I debug my request in Fiddler and it is saying ReadResponse() failed: The server did not return a response for this request.

If i am uploading small file all working well and I do not get any error.

You can see my code here: jQuery Form file upload check file on server and generate errors to pass to the client

Any ideas how to fix that? Any thoughts why it is happens?

Also I think i would add some code on client which would check the file size before submit on server.

Community
  • 1
  • 1
Joper
  • 8,019
  • 21
  • 53
  • 80

2 Answers2

3

You may need to increase the maxRequestLength setting in web.config.

More useful info here:

http://weblogs.asp.net/jgalloway/archive/2008/01/08/large-file-uploads-in-asp-net.aspx

Kon
  • 27,113
  • 11
  • 60
  • 86
0

I think that you have problems with the max size you can upload with POST. Web server limit the size of the files you can upload. I don't know anything of ASP.NET but i found this article that might help you (the articol says that max post size is 4 Mb)

Nicola Peluchetti
  • 76,206
  • 31
  • 145
  • 192