MS Windows COM error - access denied

jim.vickroy jim.vickroy at noaa.gov
Mon Aug 27 10:47:55 EDT 2001


Hello,

I'm trying to create a Windows *service* that exposes a COM object.

I appear to be registering the COM object, installing the service that
exposes it, and then starting that service.

When I attempt to access the COM object from another process via a
statement of the form:

handle = win32com.client.Dispatch ( entry.COM_server._reg_progid_ )

the following exception is raised:

        com_error: (-2147024891, 'Access is denied.', None, None)

Any ideas what I'm doing wrong?

If the COM object is not also implemented as a *service*, it can be
accessed with no problem.

The system is:

Python 2.0
MS Windows 2k

Thanks






More information about the Python-list mailing list