It is not possible to access the DCOM object from a Windows service written in C # (Windows 2003 server), but it can access the object when hosted as a console application

I wrote a C # application that writes to the accounting system through a DCOM object (the name of the object is the Toolkit object). When this application is hosted as a Windows service in Windows 2003, the service cannot open the DCOM object, although the user ID under which the service runs has all the necessary access rights.

When I host a single application using a console application, it works great.

I tried setting permissions on the DCOM object via DCOMCNFG, but nothing works.

+3
source share
1

COM Windows . , : ? , , , .

( ).

0

Source: https://habr.com/ru/post/1734103/


All Articles