Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Uploading - Maximum request length exceeded
pspeirs
#1 Posted : Wednesday, 25 May 2011 3:34:26 AM(UTC)
Rank: Member

Joined: 6/01/2011(UTC)
Posts: 20

Hi,

I'm seeing the following error when attempting to upload more than one image file. I'm guessing it has something to do with string length perhaps. Any ideas on getting around as it is obviously nicer to be able to batch upload.

Regards,

Paul



Maximum request length exceeded.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Maximum request length exceeded.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): Maximum request length exceeded.]
System.Web.HttpRequest.GetEntireRawContent() +8769986
System.Web.HttpRequest.GetMultipartContent() +62
System.Web.HttpRequest.FillInFormCollection() +168
System.Web.HttpRequest.get_Form() +68
System.Web.HttpRequest.get_HasForm() +8725415
System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) +97
System.Web.UI.Page.DeterminePostBackMode() +63
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +133


Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618
pspeirs
#2 Posted : Wednesday, 25 May 2011 3:40:00 AM(UTC)
Rank: Member

Joined: 6/01/2011(UTC)
Posts: 20

OK, all fixed. Seems to be more of an issue with IIS itself, and in regards to web.config. Adding\modifying the following inside system.web on the web.config fixed the issue.

<httpRuntime maxRequestLength="40960"/>




Cheers,

Paul
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.