Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Cannot debug ASP.net using VWD 2008 Express Edition

Posted on 2007-08-09
2
Medium Priority
?
1,546 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

926 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