Last post Feb 11, 2015 02:13 AM by Mikesdotnetting
Feb 09, 2015 11:17 PM|Saavik|LINK
I am setting up IIS on a test machine with Window 7-64.
Getting this error:
"Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive"
The line in web.config is:
<compilation debug="true" strict="true" explicit="true" targetFramework="4.5.1">
Here is the part that does not make sense:
Version Information: Microsoft .NET Framework Version:2.0.50727.5485; ASP.NET Version:2.0.50727.5483
Asp.Net 4.5, 4.5.1 are installed, yet 2.0 is running. What am I missing?
Help most appreciated.
Feb 10, 2015 02:13 AM|Mikesdotnetting|LINK
The application pool is set to run .NET 2 instead of 4. Change the target framework for the application pool.
Feb 11, 2015 01:08 AM|Saavik|LINK
It took me a little while to find it - but this works.
Now I am facing this error: "OleDbException (0x80004005): Unspecified error"
I know this is a different problem - can you point me in the right direction for a solution?
Feb 11, 2015 02:13 AM|Mikesdotnetting|LINK
Post a new question about the issue and provide more detail about the error and what you are using OleDb for.