File Upload Error

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.
11/19/2012 12:52:08 PM
Gravatar
Total Posts 55

File Upload Error

I've been having a problem with uploading a 4.7 MB PDF file. This is the error message I received.

"The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

<%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:

[HttpException (0x80004005): Maximum request length exceeded.]
System.Web.HttpRequest.GetEntireRawContent() +9665289
System.Web.HttpRequest.GetMultipartContent() +63
System.Web.HttpRequest.FillInFilesCollection() +71
System.Web.HttpRequest.EnsureFiles() +87
System.Web.HttpRequest.get_Files() +12
Brettle.Web.NeatUpload.FileControl.InitializeFiles() +525
Brettle.Web.NeatUpload.FileControl.get_Files() +37
Brettle.Web.NeatUpload.FileControl.OnUnload(EventArgs e) +64
System.Web.UI.Control.UnloadRecursive(Boolean dispose) +237
System.Web.UI.Control.UnloadRecursive(Boolean dispose) +173
System.Web.UI.Control.UnloadRecursive(Boolean dispose) +173
System.Web.UI.Control.UnloadRecursive(Boolean dispose) +173
System.Web.UI.Control.UnloadRecursive(Boolean dispose) +173
System.Web.UI.Control.UnloadRecursive(Boolean dispose) +173
System.Web.UI.Control.UnloadRecursive(Boolean dispose) +173
System.Web.UI.Control.UnloadRecursive(Boolean dispose) +173
System.Web.UI.Control.UnloadRecursive(Boolean dispose) +173
System.Web.UI.Page.UnloadRecursive(Boolean dispose) +23
System.Web.UI.Page.ProcessRequestCleanup() +56
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +245
System.Web.UI.Page.ProcessRequest() +72
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
System.Web.UI.Page.ProcessRequest(HttpContext context) +58
ASP.dialog_filemanageraltdialog_aspx.ProcessRequest(HttpContext context) +4
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +341
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69"

Can anyone advise?

11/19/2012 2:16:43 PM
Gravatar
Total Posts 18439

Re: File Upload Error

See the article Supporting Large File Uploads

Hope that helps,

Joe

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