ActiveX component can’t create object – TDApiOle80.TDConnection

Some times we get error as “Windows7 64 bit – ActiveX component can’t create object TDApiOle80.TDConnection” while running Quality Center related VBScript files on WIndows 7, 64Bit machine…

If you are on 64bit machine, by default QC OTA API script will run with the 64
bit version of wscript.exe.
But QC is a 32 bit app, so you need to run it from a 32 bit version of wscript.exe which is located at

You can run the .vbs file from the start -> run as-
c:WindowsSysWOW64wscript.exe “path of QC script file.vbs”

Content posted is based on learning or working experience,
Share the post with others if find useful,
Any queries?, leave comments or discuss on our, Thanks!

2 Responses

  1. Anonymous says:

    Thanks for the info. I will try this. One thing i have 64bit win 7, i am not getting this error, but when I tried on friends machine i am getting this error. Is it really realted to 64bit win7?

    • Anonymous says:

      this issue is because of OTA.DLL not installled in your machine. Please install QC connectivity add-in and Excel addin . If issue still persist then install QC from its msi . It will definately resolve your issue.

Leave a Reply

Your email address will not be published. Required fields are marked *