all groups > visual studio .net debugging > august 2006 >
You're in the

visual studio .net debugging

group:

Cannot Debug .Net COM+ library application dll


Cannot Debug .Net COM+ library application dll ramkumar76 NO[at]SPAM yahoo.com
8/31/2006 6:57:34 PM
visual studio .net debugging:
Hi All,
I am facing a strange problem .I have developed a Console
application which uses a .net dll which is hosted in COM+ as a library
application. Previously when i run the application in deug mode i can
set the break point in the Dll and was able to debug.
But now after i have done some modifications in code (not related to
assembly configuration) , i am not able to set break point in the dll.

It is a .Net Dll developed using Vb.net.
it has some classes derived from servicedcomponent .
It is strong named.I have registered the assembly using
Regsvcs.exe

I verified the following things also 1.The dll is built in Debug mode
..
2.Build no in COM+
and in my directory are matching.
I even tried deployed in GAC or not deploying inGAC.

Still it is not working .I am clueless. Can anybody help me ?

Regards,

Ram
Re: Cannot Debug .Net COM+ library application dll Oleg Starodumov
9/1/2006 12:00:00 AM

[quoted text, click to view]

Is the DLL loaded from the expected location, and was the debugger able
to find and load its symbols?
(You can check the path and symbols status in Modules window)

Also, is your client application managed or unmanaged?

Regards,
Oleg
[VC++ MVP http://www.debuginfo.com/]


Re: Cannot Debug .Net COM+ library application dll ramkumar76 NO[at]SPAM yahoo.com
9/4/2006 9:41:30 PM
I have found out and fixed the problem.CLR caches the application dlls
in a loaction "Application Data\Microsoft\assembly\dl2" and i think
there is a mismatch in theese versions.I manually cleared all the
cached assemblies and run again.Now i am
able to debug.I think theese information is not documented properly by
microsoft.
Thanks oleg for your efforts.

Regards,

Ram

[quoted text, click to view]
AddThis Social Bookmark Button