maxfilesize jqueryupload in formwizardpro

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
5/10/2013 3:21:47 AM
Gravatar
Total Posts 108
Community Expert

maxfilesize jqueryupload in formwizardpro

Hi Joe I updated last week my site to mojo 2.3.9.7 and I saw that  you are using now a jqueryupload.

Now I have constants errors with my clients when they try to upload any file that have a size larger than 20MB. I cant find in the web.config any site to set the max file size for this control o for change the time out, can you point me where i can find this settings

this is the error that was logged in mojo

2013-05-10 09:33:54,548 ERROR 37.15.132.87 - es-ES - /FormWizard/upload.ashx?pageid=216&mid=270&rid=293a277a-4920-42d2-8f78-b2f502fc6461 - mojoPortal.Web.Global - 37.15.132.87 /FormWizard/upload.ashx?pageid=216&mid=270&rid=293a277a-4920-42d2-8f78-b2f502fc6461 Referrer(http://www.iislafe.es/FormWizard/FileUpload.aspx?mid=270&pageid=216&rid=293a277a-4920-42d2-8f78-b2f502fc6461) useragent Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31 
System.Web.HttpException (0x80004005): Tiempo de espera agotado para esta solicitud.

5/10/2013 8:37:30 AM
Gravatar
Total Posts 18439

Re: maxfilesize jqueryupload in formwizardpro

Hi German,

Since we no longer use NeatUpload the relevant settings are on the <httpRuntime element in web.config

​In this case the error is not about the file size but the execution timeout, ie the upload is taking longer than current configuration allows.

You can adjust these 2 attributes to control file size and execution timeout:

<httpRuntime maxRequestLength="2097151" executionTimeout="3600"  />

However in IIS 7.x file size is also controlled by:

<security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="31457280" />
      </requestFiltering>
    </security>

in the system.webServer section. We have something like the above in comments in web.config that may need to be uncommented and adjusted if you have problems based on file size that are not solved by the httpRuntime element. We have it commente dout because on some servers uncommenting it could cause errors if it is not allowed to configure that at web.config level.

Hope that helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.