Internet Printing fails if the document to be printed is larger than 29 MB

Article ID: 2533472 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

Consider the following scenario. You are attempting to print a document over the internet by using the Internet Printing Protocol pointing to a Microsoft Internet Information Services (IIS) 7.0 or 7.5 server. Instead of the document successfully printing, an error status is displayed in the client's printer queue window. Additionally, an error message similar to the following appears in the event logs:

The document <document_name>, owned by <owner_name>,
failed to print on printer <url_of_internet_printer>.
Try to print the document again, or restart the print spooler.
 
Win32 error code returned by the print processor:2147500037.
Unspecified error




CAUSE

The size of the document to be printed exceeds the allowable request size limit enforced by the IIS web server hosting the Internet printer.


RESOLUTION

Increase the value of the maxAllowedContentLength configuration property on the IIS server hosting the Internet printer so it is slightly larger than the size of the document to be printed.


MORE INFORMATION

The default value of the maxAllowedContentLength value in IIS 7.0 and above is 30000000 bytes. Therefore this problem can occur if that configuration value has not been changed and the document being printed is approximately 28.6 MB or greater in size. The IIS log on the IIS server will contain an entry similar to the following corresponding to the blocking of the POST request that is sent as part of the printing operation:

date time cs-method cs-uri-stem s-port sc-status sc-substatus sc-win32-status 
2011-01-01 10:00:01 POST /printers/.printer - 80 - 404 13 0 

IIS enforces this request size rule as a security measure. Therefore it is not recommended to increase the maxAllowedContentLength value greater than needed. For more information on how to modify the maxAllowedContentLength configuration property in IIS, please see the following article:

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"


Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2533472 - Last Review: April 4, 2011 - Revision: 2.0
APPLIES TO
  • Microsoft Internet Information Services 7.0
  • Microsoft Internet Information Services 7.5
Keywords: 
KB2533472

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com