Hi Joe,
I added this in user.config
<add key="UserFolderDiskQuotaInMegaBytes" value="30000"/>
<add key="MediaFolderDiskQuotaInMegaBytes" value="60000"/>
<add key="AdminDiskQuotaInMegaBytes" value="120000"/>
<add key="UserFolderMaxSizePerFileInMegaBytes" value="2000"/>
<add key="MediaFolderMaxSizePerFileInMegaBytes" value="2000"/>
<add key="AdminMaxSizePerFileInMegaBytes" value="2000"/>
still I am getting this error if try to upload any file >3.9 mb in media folder or any user folder(that I Created). Upto 3.7mb I can upload anyfile in any folder.
Event code: 3004
Event message: Post size exceeded allowed limits.
Event time: 10/4/2012 10:00:03 AM
Event time (UTC): 10/4/2012 2:00:03 PM
Event ID: cafc73246fe14ac094eb3676355cb5bb
Event sequence: 587
Event occurrence: 4
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/Root-4-129938324496139802
Trust level: Full
Application Virtual Path: /
Application Path: E:\~Sites\MojoPortal\
Machine name: xxxxxxxx
Process information:
Process ID: 16892
Process name: w3wp.exe
Account name: xxxxx\IWAM_xxxxx
Exception information:
Exception type: HttpException
Exception message: Maximum request length exceeded.
at System.Web.HttpRequest.GetEntireRawContent()
at System.Web.HttpRequest.GetMultipartContent()
at System.Web.HttpRequest.FillInFilesCollection()
at System.Web.HttpRequest.get_Files()
at Brettle.Web.NeatUpload.FileControl.InitializeFiles()
at Brettle.Web.NeatUpload.FileControl.get_Files()
at Brettle.Web.NeatUpload.FileControl.OnUnload(EventArgs e)
at System.Web.UI.Control.UnloadRecursive(Boolean dispose)
at System.Web.UI.Control.UnloadRecursive(Boolean dispose)
at System.Web.UI.Control.UnloadRecursive(Boolean dispose)
at System.Web.UI.Control.UnloadRecursive(Boolean dispose)
at System.Web.UI.Page.UnloadRecursive(Boolean dispose)
at System.Web.UI.Page.ProcessRequestCleanup()
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.dialog_filedialog_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)