Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Failed to instantiate script engine 'VBScript': Invalid class string (https://www.kinook.com/Forum/showthread.php?t=4883)

mcguirk000 06-28-2011 02:51 PM

Failed to instantiate script engine 'VBScript': Invalid class string
 
I get this error every time I try to run a VBScript step on a particular machine.

I have the VBPro project running on several other machines with no issues, but on this one machine I get the above error.

It is a Windows 7 x64 machine running VBPro 7.6.

Even if I create a new project that does nothing but execute a single VBScript with nothing but comments in it, I get the error.

Any ideas?

kinook 06-28-2011 02:58 PM

http://www.google.com/search?q=repai...ript+windows+7

mcguirk000 06-28-2011 04:46 PM

Unfortunately none of those search results helped. I have a seemingly fine vbscript.dll and it is properly registered. Additionally, I am able to run VBScripts on the command-line via cscript without any issues. I am only seeing problems when trying to run them from within VBPro.

kinook 06-28-2011 04:54 PM

1 Attachment(s)
What happens when you unzip and save the attached file, open a Command Prompt to the folder it was saved to, and run it like so:

C:\Windows\SysWOW64\cscript.exe test.vbs

(which is similar to what Visual Build does to instantiate the script engine)?

mcguirk000 06-28-2011 05:10 PM

When I run that command-line I get the same error from VBPro.

It looks like running cscript from C:\Windows\system32 it works, but not from C:\Windows\SysWOW64

kinook 06-28-2011 05:13 PM

Did you try

regsvr32 %systemroot%\SysWow64\vbscript.dll

from an elevated Command Prompt?

http://answers.microsoft.com/en-us/w...e-520a04891073

mcguirk000 06-28-2011 05:23 PM

I did. It did not appear to fix it. :(

kinook 06-28-2011 05:58 PM

You might try repairing Windows or formatting and reinstalling Windows. Beyond that, you would need to contact Microsoft (use test.vbs to demonstrate the problem).


All times are GMT -5. The time now is 10:09 PM.


Copyright © 1999-2023 Kinook Software, Inc.