This project has moved and is read-only. For the latest updates, please go here.

File Attachments

Apr 18, 2011 at 11:24 AM

Hi,

I am facing an issue with ticketdesk 1.2 version. When I am uploading a file as an attachment of size more than 500kb it throws me exception. I have changed the web.config to max size as

httpRuntime maxRequestLength="2097151" executionTimeout="1500"

 

However it is not helping me out. I am using IIS 7.

 

Thanks

Naeem

Coordinator
Apr 18, 2011 at 7:53 PM

On IIS 7 you also need to set the request length in the system.webServer section. Keep in mind that the units are not the same between this and the httpRuntime settings; so you might want to check the documentation.  maxallowedcontentlength is in bytes, where httpRuntime is in kilobytes.

 

 <system.webServer>
    ...
    <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="256000000"/>
      </requestFiltering>
    </security>
    ...
 </system.webServer>