Solved

Debugging ASP.NET Web Application

Posted on 2004-09-24
3
744 Views
Last Modified: 2011-10-03

Hi,

I am new to VB.net. When I try to debug an ASP.Net Web Application, i get an error message like

" Unable to Start Debugging on the Web Server.......Install the VS.Net Server Components .... Would you like to disable any further attempts to debug on this project ? "


I re-installed VS.Net and installed all the server components as well. I also tries re-installing IIS.

Still no  success.

Kindly help.

Thanks & Best Regards

Sree
0
Comment
Question by:sreejithm
  • 2
3 Comments
 
LVL 44

Accepted Solution

by:
Arthur_Wood earned 250 total points
ID: 12143674
what you want to do is to use the ASP.NET debugger - CLRDBG.EXE found in the .NET Framework SDK

if you installed Visual Studio 2003 in the 'standard' directory on your C drive, it is located at

C:/program Files/Microsoft Visual Studio .NET 2003/SDK/V1.1/GuiDebug

What you do is this:

Start you ASP.NET app, in VS (View in Browser)

Then start the CLRDBG.EXE, and open the aspx.vb file that you want to start debugging in.  

Set a Breakpoint, as if you were in VS, on the line where you want to Break.

The under the Debug menu button (in the debugger), click on Processes, and select the aspnet_wp.exe.  then go back to the running asp.net app, and fire it up, when the executring code gets to the line that you set the Breakpoint on in the debugger, you will be in the debugger, and can then single step, in the debugger, using the F11 key to step-into (what F8 does in an normal VB.NET app - not asp.net)

AW
0
 

Author Comment

by:sreejithm
ID: 12148994
Hi,

I use VS.Net 2002.

Can the procedures that you have mentioned be applied here as well ?

Thanks & Best Regards,

Sreejith.
0
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 12149010
should be able to.

Give it a try.

AW
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now