Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error: "Access is denied"

Status
Not open for further replies.

ZakiMaksyutov

Programmer
Feb 28, 2001
87
RU
Hi!

I wrote one service with ATL. From this service I try to run another exe-executable program also written with ATL.
If I run my servise as non-service (as local server), then all is ok. But when I run my service as service then CoCreateInstance fails and returns error "Access not denied" (when it tries to run another exe).

Anybody knows what should I do?

Thanks for any help.
 
execute dcomcnfg and chage the privelegs to interactive user
 
I used OLE/COM Viewer and changed launch/access to Administrators and SYSTEM (Interactive user wasn't help).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top