folks! Running Sharepoint 2010 on Windows Server 2008, my iis7 reports that my sp web-application is running its application pool on .net v2.0. There is the choice for 4.0, but that breaks everything, so we use 2.0.
That being said, I have a custom aspx page that I want to insert into a page-viewer web-part, and still be a part of the same web-application - that is, I don't want to run it in its own application. However, I need this page to run in .net 4. Is there a way to do this?
I tried adding
<compilation debug="true" targetFramework="4.0"/> to the web.config in the aspx's own directory, but it gives me a .net configuration error pointing out that the line has "Unrecognized attribute 'targetFramework'." Any clues here?