Jaisol
2007-08-10 21:47:45 UTC
Hi,
For unknown reason I can't connect any server remotely via
GetObject("winmgmts:\\" & strComputer & ...) but I can connect them using
GetObject("IIS://" & strComputer & "/w3svc") with success.
I got Microsoft VBScript runtime error: The remote server machine does not
exist or is unavailable: 'GetObject' when I use the first method but not
when I use the second one....so, what is the difference?
I tried to connect using CreateObject("WbemScripting.SWbemLocator") but it
didn't work. In this case I got SWbemLocator: The RPC server is unavailable.
Can I use another method to connect remotely like GetObject("IIS://" &
strComputer & "/w3svc")?
How can I resolve that?
Thanks a lot,
Jaisol
For unknown reason I can't connect any server remotely via
GetObject("winmgmts:\\" & strComputer & ...) but I can connect them using
GetObject("IIS://" & strComputer & "/w3svc") with success.
I got Microsoft VBScript runtime error: The remote server machine does not
exist or is unavailable: 'GetObject' when I use the first method but not
when I use the second one....so, what is the difference?
I tried to connect using CreateObject("WbemScripting.SWbemLocator") but it
didn't work. In this case I got SWbemLocator: The RPC server is unavailable.
Can I use another method to connect remotely like GetObject("IIS://" &
strComputer & "/w3svc")?
How can I resolve that?
Thanks a lot,
Jaisol