WCF REST Template and 500.19

In VS2010, using WCF REST template and running your web service in IIS,  you may  get the following error:

HTTP  Error 500.19 – Internal Server Error

The  requested page cannot be accessed because the related configuration data for  the page is invalid.

The error is misleading.

Fix it by making sure your site Application Pool is running  under ASP.NET 4.0.

Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s