Thanks Martin !
I tryed some experimental programming with the adsutil.vbs admin script and
I get rid of my problem !
That's great and good to know.
Cheers,
Lloyd
--
ihookdb
Get your data mobile
http://www.ihookdb.com
"Martin Dechev" <detcheff_@hotmail.com> wrote in message
news:uF3CaytIEHA.2556@TK2MSFTNGP12.phx.gbl...[color=blue]
> Hi, Lloyd Dupont,
>
> The problem is that the entry for the "Counter" web application is present
> in the IIS metabase configuration. You should not edit the database[/color]
directly[color=blue]
> because in 99.9% of the cases the direct editing results in a corrupt
> database. The only way I know for repairing corrupt metabase is IIS[/color]
removal[color=blue]
> and install (from Add/Remove Windows Components or in Windows 2003 Manage
> Your Server->Add or remove a role).
>
> You can try the script iisweb.vbs. For more details open the IIS Manager
> Console, hit F1 and then go to IIS -> Programmatic Administration Guide ->
> Using Command-Line Administration Scripts -> Managing Web Virtual
> Directories -> Deleting Web Virtual Directories topic. I think the proper
> syntax should be:
>
> iisweb /delete "Default Web Site/Counter"
>
> Another option is the script adsutil.vbs in Inetpub\AdminScripts\ folder.
> The command should be APPDELETE, but I'm not 100% sure for the exact[/color]
syntax.[color=blue]
> Try:
>
> cscript.exe adsutil.vbs APPDELETE W3SVC/1/Counter
>
> The number 1 goes for the identifier of the web site. You can see the[/color]
exact[color=blue]
> corresponding identifier in the IIS Manager console. For non-server OS you
> have only one web site - the default, so it should be 1.
>
> If this doesn't work, try to add a folder named Counter to the
> C:\IntePub\wwwroot\ directory and then restart the IISAdmin service. Then
> you should see the Counter virtual application in the console and should[/color]
be[color=blue]
> able to remove it.
>
> Hope this helps
> Martin
> "Lloyd Dupont" <net.galador@ld> wrote in message
> news:#WgwuVpIEHA.2144@TK2MSFTNGP12.phx.gbl...[color=green]
> > where is the webshared directory information ?
> >
> > I create a Webapplication called Counter in C:\IntePub\wwwroot\Counter
> > the Counter directory was webshared under the name 'Counter'.
> > I copied the Counter directory on D:
> > Deleted the C:\....\Counter directory (without unsharing first,[/color][/color]
*Mistake*)[color=blue][color=green]
> > I tryed to webshared my new Counter directory on D: with the name[/color][/color]
Counter[color=blue][color=green]
> > and I have an error message:
> > ---------------------------
> > Web Sharing
> > ---------------------------
> > The alias "LM/W3SVC/1/Root/WebCounter" already exists. Please choose a
> > different alias.
> > ---------------------------
> > OK
> > ---------------------------
> >
> > but I can't unshare the previous Counter directory because it's nowhere[/color][/color]
to[color=blue][color=green]
> > be found and doesn't show up in the IIS administration panel.
> >
> > what could I do ?
> >
> > --
> > ihookdb
> > Get your data mobile
> >
http://www.ihookdb.com
> >
> >
> >[/color]
>
>[/color]