These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

error "Event Code: 3005"

client trying to upload 72mb file keeps failing,  only gets to about 30mb and fails.



this is in the event log of the server

Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 11/24/2009 9:43:47 AM 
Event time (UTC): 11/24/2009 2:43:47 PM 
Event ID: 01b391c66fc149389d40ab2f5c9eee2c 
Event sequence: 84 
Event occurrence: 6 
Event detail code: 0 
 
Application information: 
    Application domain: /LM/W3SVC/1/ROOT/PlanRoom-1-129035440372500000 
    Trust level: Full 
    Application Virtual Path: /PlanRoom 
    Application Path: C:\inetpub\wwwroot\PlanRoom\ 
    Machine name: FVS 
 
Process information: 
    Process ID: 3668 
    Process name: w3wp.exe 
    Account name: NT AUTHORITY\NETWORK SERVICE 
 
Exception information: 
    Exception type: HttpException 
    Exception message: An unhandled exception occured in the upload module. 
 
Request information: 
    Request URL: http://www.XXXdomainXXX.com/planroom/filevistacontrol/upload.aspx?rootFolderID=0&relativePath=&ASP.NET_SessionId=vbr41si1ml13gj55tucf0w55&FT.Active=1&FT.OverrideProvider=1&
FT.UploadID=12590725723596898 
    Request path: /planroom/filevistacontrol/upload.aspx 
    User host address: 12.176.153.130 
    User: upload_user 
    Is authenticated: True 
    Authentication Type:  
    Thread account name: NT AUTHORITY\NETWORK SERVICE 
 
Thread information: 
    Thread ID: 6 
    Thread account name: NT AUTHORITY\NETWORK SERVICE 
    Is impersonating: False 
    Stack trace:    at GleamTech.Web.FileTransfer.UploadHttpModule.a(Object A_0, EventArgs A_1)
   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 
 
Custom event details: 

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
j reed 11/24/2009 7:16 AM
If you are on IIS7, it  has a built-in request scanning which imposes an upload file cap which defaults to 30MB. It gets in the way if you're looking to upload files larger than 30MB. You can increase this limit to 2GB from the commandline:

appcmd set config "My Site/MyApp" -section:requestFiltering -requestLimits.maxAllowedContentLength:2140708864 -commitpath:apphost

Change "My Site/MyApp" to the name of your site and application name. For instance like "Default Web Site/FileVista".


If you are on IIS 6, this limit may be also caused by URLscan.

URLscan is usually located in the directory C:\Windows\system32\inetsrv\urlscan. Navigate to this directory and edit the urlscan.ini file. By default, this file has the entry:

MaxAllowedContentLength = 30000000 

which restricts the maximum allowed upload size to 30 MB. Changing this entry to a larger value will allow the server to accept large uploads. You may need to restart IIS for changes to take effect after saving the file.
Cem Alacayir 1/15/2010 12:06 PM
Hi Cem,

I'm looking this answer but I have a problem I have IIS 6 with Windows Server 2003 and I can't find urlscan directory or urlscan.ini in the directory that you specify and in search window.

Can you help me?

Thank you
Javier Peral 2/1/2010 10:17 AM
Maybe you don't have URLScan installed. What about the MaxRequestEntityAllowed value in IIS6 settings file C:\windows\sytem32\inetserv\metabase.xml ? Please check it's value.
Cem Alacayir 4/19/2010 12:10 PM