In the old version of IIS Manager, I could just right-click on a VD, hit properties, and then in the ASP.NET tab pick the version of ASP.NET I wanted to run. Does anyone know if that is still possible? I am running a localhost instance of IIS on my Vista box and I am not used to the new UI that IIS 7 comes with.
You need to change the application pool - the ASP.NET version is set at the application pool level.
Left click the virtual directory in IIS manager, then on the far right of the screen click on 'advanced settings' The application pool is at the top of the list there.
If you need to, you can add a new application pool by right clicking the 'application pools' icon in the left pane and selected 'Add Application Pool'
IIS7 has two options within a "website". In IIS6 you'd add a sub-app as a "Add Virtual Directory..." in IIS7 doing so forces you to keep the same AppPool and thus .NET framework version as the website.
But, IIS7 now has an "Add Application..." options, which allows you to essentially do what IIS6 had allowed, so that you can explicitly state the AppPool to run in and it can differ from the parent website.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With