Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 14, 2012 04:20 PM by mo_aspworker
Dec 11, 2012 06:00 PM|LINK
I was wondering if anyone knows what's wrong with my form. I mad e a form for a friend on his translation website
www.christianlingua.com. The form is supposed to be used to get translation files for further quote view. The problem is that somehow it can't accept files with more than 4 mb. I have checked with the server, and there's
no limit from their side. I have also tweaked it in the web config to increase the limit of file upload. But unfortunately there are translation files which are bigger than 4Mb, and currently it doesn't work.
Thanks in advance for all your support!
Dec 11, 2012 10:37 PM|LINK
An alternate solution is to use Microsoft Translation API:
Dec 13, 2012 09:08 AM|LINK
As we all know that, Machine.config is configured to accept HTTP Requests upto 4096 KB (4 MB) and it is reflected in all your ASP.NET applications.
In order to resolve this issue, you need to change the maxRequestLength attribute of the <httpRuntime>. You may also need to set
executionTimeout a larger number in case the upload speed is too slow.
Note: You don't need to set either of these settings to big otherwise it is easy to be attacked by DOS attacks.
In addition, please check your code and see whether there is some logic which redirects the page to error page when the upload file is too big.
Dec 13, 2012 10:39 AM|LINK
Please increase the timeout period...
Dec 14, 2012 04:20 PM|LINK
Thanks! That helped!