Error: "SWbemLocator: The application called an interface that was marshalled for a different thread."
(Last modified: 07Apr2004)
This document (10090708) is provided subject to the disclaimer at the end of this document.
fact
Novell ZENworks for Desktops 4 - ZFD4
Novell Client 4.9 for Windows NT/2000/XP
NetIdentity
Windows XP Service Pack 1a
symptom
Error: "SWbemLocator: The application called an interface that was marshalled for a different thread."
cause
When using a Visual Basic script with the following command
set objService = objLocator.ConnectServer(strServer, "root\cimv2", strUserName, strPassword)
This command tries to open a connection to the workstation with username and password. When on the connected workstation runs a program RUNAS e.g runas /user:Administrator cmd.exe, and you try to connect to the workstation through a Visual Basic Script, the following error occurs: Message "SWbemLocator: The application called an interface that was marshalled for a different thread."
fix
Fixed in NCREDMGR.DLL dated 22 Mar 2004 or newer in ZfDAGENT.MSI version 4.00.1093.40329 found at Novell Product Updates.
document
Document Title: | Error: "SWbemLocator: The application called an interface that was marshalled for a different thread." |
Document ID: | 10090708 |
Solution ID: | NOVL95221 |
Creation Date: | 28Jan2004 |
Modified Date: | 07Apr2004 |
Novell Product Class: | Management Products |
disclaimer
The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.