COM+ Profiling - Windows Service as Client

Hi,

I´m triying to Profile a COM+ server app and my client app is a Windows Service, but it doesn't work in ANTS Profiler.

What is the correct way to do that?



Byron

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 New member
    Hi Byron,

    Of course this *should* work. My guess is that it's a security-related issue. When you're profiling the COM+ serviced application, you may want to ensure that the logon that runs the ANTS Profiler Service is the same one that the COM+ application hosting your component is configured to run as. This way, ANTS Profiler will launch the COM+ application using dllhost.exe with the normal security account.

    This is important to know if you are profiling security-sensitive COM+ applications such as Exchange Event Sinks where the LocalSystem account would not allow you into a user's mailbox, for instance.

    The same workaround may also help the service work correctly.
Sign In or Register to comment.