all groups > asp.net > february 2006 >
You're in the

asp.net

group:

File Upload Issue.



Re: File Upload Issue. George Ter-Saakov
2/9/2006 5:47:52 PM
asp.net: 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

[quoted text, click to view]

File Upload Issue. Kalpesh Modha
2/9/2006 10:34:12 PM
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

Re: File Upload Issue. John Timney ( MVP )
2/9/2006 10:45:21 PM
By default, ASP.NET only allows file uploads up to 4096KBytes (4MB) in siz.
To upload larger files, you will need to change the maxRequestLength
parameter of the <httpRuntime> section found in the web.config file.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gngrfhttpruntimesection.asp

--
Regards

John Timney
Microsoft MVP

[quoted text, click to view]

Re: File Upload Issue. Joerg Jooss
2/9/2006 10:48:18 PM
Thus wrote Kalpesh,

[quoted text, click to view]

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,
--
Joerg Jooss
news-reply@joergjooss.de

Re: File Upload Issue. RedHair
2/10/2006 12:00:00 AM
Is it possible to upload file but save to remote server?
"Joerg Jooss" <news-reply@joergjooss.de> ¼¶¼g©ó¶l¥ó·s»D:94fc50711301a8c7fbea7003d564@msnews.microsoft.com...
[quoted text, click to view]

Re: File Upload Issue. Kalpesh Modha
2/10/2006 12:00:00 AM
Thanks everyone.


[quoted text, click to view]

AddThis Social Bookmark Button