Solved

Cannot debug ASP.net using VWD 2008 Express Edition

Posted on 2007-08-09
2
1,509 Views
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.
0
Comment
Question by:ChetOS82
2 Comments
 
LVL 18

Accepted Solution

by:
ChetOS82 earned 0 total points
ID: 19664634
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.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
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. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

685 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