IBM Support

Error received when attempting to run script: Class does not support Automation or does not support expected interface

Troubleshooting


Problem

This is an error that can be received when attempting to run a script for IBM Rational RequisitePro on a different machine than the script was originally designed on.

Symptom

The full error message is:

Class does not support Automation or does not support expected interface

Resolving The Problem

The following steps can be taken to help resolve this error:

  1. Verify that the RequisitePro client version is the same as the one the script was being run on in the first place. If it is not then the script may have to be recompiled on the new machine with the different version of RequisitePro.
  2. Verify that the RequisitePro client is running correctly.
  3. Verify that the installation path of RequisitePro is the same as the machine that the script was created on. If it is not the same installation path you will have to re-establish the connection to the Reference library.
  4. Uncheck the Reqpro40 reference library and recheck the library on the new machine to establish a connection to the library even if the installation path on the machine the script was created is the same as the machine that the script does not work on.

[{"Product":{"code":"SSSHCT","label":"Rational RequisitePro"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"RequisitePro Extensibility (RPX)","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0;7.0.0.1;7.0.0.2;7.0.0.3;7.0.0.4;7.0.0.5;7.0.0.6;7.0.0.7;7.0.1;7.0.1.1;7.0.1.2;7.0.1.3;7.0.1.4;7.0.1.5;7.0.1.6;7.0.1.7;7.1;7.1.0.1;7.1.0.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
23 June 2018

UID

swg21410939