Consultor Eletrônico



Kbase 18854: OPEN CLIENT: "Class Doesn't Support Automation" Error (Why?)
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/20/1999
SUMMARY:

It is possible to get the following error when attempting to use an
ActiveX proxy:

Class Doesn't Support Automation

EXPLANATION:

This is caused by having the Microsoft Developers Studio shared object
directory (SharedIDE\BIN) located on your PATH environment variable
before that Microsoft Java SDK bin directory (that is, SDK-Java\Bin).

This causes the wrong Microsoft Java compiler to be used by ProxyGen.

The proxy appears to have compiled and registered correctly, but
unfortunately the proxy (DLL) does not have any ActiveX Automation
support in it and this is required in order to actually use the proxy.

SOLUTION:

The resolution to this problem is to swap the two directories around
on the PATH environment variable.