473,396 Members | 2,018 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.

need help debugging asp.net & out of process component

I have an aspx page that calls a component living in an out-of-process
assembly; specifically, a dll that's hosted in a COM+ server package.
Whenever I debug my page and hit a breakpoint on the component in question,
I cannot step into its source. If I change the COM+ package configuration
from "server" to "library" mode debugging works fine and I can walk all over
my component's source.

No doubt it's the packaging that's giving me grief. My question is, how can
I debug the thing if it resides in a COM+ server package? I've been looking
at the various debugger settings in the component's VS .Net project and see
an option that reads "Wait to attach to an external process." Could that be
the key to victory here?

If anyone can give me a nudge or advice I'd be grateful, and thanks.

-Jim
Nov 19 '05 #1
1 1245
Jim,

You'll want to use Debug -> Processes and attach to multiple processes. A
COM+ server pckage will run in dllhost.exe by default. You can find the exact
process ID to debug by looking in the Component Services MMC for the process
ID.

--
Scott
http://www.OdeToCode.com/blogs/scott/
I have an aspx page that calls a component living in an out-of-process
assembly; specifically, a dll that's hosted in a COM+ server package.
Whenever I debug my page and hit a breakpoint on the component in
question, I cannot step into its source. If I change the COM+ package
configuration from "server" to "library" mode debugging works fine and
I can walk all over my component's source.

No doubt it's the packaging that's giving me grief. My question is,
how can I debug the thing if it resides in a COM+ server package?
I've been looking at the various debugger settings in the component's
VS .Net project and see an option that reads "Wait to attach to an
external process." Could that be the key to victory here?

If anyone can give me a nudge or advice I'd be grateful, and thanks.

-Jim

Nov 19 '05 #2

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

Similar topics

3
by: Michael Sparks | last post by:
Hi, I'm posting a link to this since I hope it's of interest to people here :) I've written up the talk I gave at ACCU Python UK on the Kamaelia Framework, and it's been published as a BBC...
0
by: Eric Clapton | last post by:
I have created a vb.net project in local drive and the program contains crystal report 9.0 through ODBC and link to SQL server. I can run this no problem on WinXP. But when I move the project to a...
0
by: Allen Iverson | last post by:
I have created a vb.net project in local drive and the program contains crystal report 9.0 through ODBC and link to SQL server. I can run this no problem on WinXP. But when I move the project to a...
2
by: kevininstructor | last post by:
One of my fellow developers closed Visual Studio, re-opened the same project and recieved this error "JIT Debugging component registration is incorrect". This happens anytime he tries to open a...
5
by: MFC | last post by:
Ok, after three C# books, (C# How to Program, Programming in the Key of C#, and C# Weekend Crash Course) and three weeks, I believe I have tried everything to make a certain form function...
1
by: Teemu Keiski | last post by:
Hi, I have following type of scenario (also explained here http://blogs.aspadvice.com/joteke/archive/2005/01/10/2196.aspx ) We have problematic web server (wink2 Standard, 1.5GB of physical...
6
by: KevinGPO | last post by:
I am currently developing a website in ASP (VBScript) using MS Visual C#.NET IDE. I just create a new "ASP.NET Web Application" and point to my local webserver (IIS) of my website address. Then I...
1
by: Mex | last post by:
Hi Im using a Process component to run external application (FineOCR.exe) In StarInfo i set theProcess.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden; When the process...
0
by: stimpy_cm | last post by:
Hi everyone, I’m not a programmer but have a little notion about how things work. I recently downloaded an emulator for my calculator (Texas Instruments Voyage 200), the program uses a library...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.