Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-9539

Quality Center Plugin Error: runTestSet.vbs(133, 5) Microsoft VBScript runtime error: ActiveX component can't create object: 'TDApiOle80.TDConnection'

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Component/s: qc-plugin
    • Labels:
      None
    • Environment:
      Windows Vista Enterprise SP2 x64
      Mozilla Firefox 4.0 & Internet Explorer 8
      Jenkins ver. 1.409
      qc plugin 1.0 (script runTestSet.vbs used is version fixed in issue #9267)
    • Similar Issues:

      Description

      ERROR trying to create the object TDApiOle80.TDConnection in Class QCTestRunner.

      Sub Class_Initialize
      errors = 0
      Set tdConnection = CreateObject("TDApiOle80.TDConnection")
      timestamp = CStr(Now)
      End Sub

      Error message reported is next:

      [TRUNK] $ cscript /nologo xxx\runTestSet.vbs http://xxx/qcbin pablo.garcia_hp.com ******** xxx xxx "xxx" Test1 qcreport-Test1-7.xml
      xxx\runTestSet.vbs(133, 5) Microsoft VBScript runtime error: ActiveX component can't create object: 'TDApiOle80.TDConnection'

      Cant create TDConnection Object

        Attachments

          Activity

          Hide
          mandata Michael Jones added a comment -

          I'm still having the issus Can you please share what u did to resolve problem? Thanks!

          Show
          mandata Michael Jones added a comment - I'm still having the issus Can you please share what u did to resolve problem? Thanks!
          Hide
          thewildscott Mark Brown added a comment -

          Was there ever a solution to this issue? I am trying to set this up now on a new project and I keep getting this error. I am not sure how to point it to use the x86 version of vb from within Jenkins. Is there a class or script i need to modify to make this work?

          Show
          thewildscott Mark Brown added a comment - Was there ever a solution to this issue? I am trying to set this up now on a new project and I keep getting this error. I am not sure how to point it to use the x86 version of vb from within Jenkins. Is there a class or script i need to modify to make this work?
          Hide
          sachin_chitre Sachin Chitre added a comment -

          This remains an issue even with Jenkins 1.519.
          The QC plugin is practially useless if this issue is not resolved.Seems this one is around since more than two years.
          Seems like a quick fix to run the 32-bit cscript or wscript command from within the Jenkins plugin code on detecting a 64-bit platform.
          Can someone mercy upon us!
          Thanks in advance

          Show
          sachin_chitre Sachin Chitre added a comment - This remains an issue even with Jenkins 1.519. The QC plugin is practially useless if this issue is not resolved.Seems this one is around since more than two years. Seems like a quick fix to run the 32-bit cscript or wscript command from within the Jenkins plugin code on detecting a 64-bit platform. Can someone mercy upon us! Thanks in advance
          Hide
          ben1980 Benjamin Mahr added a comment - - edited

          Have the same problem with calling vb-script (seems to be a principal problem, not directly related to qc-plugin) on Jenkins 2.116, Windows 10 Pro 64bit running as service on admin account with full rights. I think its also related to this 32/64bit issue, but now workaround was helping me till now.

          Microsoft VBScript runtime error: ActiveX component can't create object: 'Excel.Application'

          See attached files.

          We really looking foward to a fix because we try to automate our translation while producing our nightly build.

           

          Show
          ben1980 Benjamin Mahr added a comment - - edited Have the same problem with calling vb-script (seems to be a principal problem, not directly related to qc-plugin) on Jenkins 2.116, Windows 10 Pro 64bit running as service on admin account with full rights. I think its also related to this 32/64bit issue, but now workaround was helping me till now. Microsoft VBScript runtime error: ActiveX component can't create object: 'Excel.Application' See attached files. We really looking foward to a fix because we try to automate our translation while producing our nightly build.  
          Hide
          ben1980 Benjamin Mahr added a comment -

          Additionaly it seems the workaround by calling a 32bit cscript directly is not working. I attached a fixed example batch file.

          Show
          ben1980 Benjamin Mahr added a comment - Additionaly it seems the workaround by calling a 32bit cscript directly is not working. I attached a fixed example batch file.

            People

            • Assignee:
              danielpetisme Daniel Petisme
              Reporter:
              pgarcia Pablo García
            • Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: