How do I change the .NET Framework version of a virtual directory without the ASP.NET tab?
- by Brandon
I have a website running v2.0 but I want the virtual directory running under it to use v4.0. I've already set the virtual directory as an application and gave it it's own application pool.
The server is running Windows Server 2003 SP2 (64-bit). However it has the Enable32BitAppOnWin64 flag enabled which means the ASP.NET tabs on the properties dialog of the websites/virtual directories are missing. .NET 4.0 is installed, aspnet_regiis -lv lists the 32-bit and 64-bit versions of .NET 2.0 and .NET 4.0 and the Web Server Extensions are enabled.
I can't disable the Enable32BitAppOnWin64 flag to get the ASP.NET tab back, so is there a way to do this from the command line without potentially breaking something?
I ran aspnet_regiis -lk to find the paths so I could try aspnet_regiis -sn, but it only returns one record
W3SVC/ 2.0.50727.0
(There are 3 separate websites and a virtual directory running on the server though)
How can I change the framework version of the virtual directory without the ASP.NET tab?