473,587 Members | 2,316 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Auto attach aspnet_wp.exe in visual studio.

In visual studio, I have an asp.net project. When I debug, I have to
manually attach to aspnet_wp.exe. My project used to automatically attach
to this process. How do I get it to automatically attach to it again.
Nov 17 '05 #1
4 5164
Hi Andy,

Based on my research and experience, the following article is useful to
you. Please refer to it carefully.

PRB: "Unable to Start Debugging on the Web Server" Error Message While You
Debug ASP.NET Applications
http://support.microsoft.com/default...b;en-us;817034
"...
When you set authentication to Basic, the HTTP debug request cannot
establish the username and the password for the debugger. Therefore, the
request does not reach the ASP.NET source code to debug, and then the
auto-attach debugging of processes fails.
..."

Does it answer your question? If I have misunderstood your concern, please
feel free to let me know.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ®C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 17 '05 #2
Thank you very much for your help.

First, Iím far from an expert on security, but I donít think this is the
issue. First, I was not using basic authentication, I am using
anonymous access. And I am getting no errors.

Maybe I can ask my question this way:
Can I configure Visual studio to attach to the aspnet_wp.exe when I hit
the start debug button?

More info:
I think my question has more to do with visual studio then ASP.Net.
In visual studio, if I create a ASP.NET project, set a break point in
the code behind page and press the start debug button, I hit my
breakpoint.
I have a different project I have been working on for some time. When I
press the start debug button from visual studio, my breakpoint doesnít
get hit. I have to go into Debug>Process, select aspnet_we.exe and then
press Attach. Then I can hit my breakpoints.

Itís been a bit since Iíve worked with Visual C++ or Visual Basic, but I
recall the ability to configure what gets ran and debugged (attached
to?) when you hit the start debug button.
Can I configure Visual studio to attach to the aspnet_wp.exe when I hit
the start debug button?

Thanks in advance,
Andy
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 17 '05 #3
Hi Andy,

Thank you for your update.

Since a default web application is OK and the problem only occurs in this
specific web application, please check the following settings of the
problem project.

1. Open the problem project in VS.NET IDE.

2. Select Project->"Project Name" Properties...

3. Select Configuration Properties->Debugging.

4. Please make sure the "Start Action" is set to "Start project" and the
"ASP.NET debugging" is enabled.

I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ®C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 17 '05 #4
Thanks a ton Jacob, this was exactly what I was looking
for.
-----Original Message-----
Hi Andy,

Thank you for your update.

Since a default web application is OK and the problem only occurs in this specific web application, please check the following settings of the problem project.

1. Open the problem project in VS.NET IDE.

2. Select Project->"Project Name" Properties...

3. Select Configuration Properties->Debugging.

4. Please make sure the "Start Action" is set to "Start project" and the "ASP.NET debugging" is enabled.

I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ®C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
.

Nov 17 '05 #5

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

Similar topics

0
1302
by: Peter StrÝiman | last post by:
Hi I have a windows 2003 test server. I installed a web application on it, including the debug symbol files. I also installed the remote debugger from the Visual Studio 2003 DVD. My client is a windows xp. Neither the client nor the server is on a domain. Thus I replicated my local XP user account on the server. Then I fired up the...
0
1581
by: Reshma Prabhu | last post by:
Hello, I am getting following meesage when trying to debug an SP.Net application Auto-attach to process ' aspnet_wp.exe' on machine <Machnine Name> failed. Error code 0x8013134b. Unable to start debugging on WEbServer I have Windows XP SP2 with VS.Nwt 2003 installed on my computer.
1
6379
by: Reshma Prabhu | last post by:
I am getting follwoing error while trying to debug through IDE Auto-attach to process ' aspnet_wp.exe' on machine machinename failed. Error code 0x8013134b. Can any tell me please how to solve this I have tried everything giving every rights to ASpNet user but still unsuccessful
0
1139
by: sirpelidor | last post by:
Hi, I'm a newbie to asp.net world whom just got myself a VS.net 2003 (yay). There are alot of things I don't understand so please bare with me: 1) I made a simple aspx page with cs code-behind, when I click Debug -> Start (F5) it complained: Auto-attach to process 'aspnet_wp.exe' on machine '(my machine name)' failed. Error code 0x8013134b...
3
8614
by: Freddie | last post by:
hi, i try to get the asp.net 2.0 security controls to work with SQL Server 2005 Dev RTM, this is my connetion string in mashine.config <connectionStrings> <add name="LocalSqlServer" connectionString="data source=.;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=false;"...
0
950
by: Rod | last post by:
I have installed Visual Studio .NET 2003 and 2005 onto my new machine at work. Right now I am trying to debug an ASP.NET 1.1 app to look into an error that a user mentioned. When I do I get the following error: "Auto-attach to process ' aspnet_wp.exe' on machine 'MYMACHINE' failed. Error code 0x8013134b."
0
1624
by: Woodwinds | last post by:
I have a web application run under ASP.NET v1.1.4322 when I run that web application I got error that show on application log "aspnet_wp.exe stopped unexpectedly" I re installed visual studio.net architecture 2003. How do I know ASP.NET correct version for visual studio.net. before install I got error when try to debug the web...
1
1168
by: Warren Tang | last post by:
Hi I have to attach to the aspnet_wp.exe frequently. Is there any shortcut or macro for it? Regards Warren
6
3217
by: GaryDean | last post by:
I see some references on debugging by attaching to a process. There are MSDN articles that show how to attach to a process for debugging. However, I can find no info on how exactly to get the debugging to work. I have a wizard page in the anonymous section of my website. If I run it as the startup page in VS it runs fine. But if I link...
0
7843
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8205
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8339
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7967
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6619
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectóplanning, coding, testing, and deploymentówithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5712
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 presenter, Adolph Duprť who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3840
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1452
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.