|
Home > Archive > IIS Server > August 2005 > Using mkw3site.vbs on a Win 2003 Server?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Using mkw3site.vbs on a Win 2003 Server?
|
|
|
|
| Chris Crowe [MVP] 2005-08-29, 5:59 pm |
| Does the home directory exist that you are specify?
1A8 I beleive means object required.
This is the code around the are you are having problems.
So either NewDir is returning a null object or your RootDirectory path may
be invalid.
Set NewDir = NewWebServer.Create("IIsWebVirtualDir", "ROOT")
NewDir.Path = RootDirectory
NewDir.AccessRead = true
Err.Clear
NewDir.SetInfo
NewDir.AppCreate (True)
If (Err.Number = 0) Then
Trace "Home directory set."
Else
Display "Error setting home directory."
End If
What is the exact command line are you using?
--
Cheers
Chris
Chris Crowe [IIS MVP]
http://blog.crowe.co.nz
"Craig Miller" <nospam@developmentnow.com> wrote in message
news:9deaa773-1d9e-499b-81a0-309771d0ed59@msnews.microsoft.com...
> Hi,
>
> I'm getting the following error running the command line on a Windows 2003
> Server, it works fine on Windows 2000 Advanced Server:
>
> Error Code: 1A8 - Error Setting Home Directory.
>
> Has anyone experienced this issue? If so, is there a workaround?
>
> Thanks in advance,
>
> Craig
>
>
>
> From http://www.developmentnow.com/g/59_...tserver-iis.htm
>
> Posted via DevelopmentNow.com Groups
> http://www.developmentnow.com
|
|
|
|
|