Question:
When executing a command via scripts, “Error creating VBScript object” is displayed in the log. How can I fix this?
Solution:
Elipse E3 uses Visual Basic 32 bits as its programming language; this error indicated that the component has been registered, but the vbscript.dll file it is pointing to cannot be retrieved. This error may have occurred because the DLL file has been erased from the local server, or because it has been corrupted.
What can be done in these situations is to try to register the DLL again via a command, as seen in the procedures below:
- In Windows Vista and Windows 7, even when the session is initialized with an user from Administrators group, all command issued must force the escalation of privileges.
- To register a DLL, click Start and then write “CMD”. Right-click CMD icon and select the option Run as Administrator.
-
On the command line, locate the DLL to be registered and execute the command with the following structure: regsvr32 “file_name.dll”
If the error continues even after the DLL record procedures have been made, we recommend that Windows be either reinstalled or recovered.