I am currently getting the error
when trying to run the page asp net.
Any help would be much appreciated!
Many thanks in advance for your time.
Server Error in '/Rt/myFirstApplication_aspx' 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 10: <system.web>
Line 11: <customErrors mode="Off" />
Line 12: <compilation debug="true" targetFramework="3.5" />
Line 13: <httpRuntime maxRequestLength="15360" />
Line 14: <membership>
Source File: D:\inetpub\wwwroot\Rt\myFirstApplication_aspx\web.config Line: 12
________________________________________
Version Information: Microsoft .NET Framework Version:2.0.50727.3643; ASP.NET Version:2.0.50727.3634
cms9651
Member
175 Points
573 Posts
Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are cas...
Nov 26, 2012 10:22 AM|LINK
Hello guys,
I am currently getting the error
when trying to run the page asp net.
Any help would be much appreciated!
Many thanks in advance for your time.
pratik_galor...
Participant
1483 Points
330 Posts
Re: Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are...
Nov 26, 2012 10:34 AM|LINK
Remove that attribute from your compilation tag and try again.
e.g. <compilation debug="true" /> only
Software Engineer,
iGATE Global Solutions.
pratik_galoria@yahoo.co.in
+91-8905195943
parthiv.kuba...
Member
110 Points
196 Posts
Re: Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are...
Nov 28, 2012 04:57 AM|LINK
hi...
Look at the bottom of the you error msg ...
It is ...
and your targetframework is 3.5 as error msg says...So I think should use framewok 3.5 when you host your application or website on IIS ...May be it is targeting right to .net 2.0....change it to .net 3.5 or 4.0 in IIS by chngeing it in application pools....Right click on your site name and go to besic setting and and you'll see option to change it....CruzerB
Contributor
5399 Points
1098 Posts
Re: Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are...
Nov 28, 2012 05:03 AM|LINK
Hi,
Make sure .NET Framework 3.5 already installed at the server.
My Technical Blog
vinay13mar
Star
7756 Points
1626 Posts
Re: Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are...
Nov 28, 2012 05:05 AM|LINK
Make targetedframework 2.0
V.K.Singh
parthiv.kuba...
Member
110 Points
196 Posts
Re: Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are...
Nov 28, 2012 05:12 AM|LINK
hmmm...
To get advantage of .net 3.5...otherwise use 2.0 .
or
Make sure .net 3.5 is installed ....
else ... install it and then run this command in visual studio cmd.prmt