elcurto
  •  elcurto
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
2009-10-23T16:46:32Z
I am using YAF 1.9.3 and our users cannot upload a file bigger than 4 mb. I get the following error:
System.Web.HttpException: Maximum request length exceeded.
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)

After some research I have found that there is a limit in .net of 4 mb. On the server I am using ASP.NET 2.0 and in the file “C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\web.config.comments” I changed the tags as follows:
<httpRuntime
executionTimeout="190"
maxRequestLength="11000"

I expected that this would solve my problem, but I still cannot upload files larger than 4 mb.

Does anyone have a solution to my problem?

Thanks
Sponsor
Jaben
  •  Jaben
  • 100% (Exalted)
  • YAF Developer
2009-10-24T03:35:54Z
Not really a YAF issue. I suggest looking at ASP.NET configuration sites or posting on the ASP.NET forums.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved