The alias "LM/W3SVC/1/Root/XX" already exists. Please choose a different alias
Today i acrrous a errer about IIS. It say : XXX已存在请选择其他别名 we can soulation it from this step:
1."run-cmd"
2.In this console ,go to the folder "C:\Inetpub\AdminScripts". example: "c:" "c:\inetpub" "c:\inetpub\adminscripts"
3.Input this "cscript adsutil.vbs DELETE “W3SVC/1/ROOT/XX” "XX"is the exsit alias name. Then ,it will be run well!
Add:
I had ocuered the follow error:
The path requested could not be found.
ErrNumber: -2147024893 (0x80070003)
Error deleting the object: “W3SVC/1/ROOT/eCOMA1”
C:\Inetpub\AdminScripts>cscript adsutil.vbs DELETE “W3SVC/1/ROOT/eCOMA1”
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
The path requested could not be found.
ErrNumber: -2147024893 (0x80070003)
Error deleting the object: “W3SVC/1/ROOT/eCOMA1”
Beacuse you not correctly type the word, after I replace the '' by "", the XX deleted succefull!
转载于:https://www.cnblogs.com/zwwon/archive/2006/06/06/418861.html