Error when trying to execute API scripts
Question ID: 104945
2
0

My IT staff has just upgraded me to Windows 7 64-bit. I was previous running Windows XP. Now whenever I try to execute my QC API scripts, I get the error:

Windows Host Script
Error: ActiveX component can't create object: 'tdapiole80.tdconnection'
Code: 800A01AD
Source: Microsoft VBScript runtime error

Marked as spam
Posted by (Questions: 122, Answers: 3)
Asked on April 5, 2013 3:20 pm
66 views
Answers (1)
2
Private answer

Lungri,

This is due to the changing to a 64-bit platform. You are now launching with the 64-bit script engine. Unfortunately, the QC API is 32-bit only and cannot use
the 64-bit engine.

There is a legacy 32-bit script engine located at:

C:WindowsSysWOW64wscript.exe

You can launch your script via command line by browsing to the 32-bit script engine
above and passing the path and script as an argument.

example:  C:WindowsSysWOW64> wscript.exe c:myscript.vbs

Alternately, you can change your default script engine as follows:

1) Open the registry editor and locate to the following path:

HKEY_CLASSES_ROOTVBSFileShellOpenCommand

2) Change the value of the (Default) key:

**For 64-bit script engine:**

''%SystemRoot%System32WScript.exe'' ''%1'' %*

**For 32-bit script engine:**

''%SystemRoot%SysWOW64WScript.exe'' ''%1'' %*
Marked as spam
Posted by (Questions: 3, Answers: 168)
Answered on April 5, 2013 3:24 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top