IIS : VB script virtual directory creation error code -2147463162

Assefa

New member
Joined
Oct 19, 2005
Messages
1
Programming Experience
5-10
The vb script is pretty simple :
Set Root = GetObject("IIS://LocalHost/W3SVC/1/ROOT")
Set Dir = Root.Create("IIsWebVirtualDir", "ttt")


It does work locally on my machine using Xp Pro and IIS 5.1 and gives an error code on another machine using also Xp and IIS5.1. The error code is
-2147463162 which shoudl correspond to 0x80005006 in hex (and probably means E_ADS_PROPERTY_NOT_SUPPORTED).

Does some one knows the reason I get this error code on some machines ?

Thanks
 
Back
Top