You are currently offline, waiting for your internet to reconnect

Error message when you visit a Web site that is hosted on a server that is running Internet Information Services 7.0: "HTTP Error 404.13 - CONTENT_LENGTH_TOO_LARGE"

SYMPTOMS
Consider the following scenario. You have a Web site that is hosted on a server that is running Internet Information Services (IIS) 7.0. When a user visits this Web site, the user receives an error message that resembles the following error message:
Server Error in Application "application name"
HTTP Error 404.13 - CONTENT_LENGTH_TOO_LARGE
HRESULT: 0
Description of HRESULT# The operation completed successfully.
CAUSE
This problem occurs because the client request contains a Content-Length header that is larger than the value that is specified for this header in the maxAllowedContentLength property in the ApplicationHost.config file.
RESOLUTION
To resolve this problem, follow these steps:
  1. Click Start. In the Start Search box, type Notepad. Right-click Notepad, and then click Run as administrator.

    Note If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.
  2. On the File menu, click Open. In the File name box, type %windir%\system32\inetsrv\config\applicationhost.config, and then click Open.
  3. In the ApplicationHost.config file, locate the <requestLimits> node.
  4. Remove the maxAllowedContentLength property. Or, add a value that matches the size of the Content-Length header that the client sends as part of the request. By default, the value of the maxAllowedContentLength property is 30000000.

    For example, modify the following configuration data inside the <requestFiltering> section.
    <requestLimits maxAllowedContentLength ="<length>" />
  5. Save the ApplicationHost.config file.
Properties

Article ID: 942074 - Last Review: 03/22/2011 22:58:00 - Revision: 2.0

Microsoft Internet Information Services 7.0

  • kbexpertiseadvanced kbtshoot kbprb KB942074
Feedback
y>ms.dqp0';m.content='true';document.getElementsByTagName('head')[0].appendChild(m);" onload="var m=document.createElement('meta');m.name='ms.dqp0';m.content='false';document.getElementsByTagName('head')[0].appendChild(m);" src="http://c1.microsoft.com/c.gif?"> document.write(" "> Venezuela - Español
://c1.microsoft.com/c.gif?DI=4050&did=1&t=">ar varClickTracking = 1; var varCustomerTracking = 1; var Route = "76500"; var Ctrl = ""; document.write(" load="var m=document.createElement('meta');m.name='ms.dqp0';m.content='false';document.getElementsByTagName('head')[0].appendChild(m);" src="http://c1.microsoft.com/c.gif?">