Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi, I'm trying to increase the upload limit for files in Umbraco. I have tried to add this line to the <system.web> section:
<httpRuntime maxRequestLength="102400" executionTimeout="360"/>
But when I do I get an error
500 - Internal server error.
When it try to view the site. Does anyone know how to fix this problem?
Thanks in advance for any help
Hi alan and welcome to our :)
If I remember correctly the value entered in the attributes can cause this error if they're not set properly.
I my web.config I have set the limit to 0,5GB.
Try this <httpRuntime requestValidationMode="2.0" maxRequestLength="524288" executionTimeout="3600" />
(Also note that you have set a timeout of only 360 seconds - in the above it's an hour).
Hope this helps.
Cheers,Jan
Thanks Jan. I found the issue. The was another httpRuntime in the web.config so I just added maxRequestLength and executionTimeout to it it worked perfectly.
Cheers
Alan
Hi Alan
Ah yes of course - it's a classic when getting error 500 after having modified the web.config file :)
Remember to mark the post as solved so others can go straight to the solution if they come across the same problem.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Increase the upload limit for files Error
Hi, I'm trying to increase the upload limit for files in Umbraco. I have tried to add this line to the <system.web> section:
<httpRuntime maxRequestLength="102400" executionTimeout="360"/>
But when I do I get an error
500 - Internal server error.
When it try to view the site. Does anyone know how to fix this problem?
Thanks in advance for any help
Hi alan and welcome to our :)
If I remember correctly the value entered in the attributes can cause this error if they're not set properly.
I my web.config I have set the limit to 0,5GB.
Try this <httpRuntime requestValidationMode="2.0" maxRequestLength="524288" executionTimeout="3600" />
(Also note that you have set a timeout of only 360 seconds - in the above it's an hour).
Hope this helps.
Cheers,
Jan
Thanks Jan. I found the issue. The was another httpRuntime in the web.config so I just added maxRequestLength and executionTimeout to it it worked perfectly.
Cheers
Alan
Hi Alan
Ah yes of course - it's a classic when getting error 500 after having modified the web.config file :)
Remember to mark the post as solved so others can go straight to the solution if they come across the same problem.
Cheers,
Jan
is working on a reply...