Solved

Debugging ASP.NET Web Application

Posted on 2004-09-24
3
730 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
JRE Blackdown JRE 1.1.8 v3 3 85
Hibernate methods 2 58
java constructor error 8 88
word0 challenge 3 58
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 …
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

743 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

10 Experts available now in Live!

Get 1:1 Help Now