How to fix error uploading large DMS

  • Updated

A large DMS document fails to upload into the Ektron CMS.

 

Event viewer showed the following error:

 

Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 5/21/2015 1:14:17 PM 
Event time (UTC): 5/21/2015 6:14:17 PM 
Event ID: e67251b437b2435f8fa757042b13cc9c 
Event sequence: 551 
Event occurrence: 1 
Event detail code: 0 
 
Application information: 
    Application domain: /LM/W3SVC/3/ROOT-1-130767044666530000 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: C:\Web\root\ 
    Machine name: TESTWEB 
 
Process information: 
    Process ID: 5548 
    Process name: w3wp.exe 
    Account name: NT AUTHORITY\NETWORK SERVICE 
 
Exception information: 
    Exception type: HttpException 
    Exception message: Request timed out.
   at System.Web.HttpRequest.GetEntireRawContent()
   at System.Web.HttpRequest.GetMultipartContent()
   at System.Web.HttpRequest.FillInFormCollection()
   at System.Web.HttpRequest.EnsureForm()
   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)

 
 
Request information: 
    Request URL: http://www.MyTestSite.org/WorkArea/processupload.aspx 
    Request path: /WorkArea/processupload.aspx 
    User host address: 10.183.251.3 
    User: admin 
    Is authenticated: True 
    Authentication Type: Forms 
    Thread account name: NT AUTHORITY\NETWORK SERVICE 
 
Thread information: 
    Thread ID: 22 
    Thread account name: NT AUTHORITY\NETWORK SERVICE 
    Is impersonating: False 
    Stack trace:    at System.Web.HttpRequest.GetEntireRawContent()
   at System.Web.HttpRequest.GetMultipartContent()
   at System.Web.HttpRequest.FillInFormCollection()
   at System.Web.HttpRequest.EnsureForm()
   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)
 
 
Custom event details: 


To fix this problem:

In your site's web.config file, to the maxRequestLength section, add executionTimeout="3600" .

Example of fix: 

executionTimeout="3600" requestLengthDiskThreshold="2097151" requestValidationMode="2.0" maxUrlLength="1024" relaxedUrlToFileSystemMapping="true" />

This change allows a large DMS document to be uploaded to the CMS.