Groups | Blog | Home
all groups > iis ftp > december 2005 >

iis ftp : Help!! Invalid Syntax Error


rich
12/28/2005 6:42:02 AM
Hello,

The following code sniplet exists in numerous vbscript files that I've
downloaded from Microsoft or other sources. When I run the script, I get the
following error:
Error: Invalid Syntax
Line 7, character 1
Code: 800401e$
Source: (null)


'Option Explicit

Dim ObjIIS
Dim strComputer

strComputer = "LocalHost"
Set objIIS = GetObject("IIS://" & "LocalHost" & "/W3SVC/1")

Wscript.Echo "Access Flags: " & objIIS.AccessFlags
Wscript.Echo "ASP Enable Parent Paths: " & objIIS.AspEnableParentPaths


I don't understand the problem. Can anyone help me?

TIA,
rich
12/28/2005 8:46:03 AM
My apologies, I posted this to the wrong list. :-(

[quoted text, click to view]
Bernard Cheah [MVP]
12/29/2005 6:27:28 PM
:p

--
Regards,
Bernard Cheah
http://www.iis-resources.com/
http://www.iiswebcastseries.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

AddThis Social Bookmark Button