These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

Error on Install due to requestFiltering setting

I recieved an error when trying to set up the application after install.  It was due to this setting in the web config file:
<requestFiltering>
    <requestLimits maxAllowedContentLength="2140708864"/>
</requestFiltering> 

So, I commented out this section of the config file and the app seems to run fine.  But, when I try to upload large files they seem to upload fine but never show up in the folder in which they were uploaded.

What do I need to do so I run the app with the above settings in place.

Thanks
Guy 6/19/2009 7:36 PM
Ok.....  I think I figured it out. I had to modify the overrideModeDefault from "Deny" to "Allow" like so:

<section name="requestFiltering" overrideModeDefault="Allow" />

I'm assuming this change allows for "application level" control? If so, can I not add my setting to the web.config file of the application in question? 

Is this correct?
Guy 6/20/2009 2:51 PM
Guy,
You had a support ticket on the same issue but I guess you didn't read my reply.

What you did is correct.

requestFiltering is an IIS 7 specific setting which specifies, in bytes, the maximum length of content in a request. The default is 30000000 (approximately 30 megabytes.). So we put the setting of 2140708864 to allow uploading upto 2GB of files.

However if you get an error when this setting is in your web.config, then you'll have to modify the IIS 7 applicationHost.config file to enable you to configure request filtering at the application level instead of the machine level. To do this, you should open the %windir%\System32\inetsrv\config\applicationHost.config file in a text editor and change the following line: 
<section name="requestFiltering" overrideModeDefault="Deny" /> 
to 
<section name="requestFiltering" overrideModeDefault="Allow" />

This way you will be able override this setting in web.config files of your web sites.
Cem Alacayir 6/22/2009 4:06 AM
Hi Cem.

If you can do this with IIS7, can you also comment the same section out on an IIS6 box?  I'm trying to set up FileVista to be able to handle approximately 10GB file sizes in both directions (upload and download).

I also opened a case on Friday, March 26th, but have not heard back from you yet.  I asked to be sent the 'fix' that allows for larger than 2GB files on download, and also I see that in a comment in another section that you're working on the fix for downloading large files.

Can I get support on this and also CC myoung (at) gpworldwide.com ?  Would be great to have an administration manual for the product as well.  We love it, but really would like to be able to tweak it some.

Thanks.
Jay Crump 3/27/2010 10:19 PM
If you are on IIS 6, this limit may be also caused by URLscan.

URLscan is usually located in the directory C:\Windows\system32\inetsrv\urlscan. Navigate to this directory and edit the urlscan.ini file. By default, this file has the entry:

MaxAllowedContentLength = 30000000 

which restricts the maximum allowed upload size to 30 MB. Changing this entry to a larger value will allow the server to accept large uploads. You may need to restart IIS for changes to take effect after saving the file.

Cem Alacayir 3/29/2010 10:15 AM