Cannot debug using VWD 2008 Express Edition

Posted on 2007-08-09
Last Modified: 2013-11-27
When I run the website in the debugger, I get the following error:

"Unable to attach to application 'WebDev.WebServer.EXE' (PID: 3712) using 'MACHINE'.  Unmanaged debugging is not available."

I was running Visual Web Developer 'Orcas' Express Edition.  I installed Visual Studio 2008 Beta without uninstalling anything first (stupid, I know).  Everything still worked perfect after that.  I saw that there was a new 2008 Beta 1 express edition, so I installed that.  It would not debug.  I then uninstalled it, uninstalled the Orcas edition, and reinstalled 2008 Beta 1.

I have not (nor do I really want to) uninstalled VS 2008.

I probably just changed a setting in VS 2008 (which had more options) and that setting came across to the express edition, and it doesn't support it.  I have had something like this happen before and I just needed to load VS and change it, then reload the Express Edition.

I don't want to use VS to build websites because the windows and layouts I used in AppDev are not conducive to WebDev.
Question by:ChetOS82
    1 Comment
    LVL 18

    Accepted Solution

    My hunch was right.  I had turned on "Native code" debugging in VS2008, when I loaded the project in VWD 2008 Express (which doesn't support native debugging) it threw the error.

    To fix:
    Close the express edition.
    Load the website in VS2008
    Go to project properties (right-click on project name and click Properties), and click on "Start Options"
    Uncheck "Native code" (at the bottom)
    Save and close VS2008
    Open the project in the express edition... it should debug properly now.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
    A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!

    754 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

    18 Experts available now in Live!

    Get 1:1 Help Now