From: i5mast on
I'm running WinXP SP2 with IIS 5.1. I have this iis.vbs script. When I
run it, I get "Object doesn't support this property" error. On Win2k
the same script runs fine. What is going on?

iis.vbs:
Dim websvc: Set websvc = Nothing
Set websvc = GetObject("IIS://localhost/W3SVC/1/ROOT/WebApp")
If Err.Number = 70 Then
WScript.Echo "You do not have permission to access IIS metadata.
See" & _
" http://support.microsoft.com/kb/326902/"
Else
WScript.Echo websvc.Path
WScript.Echo websvc.AspMaxRequestEntityAllowed
End If
Set websvc = Nothing

cscript iis.vbs
C:\code\Intranet\WebApp
C:\Shell\iis.vbs(8, 5) Microsoft VBScript runtime error: Object
doesn't supp
ort this property or method: 'AspMaxRequestEntityAllowed'

I would appreciate any help.
--
i5mast