Article ID: 2533472 - View products that this article applies to.
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.
The size of the document to be printed exceeds the allowable request size limit enforced by the IIS web server hosting the Internet printer.
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.
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:
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"
(http://go.microsoft.com/fwlink/?LinkId=151500)for other considerations.
Contact us for more help
Connect with Answer Desk for expert help.