Last post Apr 09, 2013 09:48 PM by oned_gk
Apr 09, 2013 04:55 PM|nakins|LINK
I've seen a couple of items on the web about going to regedit and looking at HKLM>Software>NET Framework Setup>NDP and seeing what version folders exist to determine the running version. On the machine I'm working on, I have v2.0.50727, v3.0, v3.5, v4, and
I'm trying to run v4.5, and I have installed it via the online download. I do not know if there should be a v4.5 folder at the registry location I mentioned, but it seems like there should be.
The problem I'm having is when I run an sdpx page off the server, I get an error stating Unrecognized attribute 'targetFramework'. So, this I assume is telling me that the server is not using the 4.5 framework. If I take out the targetFramework attribute
from the config.web files, I get another error saying it cannot locate System.Web.Extensions v22.214.171.124. I have the site's application pool set to .Net 4.0.
Any help would be greatly appreciated.
Apr 09, 2013 05:01 PM|Nasser Malik|LINK
Try following options
http://stackoverflow.com/questions/198931/how-do-i-tell-if-net-3-5-sp1-is-installed see Matt's reply
Apr 09, 2013 05:23 PM|nakins|LINK
Well, I tried the <%=Environment.Version%> thing, and the error page actually showed that:
Version Information: Microsoft .NET Framework Version:2.0.50727.5466; ASP.NET Version:2.0.50727.5456
I have the site's application pool set to the default app pool which says it's running 4.0.
Apr 09, 2013 07:09 PM|oned_gk|LINK
Apr 09, 2013 09:15 PM|nakins|LINK
I had the site set to the default app pool and selected 4.0.
Apr 09, 2013 09:48 PM|oned_gk|LINK
Maybe your app not using default pool, if using default app pool, it should work or saying net 4 error.
Just make sure what is app pool name used by your app (site or virtual directory), which net version used by this app pool