C# COM+ serviced component

G

Guest

All,

I have a C# COM+ that I would like to debug with context so I can see the
transactions being committed. I have a webform1.aspx that calls my C#
component but for some reason I cant debug it. I have registered the
component with COM+ using regsvcs myassembley.dll but when I try to debug
from the webform1.aspx it is simply executed and does not jump into the C#
component source code. How do I debug it?

Thanks
Msuk
 
G

Guest

Hi,

I am still a little unclear - I have tried to attach the process of my COM+
component to the dllhost while the client is loaded but I keep getting an
error saying CLR is not loaded what am I do wrong?

Thanks
Msuk

Nicholas Paldino said:
Musk,

Check out this entry in the Enterprise Services FAQ on the gotdotnet
site (watch for line wrap):

http://www.gotdotnet.com/team/xmlentsvcs/esfaq.aspx#1.5

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

msuk said:
All,

I have a C# COM+ that I would like to debug with context so I can see the
transactions being committed. I have a webform1.aspx that calls my C#
component but for some reason I cant debug it. I have registered the
component with COM+ using regsvcs myassembley.dll but when I try to debug
from the webform1.aspx it is simply executed and does not jump into the C#
component source code. How do I debug it?

Thanks
Msuk
 
N

Nicholas Paldino [.NET/C# MVP]

Musk,

It states specifically that you have to wait until the CLR is loaded
into dllhost before you can attach the debugger. I would recommend making
some sort of call first, and then attaching with the debugger.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

msuk said:
Hi,

I am still a little unclear - I have tried to attach the process of my
COM+
component to the dllhost while the client is loaded but I keep getting an
error saying CLR is not loaded what am I do wrong?

Thanks
Msuk

Nicholas Paldino said:
Musk,

Check out this entry in the Enterprise Services FAQ on the gotdotnet
site (watch for line wrap):

http://www.gotdotnet.com/team/xmlentsvcs/esfaq.aspx#1.5

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

msuk said:
All,

I have a C# COM+ that I would like to debug with context so I can see
the
transactions being committed. I have a webform1.aspx that calls my C#
component but for some reason I cant debug it. I have registered the
component with COM+ using regsvcs myassembley.dll but when I try to
debug
from the webform1.aspx it is simply executed and does not jump into the
C#
component source code. How do I debug it?

Thanks
Msuk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top