473,545 Members | 2,776 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

cannot attach to aspnet_wp.exe

i have a DLL which implements a HTTP handler, written in C#, and have
deployed it on IIS 5.0, on XP service pack 2.
six months ago, i was able to debug it by attaching CLR to the process
(aspnet_wp.exe) .
now i can't attach to the process any more. when i select the process from
the list, and then select to attach the CLR, i just get a dialog box saying
"Cannot attach to process". there is no more info, nothing to direct me
further.
incidentally, i can still attach CLR to other processes and debug them
properly.

any help much appreciated.
Nov 19 '05 #1
4 1736
Are you sure the DLL created in the Debug configuration?

DalePres
MCAD, MCDBA, MCSE

"donall" <do****@discuss ions.microsoft. com> wrote in message
news:21******** *************** ***********@mic rosoft.com...
i have a DLL which implements a HTTP handler, written in C#, and have
deployed it on IIS 5.0, on XP service pack 2.
six months ago, i was able to debug it by attaching CLR to the process
(aspnet_wp.exe) .
now i can't attach to the process any more. when i select the process from
the list, and then select to attach the CLR, i just get a dialog box
saying
"Cannot attach to process". there is no more info, nothing to direct me
further.
incidentally, i can still attach CLR to other processes and debug them
properly.

any help much appreciated.

Nov 19 '05 #2
Check your application directory for the presence of a .pdb file. You may
try rebuilding this pdb file because it may be corrupted or unusable.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ http://tinyurl.com/27cok
----------------------------------------------------------
"donall" <do****@discuss ions.microsoft. com> wrote in message
news:21******** *************** ***********@mic rosoft.com...
i have a DLL which implements a HTTP handler, written in C#, and have
deployed it on IIS 5.0, on XP service pack 2.
six months ago, i was able to debug it by attaching CLR to the process
(aspnet_wp.exe) .
now i can't attach to the process any more. when i select the process from
the list, and then select to attach the CLR, i just get a dialog box
saying
"Cannot attach to process". there is no more info, nothing to direct me
further.
incidentally, i can still attach CLR to other processes and debug them
properly.

any help much appreciated.

Nov 19 '05 #3
there were pdb files in my debug directory. so i tried rebuilding the
solution from scratch, but to no avail. i reverted to old-fashioned debugging
through trace code to get me through this urgent problem, and i'll get around
to doing more investigation when i get more time.
thanks to Dale and Alvin for your suggeestions.

"Alvin Bruney [MVP]" wrote:
Check your application directory for the presence of a .pdb file. You may
try rebuilding this pdb file because it may be corrupted or unusable.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ http://tinyurl.com/27cok
----------------------------------------------------------
"donall" <do****@discuss ions.microsoft. com> wrote in message
news:21******** *************** ***********@mic rosoft.com...
i have a DLL which implements a HTTP handler, written in C#, and have
deployed it on IIS 5.0, on XP service pack 2.
six months ago, i was able to debug it by attaching CLR to the process
(aspnet_wp.exe) .
now i can't attach to the process any more. when i select the process from
the list, and then select to attach the CLR, i just get a dialog box
saying
"Cannot attach to process". there is no more info, nothing to direct me
further.
incidentally, i can still attach CLR to other processes and debug them
properly.

any help much appreciated.


Nov 19 '05 #4
Another thing to try is deleting the VSWebCache folder at C:\Documents and
Settings\<%Your Login Name%>\VSWebCac he

Sometimes it gets corrupted and can cause the symptoms you describe as well.

DalePres
"donall" <do****@discuss ions.microsoft. com> wrote in message
news:83******** *************** ***********@mic rosoft.com...
there were pdb files in my debug directory. so i tried rebuilding the
solution from scratch, but to no avail. i reverted to old-fashioned
debugging
through trace code to get me through this urgent problem, and i'll get
around
to doing more investigation when i get more time.
thanks to Dale and Alvin for your suggeestions.

"Alvin Bruney [MVP]" wrote:
Check your application directory for the presence of a .pdb file. You may
try rebuilding this pdb file because it may be corrupted or unusable.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ http://tinyurl.com/27cok
----------------------------------------------------------
"donall" <do****@discuss ions.microsoft. com> wrote in message
news:21******** *************** ***********@mic rosoft.com...
>i have a DLL which implements a HTTP handler, written in C#, and have
> deployed it on IIS 5.0, on XP service pack 2.
> six months ago, i was able to debug it by attaching CLR to the process
> (aspnet_wp.exe) .
> now i can't attach to the process any more. when i select the process
> from
> the list, and then select to attach the CLR, i just get a dialog box
> saying
> "Cannot attach to process". there is no more info, nothing to direct me
> further.
> incidentally, i can still attach CLR to other processes and debug them
> properly.
>
> any help much appreciated.


Nov 19 '05 #5

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

Similar topics

3
4903
by: roblenderman | last post by:
I start in debug mode and set a breakpoint on the page load event for the startup page. The browser opens and the page renders. The breakpoint turns to a "?" and says the breakpiont cannot be reached. Here is my output and I notice the aspnet_wp.exe is exiting. No idea how to fix this. Yes I am in debig and not release mode. ...
4
5160
by: Andy | last post by:
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.
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
6376
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
4
1702
by: John A. Bailo | last post by:
I am debugging a windows service that consumes a web service. I set breakpoints in both. Sometimes, after attaching to the windows service, the debugger will auto-attach and run to my breakpoints in the web service. Other times not. My workaround is to attach to both the aspnet_wp.exe process and my windows service, but I wonder why...
5
2245
by: Kees de Winter | last post by:
Is it possible to attach the VS2005 debugger to an already running, and published website? If I choose "Attach to process" from the menu and then select the right process, set breakpoints, run the code, nothing happens. Thanks for your help. -- Kees
3
5404
by: =?Utf-8?B?QW5kcmV3?= | last post by:
Hello, friends, I am using .net 2005 to develope a web service based application. When accessing web services from client side, I always attach aspnet process to have a step by step debugging. However, for some unknown reason, this process disappeared in Available Processes list of Attach to Process window. Any ideas? How to make it...
3
6909
by: Ronald S. Cook | last post by:
I used to be able to attach to my aspnet_wp.exe worker process to debug ove rin my service. Suddenly, it's not on the list of processes to attach to when I click debug.. attach to process. Any idea where it went and how I bring it back? I tried running aspnet_regiis.exe -i to restart IIS but that didn't help. Thanks for any help, Ron
1
1166
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
0
7432
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
7943
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
7456
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
7786
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...
1
5359
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
3490
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...
0
3470
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1919
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1044
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.