Profiler doesn't play well with COM+

Code profiling for .NET developers.

Moderator: dom.smith

Profiler doesn't play well with COM+

Postby frazierb » Mon Feb 10, 2014 4:51 pm

I'm trying to use Performance Profiler 8.5 to profile a COM+ application and every time I start a session, it shuts down the COM+ application I have selected and never starts profiling. I have followed the recommendations in the documentation (Server Activation and Access Control), but with no luck.

Any ideas?

Thanks.
frazierb
 
Posts: 2
Joined: Mon Feb 10, 2014 4:45 pm

Postby Chris.Allen » Tue Feb 11, 2014 6:12 pm

The most common reason for an issue with COM+ service is adequate permission since the service will usually run with very different permission to that of a logged in user. Is this service targetted for .Net 4 (or higher). If so, I would advise using the 'attach to process' method of profiling first.
Chris.Allen
 
Posts: 594
Joined: Thu Mar 12, 2009 4:17 pm

Postby frazierb » Tue Feb 11, 2014 6:56 pm

The COM+ application is running under an administrative account which happens to be the same as the logged in user in this case. Funny you mention .NET 4; it is targeted for that but when I attempted to attach, the dllhost.exe (process that the COM+ application runs as), it is grayed out and unelectable.
frazierb
 
Posts: 2
Joined: Mon Feb 10, 2014 4:45 pm

Postby Chris.Allen » Tue Apr 01, 2014 4:57 pm

Often- its not enough to be an admin account, you still need to (right-click) run as administrator before UAC allows full permissions. That's the only reason I can think of right now why it might be greyed out.

That COM+ doesn't work in other modes seems to be a fundamental bug which I have reported.
Chris.Allen
 
Posts: 594
Joined: Thu Mar 12, 2009 4:17 pm


Return to ANTS Performance Profiler 8

Who is online

Users browsing this forum: No registered users and 1 guest