Scripting the creation of IIS Web Sites

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hello

I've hacked together a script which automates almost everything I need to do when creating a new web site including creating the new anonymous user.

Unfortunately IIS seems to have an issue with this user.

o The directory structure is created ok
o The anonymous user is created ok
o Appropriate permissions are set ok
o The site is created ok.

Using the IIS MMC I can see that IIS is using the newly created user for anonymous access. Navigating to the site returns a 401.1 every time until I manually reset the password for Anonymous user access in the MMC.

Speaking to Microsoft earlier today I was assured that kb:883489 (http://support.microsoft.com/?id=883489) is not relevant here.

Clues appreciated.

Oh yes, one more thing. So far, I've failed to turn up a usable example of a script (I'm using WSH:vbScript) that will create an Application Pool.

Thanks for reading.
--
William Tasso
.



Relevant Pages

  • Re: IIS Woes
    ... > do u have an anonymous user account created on the machine itself? ... >>I just found out that if I turn off the anonymous access to the web ... >>different to allow anonymous users to access my web site? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How do I set write permissions to web directory
    ... Right click the Folder and set the radio buttons to Change and upload files ... for Anonymous user. ... > I have a folder on my web site that contains XML data that is updated by ...
    (microsoft.public.frontpage.programming)
  • 401.3 ACL Error
    ... security and kept just anonymous user access selected. ... Bringing up localhost or the web URL itself, ...
    (microsoft.public.inetserver.iis.security)
  • Re: Licence Evasion - strategy ?
    ... I've set up an anonymous user access to the site at ... The anonymous user id has been created on the assumption that nobody will ...
    (uk.rec.waterways)
  • Get anonymous user
    ... I am trying to get an anonymous user using the following: ... MembershipUser user = System.Web.Security.Membership.GetUser; ... I cleaned all my browser cookies and ran the web site but I always get ...
    (microsoft.public.dotnet.framework.aspnet)