.Net 4.0 issue with IIS 7

3 replies. Last post: June 16, 2011 10:50 PM by Lili Khiung
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Steve ChauMember

Hi,

I'm getting this error when I published my website:

Server Error in '/' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

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

Source Error:

Line 14: 
Line 15:   <system.web>
Line 16:     <compilation debug="false" strict="false" explicit="true" targetFramework="4.0" />
Line 17: 
Line 18:     <authentication mode="Forms">

Source File: C:\inetpub\wwwroot\web.config    Line: 16


Version Information: Microsoft .NET Framework Version:2.0.50727.3619; ASP.NET Version:2.0.50727.3618

 

My server is windows 2008, IIS7.  Anyone know how I can fix this issue?

Thanks,

Steve

All times are GMT -5. The time now is 12:38 AM.
Previous Next