Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Runtime Error 2147217406 Automation Error

Status
Not open for further replies.

JasonBeckett

Programmer
Mar 14, 2005
2
GB
Hello,

I have rolled out an application which runs via logon script. On 2 PCs so far (out of 1000) the following error occurs

Runtime Error 2147217406 Automation Error.

The application is falling over on this line of code which is part of a module designed to read and write values to the registry.

Set objreg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & sComputername & "\root\default:StdRegProv")

I can see that the parameter the GetObject procedure requires is a path, so I would assume that a file is missing from the PCs getting the error.

Please can anyone tell me what is missing.

Thanks for reading this thread.




 
It could be that the file is missing... it could also be that they can't reach the networked path.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top