Hi all,
I've got this code in my app to access a server (I want to get details of the disks on remote servers)
objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & ServerName & "\root\cimv2"
On some servers it works fine, on others I get the "Cannot Create ActiveX Component" error. There doesn't seem to be any common link between the Servers that do work and those that don't. Any ideas??
I've got this code in my app to access a server (I want to get details of the disks on remote servers)
objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & ServerName & "\root\cimv2"
On some servers it works fine, on others I get the "Cannot Create ActiveX Component" error. There doesn't seem to be any common link between the Servers that do work and those that don't. Any ideas??