473,396 Members | 2,057 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

C# COM+ serviced component

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
Nov 16 '05 #1
3 4129
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]
- mv*@spam.guard.caspershouse.com

"msuk" <ms**@discussions.microsoft.com> wrote in message
news:FF**********************************@microsof t.com...
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

Nov 16 '05 #2
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]
- mv*@spam.guard.caspershouse.com

"msuk" <ms**@discussions.microsoft.com> wrote in message
news:FF**********************************@microsof t.com...
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


Nov 16 '05 #3
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]
- mv*@spam.guard.caspershouse.com

"msuk" <ms**@discussions.microsoft.com> wrote in message
news:D8**********************************@microsof t.com...
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]
- mv*@spam.guard.caspershouse.com

"msuk" <ms**@discussions.microsoft.com> wrote in message
news:FF**********************************@microsof t.com...
> 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


Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Stan | last post by:
Here is my scenario: Web server ------------ Framework 1.1 Application proxy for the serviced component Component server ------------------- Framework 1.0
3
by: Joseph | last post by:
Please any help will do!!!! I have several issues implementing serviced components with .NET framework. Please stop a few minutes to read the issues found on my application. This is an academic...
26
by: Lasse Edsvik | last post by:
Hello I'm trying to build a simple COM+ app in vs.net using C# and i cant register it in component manager..... what more is needed than this: using System; using...
2
by: Ansari | last post by:
hi all, I want to use serviced component in ASP.NET any walkthrough or link to a resource. I have tried a lot but serviced component could be initialized in ASP.NET page. However I can...
0
by: Mark Mims | last post by:
I am having a problem with a .NET serviced component running in MTS trying to call a web service on a remote machine on our internal network. The serviced component is using a domain account for...
1
by: AVL | last post by:
Hi, I'm a newbie to COM n Serviced Component architecture..I've developed a serviced component and registered it as a COM component usinf Regsvcs tool of .net... This serviced component has a...
4
by: Praveen Chandra | last post by:
Hi, I just wanted to put down the issue with more detailed information so that you can help us get to the right Microsoft resource for a solution! Here is the problem description... Our...
1
by: Pete Wittig | last post by:
Hi, I am trying to create a Setup and Deployment project for a Serviced Component. In my solution I have two projects. The first is the class library that contains my serviced component as well...
0
by: =?Utf-8?B?QkY=?= | last post by:
I am trying to work on Serviced Component in .NET 2.0 environment. I don't see much information about serviced component in .NET 2.0 environment. I worked on serviced component 2 years ago with...
2
by: =?Utf-8?B?QkY=?= | last post by:
I am currently working on moving our business objects into COM+ serviced components. But in the process, there are too many changes such ComVisible and serviced component does not support...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.