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 1 1260
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 R&D White Paper and is available here:
* http://www.bbc.co.uk/rd/pubs/whp/whp113.shtml
|
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 mapped drive and run the
same application there. I got the following error:
"Just-In-Time Debugging Handler and CLR Remote Host
JIT Debugging component resitration is incorrect.
|
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 mapped drive and run the
same application there. I got the following error:
"Just-In-Time Debugging Handler and CLR Remote Host
JIT Debugging component resitration is incorrect.
|
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 recent project. I created a new,
simple project, build/run then close VS, reopen and all is fine. Now attempt
to open one of his projects and it gets the "JIT Debugging component
registration is incorrect". I have done some Googling without any real...
|
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 correctly. I am
trying to learn C# after playing around for a bit with procedural
programming with PHP, not OOP, and believe I have learned quite a bit
in three weeks, just not enough to accomplish this one task.
If anyone has a bit of free time and...
| |
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 memory,
SQL 2000 in same box, framework 1.0 and 1.1 installed, apps use mainly 1.0)
whose aspnet_wp.exe's memory consumption increases slowly but surely, leading
to process restart eventually and then again recollecting memory etc etc
|
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 just go through each
file/folder and right-click, selecting "Include in project". The IDE is nice
in that it checks, verifies id tags, etc. What am wondering is whether it's
possible to debug my ASP website using the MS Visual Studio.NET's...
|
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 is started main window looses focus, can this be avoided?
Problem is, when my app. must process many files using fineocr.exe, main
window "flashes"
and i cant use any other application, because the fineocr takes focus, even
|
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 created for .Net
framework 1.0 and 1.1. I also activated the compatibility mode for
Windows XP SP2 (Which it was the OS the programs were created for). By
the way I’ve an HP Pavillion with Intel Core 2 Duo 2.0Ghz processor, and
my OS is Windows Vista...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |