I'm getting Unrecognized attribute 'targetFramework' Asp.Net error

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 Asp.net 2.0 and you upload Asp.net 4.0 website.


You need to configure correct Asp.net version before uploading website files.


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


+ Remove or rename web.config file


+ Update Asp.net version in Website Settings in WebsitePanel


+ Re-upload web.config file to wwwroot folder


  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

I'm Receiving the following error message: Application pool automatically disabled.

You receive error message Service application unavailable on website. When checking IIS log,...

Can I get dedicated IP's on my Windows hosting account?

Dedicated IPs are issued only to those hosting accounts that require the use of SSL certificates.

What billing cycle options do you offer for Windows hosting accounts?

We offer one-, six-, and twelve-month billing cycles. You can change to a longer billing period...

Powered by WHMCompleteSolution