Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / October 2005

Tip: Looking for answers? Try searching our database.

Debugging legacy ASP application on VStudio under XP SP2

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mukesh bhakta - 24 Oct 2005 23:21 GMT
Hi guys,

I have a rather strange problem with debugging a legacy ASP project
that uses COM Interops written in VB.NET.

The project when debugged on Win2000 allows JIT debugging of the CLR
code using the DefaultDomain in the 'Debug Processes' dialog. I also
see two DLLHost instances that can be used for debugging.

Under XP the same code only allows stepping into ASP and T-SQL code but
the CLR code cannot be debugged. I only see one DLLHost instance with
no 'DefaultDomain' in the debug process dialog.

I have checked DCOM settings et al coming from the MSDN KB's but still
no luck. All security settings on both machines are ditto.

Any suggestions?

Cheers

MB
Robert Jordan - 25 Oct 2005 00:07 GMT
> Hi guys,
>
[quoted text clipped - 8 lines]
> the CLR code cannot be debugged. I only see one DLLHost instance with
> no 'DefaultDomain' in the debug process dialog.

Under XP and 2k3 the CLR gets loaded on demand, so you
cannot attach to dllhost.exe before the COM object has
been created *and* before one of its methods has been
accessed.

Rob
mukesh bhakta - 25 Oct 2005 05:12 GMT
Hi Rob,

The COM controls do the rendering of the page contents and i can see
all values coming from the controls but still cannot 'breakpoint' or
trace into the code.

Cheers

MB

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.