Running .NET and Classic ASP locally using IIS7
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.
source to share