473,401 Members | 2,139 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

Debugging Problems

I am having trouble debugging with Visual Studio.NET 2003 and Framework
1.1. I cannot press F5 and have the web project start with the
debugger, I get "Unable to start debugging on the web server. Could not
start ASP.NET or ATL Server debugging". So, instead I have to manually
attach to aspnet_wp.exe. This works about 50% of the time, the other
50% I have to restart IIS and/or manaully kill the aspnet_wp.exe
process, then manually attach the debugger to aspnet_wp.exe. I can
successfully debug Windows Applications with F5.

One thing I've noticed is I can't use localhost as the webserver, I
instead have to specify the machine name as well as having to setup a
header in IIS using the machine name. VS.NET now thinks I am
debugging/developing against a remote server.

I am stumped, though my frustration level is less than yesterday. I've
done all the typical things I know, ASPNET in the Debuggers group, set
Directory Security to my account which had administrative rights. But
this time it doesn't look like a security issue.

Any thoughts?

Nov 19 '05 #1
2 1347
What does %windir%\system32\drivers\etc\hosts file shows about your computer
localhost should be mapped rollback address (127.0.0.1)

--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCSD.NET

<jo***@wainz.net> wrote in message
news:11********************@g43g2000cwa.googlegrou ps.com...
I am having trouble debugging with Visual Studio.NET 2003 and Framework
1.1. I cannot press F5 and have the web project start with the
debugger, I get "Unable to start debugging on the web server. Could not
start ASP.NET or ATL Server debugging". So, instead I have to manually
attach to aspnet_wp.exe. This works about 50% of the time, the other
50% I have to restart IIS and/or manaully kill the aspnet_wp.exe
process, then manually attach the debugger to aspnet_wp.exe. I can
successfully debug Windows Applications with F5.

One thing I've noticed is I can't use localhost as the webserver, I
instead have to specify the machine name as well as having to setup a
header in IIS using the machine name. VS.NET now thinks I am
debugging/developing against a remote server.

I am stumped, though my frustration level is less than yesterday. I've
done all the typical things I know, ASPNET in the Debuggers group, set
Directory Security to my account which had administrative rights. But
this time it doesn't look like a security issue.

Any thoughts?

Nov 19 '05 #2
I've added entries to the hosts file for localhost and my computer
name; both mapped to 127.0.0.1. Complete reboot and still the same
error.

Any more thoughts?

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
16
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the...
2
by: Alex Clark | last post by:
Hi All, My system: WinXP Pro, VS.NET 2003, SQL Server Personal Edition. I'm having problems with my old favourite demon, SQL Debugging from within VS.NET. I have to say I've found this...
1
by: Jason Smith | last post by:
I'm rather new with vb.net and I'm having problems debugging a large vb.net application. The application is randomly crashing at two locations with "referenced memory at 0x0" violations. My...
1
by: Mark Olbert | last post by:
I don't know if these two problems are related or if they're independent. In moving my site to a production server I discovered that I had enabled T-SQL debugging and forgotten to turn it off (I'm...
0
by: Sericinus hunter | last post by:
This post is mostly for picking up by Google and information purposes. The problem itself is solved for me. Generally, debugging .Net COM dll should not pose any problems, but you will be...
6
by: Maitre Bart | last post by:
One said: "The more time you'll spend on designing your app, the less you'll spend time debugging it." I agree with that, but chances are, you'll still need to debug it anyway! And the larger the...
5
by: =?Utf-8?B?Z2FkeWE=?= | last post by:
I can't get to debug on my local IIS using VStudio.net 2005 Prof. I can on the development server. I get the msg 'the server does not support debugging for asp.net...' I have done the following...
6
kenobewan
by: kenobewan | last post by:
Congratulations! You are one of the few who realise that over 80% of errors are simple and easy to fix. It is important to realise this as it can save a lot of time. Time that could be wasted making...
33
by: fmassei | last post by:
Hello! I made a short piece of code that I find very useful for debugging, and I wanted to ask you if it is correct, somehow acceptable or if I simply reinvented the wheel. To deal with some bad...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.