PC Review


Reply
Thread Tools Rate Thread

C# COM+ serviced component

 
 
=?Utf-8?B?bXN1aw==?=
Guest
Posts: n/a
 
      11th Jan 2005
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
 
Reply With Quote
 
 
 
 
Nicholas Paldino [.NET/C# MVP]
Guest
Posts: n/a
 
      11th Jan 2005
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 Removed)

"msuk" <(E-Mail Removed)> wrote in message
news:FFE21B2F-3046-4A2F-9AC9-(E-Mail Removed)...
> 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



 
Reply With Quote
 
=?Utf-8?B?bXN1aw==?=
Guest
Posts: n/a
 
      11th Jan 2005
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 [.NET/C# MVP]" wrote:

> 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 Removed)
>
> "msuk" <(E-Mail Removed)> wrote in message
> news:FFE21B2F-3046-4A2F-9AC9-(E-Mail Removed)...
> > 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

>
>
>

 
Reply With Quote
 
Nicholas Paldino [.NET/C# MVP]
Guest
Posts: n/a
 
      11th Jan 2005
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 Removed)

"msuk" <(E-Mail Removed)> wrote in message
news8EE6392-44B2-4AA6-B0BB-(E-Mail Removed)...
> 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 [.NET/C# MVP]" wrote:
>
>> 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 Removed)
>>
>> "msuk" <(E-Mail Removed)> wrote in message
>> news:FFE21B2F-3046-4A2F-9AC9-(E-Mail Removed)...
>> > 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

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to know whether a serviced component comes from a pool or not =?Utf-8?B?SnVhbiBEZW50?= Microsoft Dot NET Framework 6 18th Jul 2005 09:38 PM
Serviced Component and ASP.NET Ansari Microsoft ASP .NET 2 20th Oct 2004 06:30 AM
Re: Debugging a c# serviced component Nick Malik Microsoft C# .NET 3 17th Sep 2004 07:52 PM
Re: Debugging a c# serviced component Nicholas Paldino [.NET/C# MVP] Microsoft C# .NET 1 15th Sep 2004 04:29 PM
Problem in Serviced Component =?Utf-8?B?SW1heWFrdW1hcg==?= Microsoft Dot NET Framework 1 16th Mar 2004 08:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:28 AM.