Neat Upload limitation?

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
5/31/2008 9:27:43 AM
bob
Gravatar
Total Posts 126
YAF developer

Neat Upload limitation?

Server Error in '/mojo' Application
Nonfile portion > 4194304 bytes

Description: HTTP 413. Error processing request.

Stack Trace:

Brettle.Web.NeatUpload.NonfilePortionTooLargeException: Nonfile portion > 4194304 bytes
at Brettle.Web.NeatUpload.FilteringWorkerRequest.WriteParsedToOutputStream () [0x00000]
at Brettle.Web.NeatUpload.FilteringWorkerRequest.CopyUntilBoundary () [0x00000]
at Brettle.Web.NeatUpload.FilteringWorkerRequest.ParseOrThrow () [0x00000]
at Brettle.Web.NeatUpload.FilteringWorkerRequest.ParseMultipart () [0x00000]

Version information: Mono Version: 2.0.50727.42; ASP.NET Version: 2.0.50727.42

Then I'm trying to upload a large size file in a custom MP module I'm getting this. Is it possible to overcome the limitation to get to upload files of 50 MB or so. I don't use NeatUpload in the module.

5/31/2008 9:55:13 AM
Gravatar
Total Posts 148

Re: Neat Upload limitation?

If the page you are uploading to has its own URL, you can use location filtering to disable NeatUpload for that URL.  Like this:

<configuration>
...
<location path="/path/to/your/page.aspx">
<system.web>
<neatUpload useHttpModule="false" />
</system.web>
</location>
...
</configuration>

Alternatively, you can increase the maxNormalRequestLength (in KBytes) to be large enough to handle the maximum upload you are expecting.

--Dean

 

5/31/2008 11:17:16 AM
bob
Gravatar
Total Posts 126
YAF developer

Re: Neat Upload limitation?

<appSettings file="user.config">
................
<add key="UseNeatUpload" value="false" />
<add key="NeatUpload.MaxRequestLength" value="100000000" />

I was misguided by this chunk in Web.config. I decided that it switches it off. Thanks.

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