?
Solved

Debugging ASP.NET Web Application

Posted on 2004-09-24
3
Medium Priority
?
790 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 750 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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 …
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
The viewer will learn how to implement Singleton Design Pattern in Java.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
Suggested Courses

752 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