Solved

Debugging ASP.NET Web Application

Posted on 2004-09-24
3
778 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
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 …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…

724 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