MS Windows COM error - access denied

Alex Martelli aleax at aleax.it
Mon Aug 27 12:26:29 EDT 2001


"jim.vickroy" <jim.vickroy at noaa.gov> wrote in message
news:3B8A670E.C38F139C at noaa.gov...
> Thanks for the suggestions.
>
> I tried dcomcnfg.exe, but that did not fix the "access denied" error;
> perhaps because I'm not using DCOM at this point.  For the present, all
> this is happening on a single machine.

Unfortunately, between-process communication is still "DCOM"
even if the "D" stays virtual -- you still have these issues.


> As for security settings and access permissions, that sounds promising.
> I poked around a little in the Component Services interface under
> Administrative Tools, but I really do not know what I'm doing or even if
> this is the right place.  Any suggestions on how I can come up to speed
> on these types of issues?

Since it's a service, use control panel/services; there, you can
set the way the service is supposed to run.  Try having it
impersonate a highly-trusted user, such as an administrator: if
it works this way, then you know this is your issue.  Then try
to find out more precisely where things are breaking (use the
OutputDebugString call or other ways to get a log to tell you
exactly where your service is having problems) and either make
a suitable pseudo-user for that service, with just the right
permissions, or relax whatever protection is needed to that the
default way the service is run can do what it needs to.

Yeah, it *IS* a bother:-(.


Alex






More information about the Python-list mailing list