IIS 7 and Above
The requested content appears to be script and will not be served by ...
Last post Nov 01, 2012 08:03 AM by lloyd zhang
Oct 31, 2012 03:56 PM|jphilip|LINK
Hello, I have an Asp.net Framework 2.0 website running on IIS 7.5. Under this same site, I have deployed another application which is running under framework 4.0 application pool (Classic Mode). When I run the 4.0 application, I get the following error,
I think, I might be able to fix the issue by running aspnet_regiis -i against 4.0 framwork but I am afraid if it would screw up the site which is running under a Framework 2.0 application pool.
Is there anyone run both frameworks on under the same site?
Nov 01, 2012 08:03 AM|Lloyd Zhang|LINK
The error information definately indicates 4.0 framework is not registered on IIS side. The registration is required, and to use different runtime for one site, you will need to create an application under the site and set a different application pool that
targeted to the different framework for the application.