WebClientPrint for ASP.NET – WCP Handler and HTTP 500.21 error

You deployed your website using WebClientPrint for ASP.NET and the WCP.axd handler you registered in your web.config is throwing the following error in IIS:

HTTP Error 500.21 – Internal Server Error
Handler “WCP” has a bad module “ManagedPipelineHandler” in its module list

To fix that error you must modify your web.config so the entry for the wcp.axd handler under system.webServer node looks like follows:

<add name="WCP" verb="*" path="wcp.axd"
type="Neodynamic.SDK.Web.WebClientPrint, Neodynamic.SDK.WebClientPrint"

What has been added is the preCondition=”integratedMode” to the handler registration. This new attribute should solve the issue.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.