Working in Windows Vista, IIS 7.0 and ASP.net 4.0.
I created my standalone websites in a folder for each.
In IIS 7.0 I added my sites that were in folders to these:
Sites, Applications, Application Pools and Virtual Directories
I tried to start one of them and I get this error:
"The process cannot access the file because it is being used by another process."
I type in "cmd" in command line in the command box I type "netstat -ano" and find all "TCP" that have "*:80"
Proto:TCP Local Address:0.0.0.0:80 Foreign Address:0.0.0.0:0 State:LISTENING PID:1960 Proto:TCP Local Address:192.168.1.64:53810 Foreign Address:207.66.132.7:80 State:CLOSE_WAIT PID:3376 Proto:TCP Local Address:192.168.1.64:53811 Foreign Address:216.218.214.53:80 State:CLOSE_WAIT PID:3376 Proto:TCP Local Address:192.168.1.64:54551 Foreign Address:74.125.227.132:80 State:CLOSE_WAIT PID:6360 Proto:TCP Local Address:192.168.1.64:56425 Foreign Address:173.45.161.117:80 State:CLOSE_WAIT PID:5488
In command line I typed "regedit". Looking for "Listenonly" in: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters\ListenOnlyList
then this is where I get lost.
How do I disable the ones listening on "*:80" found before, when executing this command executed from the command line?:
net stop http
Is there a "net stop" for the 5 listed above?
to start up http:
net start http
What will "START" the asp.net site instead of being "Stopped(http)" and will I be able to access the *.aspx pages in the site subfolder listed in the site after disabling the "*:80".