•  elcurto
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter
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:

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?

  •  Jaben
  • 100% (Exalted)
  • YAF Developer
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