Last post Apr 09, 2013 01:23 PM by nakins
Apr 09, 2013 12:25 PM|nakins|LINK
I have a new machine to host a small intranet on, Server 2008 R2 w/ IIS 7. I've downloaded the .net 4.5 exe and ran it If I go to regedit, and go to HKEY_LOCAL_MACHINE>SOFTWARE>Wow6432Node>Microsoft>.NETFramework and see v4.5.50709.
When I try to load an aspx test page, I get "Parser Error Message: Unrecognized attribute 'targetFramework'. My understanding is that targetFramework is a .net 4.5 only attribute. So, I wonder if I have .net 4.5 completely installed.
If I take out the 'targetFramework = 4.5' from the two config.web files, I get an error stating:
Apr 09, 2013 12:55 PM|bbcompent1|LINK
Make your targetFramework like this:
'targetFramework = 4.0'
Apr 09, 2013 01:23 PM|nakins|LINK
That's what it was.