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?
aspnet_regiis -lk to find the paths so I could try
aspnet_regiis -sn, but it only returns one record
(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?