We help IT Professionals succeed at work.

Unable to attach w3wp.exe process to CLR Debugger

Medium Priority
Last Modified: 2013-12-12
I am trying to debug an asp.net application using the CLR Debugger, but when i try to attach to the w3wp.exe process i get the following error...

Unable to attach to the process. The Debugger was unable to automatically select and appropriate type of code. Please manually specify the type(s) of code to which the debugger should attach.

How do i manually specify the type of code?

I am running Vista 64 bit / IIS7 i am running the debugger as an administrator

Watch Question

Richard LeeSoftware Enthusiast
Has the application been compiled in DEBUG mode?

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


The appilication hasn't been written in Visual Studio, but a bespoke IDE based on VS for the product i'm developing, so unfortunatly i can't compile in debug mode


Other developers on server 2003 are able to debug without issue, so i assume the bespoke IDE complies in DEBUG mode. I think the problem is a vista/IIS 7 config issue?



I feel that it must be a config issue, the latest bod has not helped so not sure.
Closing Question, No solutioin, will Dev on a server 2003 machine.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.