Defect ID: 2673212
Last Edited: November 16th, 2012
When attempting to print using the Print from Web tool, an error is reported.
The nature of the error depends on whether detailed errors are configured to be displayed on the computer being used - the server or a client computer. Usually, detailed errors are displayed when working directly on the server, while a more general runtime error is reported on client computers. This is the detailed error:
An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B).Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B).
Version Information: Microsoft .NET Framework Version:2.0.50727.5456; ASP.NET Version:2.0.50727.5456
The Print from Web tool is a 32-bit application. When hosted on a 64-bit Windows platform, it needs to be run under an application pool configured to run 32-bit applications.
Configure the Print from Web tool to run under a suitably configured application pool, as described in this article.