473,396 Members | 1,779 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,396 software developers and data experts.

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 1726
Are you sure the DLL created in the Debug configuration?

DalePres
MCAD, MCDBA, MCSE

"donall" <do****@discussions.microsoft.com> wrote in message
news:21**********************************@microsof t.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****@discussions.microsoft.com> wrote in message
news:21**********************************@microsof t.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****@discussions.microsoft.com> wrote in message
news:21**********************************@microsof t.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%>\VSWebCache

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

DalePres
"donall" <do****@discussions.microsoft.com> wrote in message
news:83**********************************@microsof t.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****@discussions.microsoft.com> wrote in message
news:21**********************************@microsof t.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
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...
4
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...
0
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...
1
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...
4
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...
5
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...
3
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. ...
3
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...
1
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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
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...

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.