File Upload Issue.

  • Thread starter Thread starter Kalpesh Modha
  • Start date Start date
K

Kalpesh Modha

Hello.

If I upload a 1MB file this works ok. However if I try to upload a 10MB
file, I get a IE page saying page can not be displayed. I am running IIS.

Is their a limit on a allowed file size ?

thanks
Kalpesh Modha
 
Yes, you correct.
It's in machine.config file I believe ( default is set to 3 Mb)
You can look up the Microsoft KB article on how to increase it.

George
 
Thus wrote Kalpesh,
Hello.

If I upload a 1MB file this works ok. However if I try to upload a
10MB file, I get a IE page saying page can not be displayed. I am
running IIS.

Is their a limit on a allowed file size ?

Yes, maxRequestLength is set to 4 MB in machine.config (.NET 1.x) or your
root web.config (.NET 2.0). You can override that value in your application's
web.config. See http://msdn2.microsoft.com/en-us/library/e1f13641.aspx for
details.

Cheers,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top