Asp.net Error Compilation Targetframework= 4.0
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive up vote 292 down vote favorite 31 I'm trying to up load my site and I'm getting this error message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million http://stackoverflow.com/questions/7530725/unrecognized-attribute-targetframework-note-that-attribute-names-are-case-sen programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Configuration Error related to targetFramework in web.config up vote 3 down vote favorite 3 I have made a MVC website in Visual Studio 2015 and it works in my localhost. But when i published my website and put into my http://stackoverflow.com/questions/33412042/configuration-error-related-to-targetframework-in-web-config host, it doesn't work. It gives me this error notice: Server Error in '/' Application. Configuration Error Parser Error Message: The 'targetFramework' attribute in the element of the Web.config file is used only to target version 4.0 and later of the .NET Framework (for example, ''). The 'targetFramework' attribute currently references a version that is later than the installed version of the .NET Framework. Specify a valid target version of the .NET Framework, or install the required version of the .NET Framework. Source Error: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Source File: G:\xxx\xxx.com\httpdocs\web.config Line: 24 Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34248 Related parts in my web.config: