Welcome Guest Search | Active Topics | Sign In | Register

Maximum request length exceeded or Request timed out with AJAXUploader Options
AlexisVZ
Posted: Saturday, September 8, 2007 4:43:46 AM
Rank: Advanced Member
Groups: Member

Joined: 8/27/2007
Posts: 44
It seems that when uploading large files with AJAXUploader, I still sometimes have issues with files being too large, because I sometimes receive the error message "Maximum request length exceeded". What should I do to avoid these errors ?



Computer : HB1638 Log : Application Source : ASP.NET 2.0.50727.0
Level : Warning Category : Web Event Id : 1309
Time : 9/8/2007 10:23:13 AM User :

Event code: 3004
Event message: Post size exceeded allowed limits.

Thread information:
Thread ID: 11
Thread account name: HB1638\apPassacaille
Is impersonating: False
Stack trace: at System.Web.HttpRequest.GetEntireRawContent()
at System.Web.HttpRequest.GetMultipartContent()
at System.Web.HttpRequest.FillInFormCollection()
at System.Web.HttpRequest.get_Form()
at System.Web.HttpRequest.get_HasForm()
at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull)
at System.Web.UI.Page.DeterminePostBackMode()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)



Aslo I sometimes receive another error message, which also seems related to the size of the uploaded file:



Computer : HB1638 Log : Application Source : ASP.NET 2.0.50727.0
Level : Warning Category : Web Event Id : 1309
Time : 9/8/2007 9:06:45 AM User :

Event code: 3001
Event message: The request has been aborted.
Event time: 9/8/2007 9:06:45 AM
Event time (UTC): 9/8/2007 7:06:45 AM
Event ID: 2ffc032150424cd4a152b9df1a2d23fb Event sequence: 1776 Event occurrence: 4 Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1178307820/Root-2-128337036324598750
Trust level: Full
Application Virtual Path: /
Application Path: D:\Sites\Passacaille\
Machine name: HB1638

Process information:
Process ID: 43976
Process name: w3wp.exe
Account name: HB1638\apPassacaille

Exception information:
Exception type: HttpException
Exception message: Request timed out.

Request information:
Request URL: http://passacaille.ixpertise.be/eo_web.ashx?id=4EF2A06E-5171-4166-82A6-242BD1985E8A&uploader_data=ByF1cGxvYWQCOThjdGwwMF9Db250ZW50UGxhY2VIb2xkZXIxX0FKQVhVcGxvYWRlcjE6QUxQVStaTUhwTmtJbjhzPScmczpiZmUxMmMzYi02OWQ3LTQ5YzItOWNjYy01NjZlNGNjODQ0ZmM=
Request path: /eo_web.ashx
User host address: 81.240.5.140
User: jan
Is authenticated: True
Authentication Type: Forms
Thread account name: HB1638\apPassacaille

Thread information:
Thread ID: 10
Thread account name: HB1638\apPassacaille
Is impersonating: False
Stack trace:



eo_support
Posted: Saturday, September 8, 2007 6:27:52 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,093
Hi,

It appears that you are not use the latest version. In the latest version you should not get "Post size exceeded allowed limits" from ASP.NET on the server side, but from us on the client side (user will get a message box saying the file is too big. You can adjust that limit via MaxDataSize property).

As for the time out issue, you want to increase httpRuntime -> executionTimeout in your web.config. The latest version will also give you a client side message when that occurs.

Thanks


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.