• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1558
  • Last Modified:

Cannot debug ASP.net using VWD 2008 Express Edition

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.
1 Solution
ChetOS82Author Commented:
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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now