Knowledgebase: Windows Hosting
Asp.Net error Unrecognized attribute 'targetFramework'
Posted by on 28 January 2012 12:38 PM

You upload website to hosting space and receive error

Configuration Error
Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.

The error means website is created with 2.0 and you upload 4.0 website.

You need to configure correct version before uploading website files.

If files are already uploaded, you can do following steps to fix

+ Remove or rename web.config file

+ Update version in Website Settings in WebsitePanel.

+ Re-upload web.config file to wwwroot folder.

(115 vote(s))
This article was helpful
This article was not helpful