Unable to attach w3wp.exe process to CLR Debugger

Posted on 2009-02-19
Last Modified: 2013-12-12
I am trying to debug an 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

Question by:MourantSD
    LVL 18

    Assisted Solution

    by:Richard Lee
    Has the application been compiled in DEBUG mode?
    LVL 12

    Expert Comment


    Author Comment

    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

    Author Comment

    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?


    Author Comment

    I feel that it must be a config issue, the latest bod has not helped so not sure.

    Accepted Solution

    Closing Question, No solutioin, will Dev on a server 2003 machine.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
    Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
    The viewer will learn common shortcuts with easy ways to remember them. The viewer will then learn where to find all of the keyboard shortcuts, how to create/change them, and how to speed up their workflow.
    Viewers will learn how to use the Hootsuite Dashboard.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now