Running .NET and Classic ASP locally using IIS7

I have a Windows 7 development machine and my legacy application uses ASP.NET and classic ASP.

What can IIS7 configure so that I can run this application locally?

Anytime I need to test my ASP code changes, I need to push to another server.

0


source to share


2 answers


We do this at work. We found that you cannot share classic asp and .Net application pools. So make sure your classic and .Net sites are using different application pools.

Set up a classic pool to have "No Managed Code" in the .Net Framework and set the Managed Pipeline to "Classic". Configure the .Net application pool to use whatever framework you use, and use "Integrated" for a managed pipeline. For us, these settings work great.



If you share classics and .Net under one folder. Right-click the classic site, select Website Management, then Advanced Settings ... and select the Classic Application Pool. Then make sure you are viewing the .Net portion of the site in the panel on the left. Go to the folder that contains .Net, right click it and select Convert to Application in the next dialog, select the application pool that you configured for .Net.

+3


source


You can run classic ASP and ASP.NET code in the same site and application. Chances are you just didn't configure it correctly. If so, see the detailed article at this link below on how to configure.



Configure IIS 7 to support classic ASP

+2


source







All Articles