When I try to change the version of ASP.NET to v4 on IIS 6, I get the following warning:
Changing the Framework version requires restarting the W3SVC service. Alternatively, you can change the version of the Framework without restarting the W3SVC service by running: aspnet_regiis.exe -norestart -s IIS-Viirtual-Path
Do you want to continue (this will change the version of the Framework and restart the W3SVC service)?
How do I develop an IIS-Virtual-Path ?
I tried the obvious ways, namely:
aspnet_regiis.exe -norestart -s "/WebSites/Extranet/AppName"
Where WebSites is the name of the folder in IIS, Extranet is the name of the root application, and AppName is the name of the virtual directory application I'm trying to change.
Thank!
Edit:
How do I determine the virtual path for the Auth virtual directory in the following IIS6 setup:

(source: imgbag.com )
I have tried:
aspnet_regiis.exe -norestart -s "/Web Sites/Extranet/Auth"
aspnet_regiis.exe -norestart -s "Auth"
I got:
Installation stopped because the specified path (WhateverIPutIn) is invalid.
iis-6
joshcomley Nov 26 '09 at 15:09 2009-11-26 15:09
source share