File Upload error despite extensive re-config on both app & server

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
9/16/2013 11:22:01 AM
Gravatar
Total Posts 27

File Upload error despite extensive re-config on both app & server

Joe: apologies for bringing up an oft repeated issue, however, am at my wits end after significant time and effort.

user reports: It chokes when I try to upload only three files (6.4 MB .mov, 4.9 MB .pdf, 6 MB .pdf)."Oops something went wrong uploading, you may want to contact the site administrator an error was probably logged." It also chokes when I try to upload just a single file that is 43.4 MB.

Carefully reviewed all existing mojoPortal ( supporting-large-file-uploads.aspx) & Microsoft documentation concerning file uploads via asp.net.

Current environment

2.3.9.7 MSSQL
Operating System Microsoft Windows NT 6.0.6002 Service Pack 2
ASP.NET Info v4.0.30319 Running in Full Trust
IIS 7

Confirmed following applicationHost.config setting: <section name="requestFiltering" overrideModeDefault="Allow" />

added following in web.config:

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

 <httpRuntime requestValidationMode="2.0" maxRequestLength="102400" maxUrlLength="560" maxQueryStringLength="2048" />

added following in user.config

<add key="aspnet:MaxHttpCollectionKeys" value="2500"/>
    <add key="UserFolderDiskQuotaInMegaBytes" value="30000000"/>
    <add key="MediaFolderDiskQuotaInMegaBytes" value="60000000"/>
    <add key="AdminDiskQuotaInMegaBytes" value="120000000"/>
    <add key="UserFolderMaxSizePerFileInMegaBytes" value="20000000"/>
    <add key="MediaFolderMaxSizePerFileInMegaBytes" value="20000000"/>
    <add key="AdminMaxSizePerFileInMegaBytes" value="20000000"/>

Errors on uploading larger files persist.

 

 

9/16/2013 12:36:07 PM
Gravatar
Total Posts 18439

Re: File Upload error despite extensive re-config on both app & server

I think you need to make the maxRequestLength large enough to handle the file

<httpRuntime requestValidationMode="2.0" maxRequestLength="102400" maxUrlLength="560" maxQueryStringLength="2048" />

request filtering section looks fine but the above is a problem.

9/16/2013 1:17:41 PM
Gravatar
Total Posts 27

Re: File Upload error despite extensive re-config on both app & server

By going into IIS Manager and into the Sites / ISAPI Filters -- by removing the UrlScan 3.1 Filter entry -- that seems to have resolved the issue. 
 

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