msword
01-30-2004, 10:11 AM
Currently I'm uploading files to my web dir, but I'm having a problem uploading files larger than 4mb. Is there anyway to over come this?
does anyone know what the machine.config file is set at? by default it's set at 4mb, so no matter what I do in the web.config file I wont be able to override default machine.webconfig right?
this is what I got from The Microsoft support site
RESOLUTION
To resolve this problem, use one of the following methods:
In the Machine.config file, change the maxRequestLength attribute of the <httpRuntime> configuration section to a larger value. This change affects the whole computer.
In the Web.config file, override the value of maxRequestLength for the application. For example, the following entry in Web.config allows files that are less than or equal to 8 megabytes (MB) to be uploaded:<httpRuntime maxRequestLength="8192" />
TechnicalLy i could load 8 meg files, but it wont do it. Has anybody incountered this issue?
thanks
Matt
does anyone know what the machine.config file is set at? by default it's set at 4mb, so no matter what I do in the web.config file I wont be able to override default machine.webconfig right?
this is what I got from The Microsoft support site
RESOLUTION
To resolve this problem, use one of the following methods:
In the Machine.config file, change the maxRequestLength attribute of the <httpRuntime> configuration section to a larger value. This change affects the whole computer.
In the Web.config file, override the value of maxRequestLength for the application. For example, the following entry in Web.config allows files that are less than or equal to 8 megabytes (MB) to be uploaded:<httpRuntime maxRequestLength="8192" />
TechnicalLy i could load 8 meg files, but it wont do it. Has anybody incountered this issue?
thanks
Matt