Error Deployment Asp.net WebSite on Windows Server 2008

Error Deployment Asp.net WebSite on Windows Server 2008

After deploying a website developed with Visual Studio 2010 on Windows Server 2008 and using  the defaultpool you may encounter this error:

Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive:





The solution is to change the pool in IIS7:

Open the Basic Setting of your Website:




and Select the pool ASP.NET 4.0



I suppose that The framework 4.0 is installed on you deployment server.
Leave a Comment
  • Please add 3 and 4 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
  • Ed Price - MSFT edited Revision 1. Comment: Title casing

Page 1 of 1 (1 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Ed Price - MSFT edited Revision 1. Comment: Title casing

Page 1 of 1 (1 items)