Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > access problem with DCOM server written in python

Thread Tools

access problem with DCOM server written in python

Achim Domma (Procoders)
Posts: n/a

I have a problem with a DCOM server written in python. Here is my
minimal test object:

class TestObject:
_reg_clsid_ = "{ECDBB3BC-F0BF-4eef-87C0-D179A928DAB5}"
_reg_progid_ = "DComTest.Object"
_reg_desc_ = "DComTest.Object"
_public_methods_ = ['testit']

def __init__(self):

def testit(self): pass

if __name__=='__main__':
# register object
from win32com.server.register import UseCommandLine

The object is registered on server S and on client C. The user U exists
on both machines with the same password. Accessing 'normal' C++ COM
objects from C on S works fine, which means the DCOM is working at all.

U is able to create the object localy, but accessing my test object via
DCOM gives me an 'access denied'. I used dcomcnfg to grand U the right
to start and access the object on S (same settings as for working C++
objects), but I still get 'access denied'.

The server was newly setup. The script was working on another setup, but
I have no idea what might be the differnce.

BTW: Accessing the object with an admin account works just fine.

Any hint on how to solve, or at least debug, the problem?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Generally, are the programs written by C++ slower than written by C10% ? KaiWen C++ 102 09-14-2011 11:12 PM
Access denied attempting to launch a DCOM Server. The server is: {000C101C-0000-0000-C000-000000000046} The user is ASPNET/ServerName, SID=S-1-5-21-1606980848-602162358-1801674531-1007. ASP .Net 0 05-26-2005 08:44 PM
access denied...dcom server bri ASP .Net 2 12-02-2003 09:17 PM
Accessing DCOM components from the code behind pages and using sessions to store DCOM object handles Alex ASP .Net 3 12-02-2003 01:34 AM
Re: Can a usercontrol written in C# be used in Web Forms that is written in VB.Net? Steve C. Orr, MCSD ASP .Net 1 08-24-2003 12:06 AM