Last post Apr 29, 2015 03:26 PM by Siva Krishna Macha
Apr 29, 2015 02:53 PM|A.K.Sudhansoo|LINK
when i deployed project on local iis .my project is static then error is :-
Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Line 6: <configuration>
Line 7: <system.web>
Line 8: <compilation debug="true" targetFramework="4.0"/>
Line 9: </system.web>
Line 10: </configuration>
Source File: D:\Running Project\Gyan Jyoti Own\web.config Line: 8
Apr 29, 2015 03:26 PM|Siva Krishna Macha|LINK
Make sure the apppool has the correct version. Also make sure the .NET framework 4 is installed on the system.
If nothing of those suggestions work, then, final option would be to run aspnet_regiis.