473,386 Members | 1,886 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Error while trying to run project : Unable to start debugging.

Hi,

I get the below error while I press F5 from Microsoft Visual Studio .NET
Enterprise Architect IDE. This doesn't allow me to debug the application.
But I am able to launch any other C# application when CTRL+F5 is pressed.

"Error while trying to run project : Unable to start debugging."
Unable to start program 'PROGRAM_NAME'

Can anyone suggest some work around?

Regards,

Ravi Shankar
Nov 22 '05 #1
8 22264
Hi Ravi,

Thanks for your post. You may experience the problem as described in the
following KB article:

PRB: Error Message: Unable to Start Debugging. Unable to Start Program
<application name.exe>
http://support.microsoft.com/?id=303067

If the problem persists, please tell me the version of Visual Studio .NET
(2002 or 2003), what the type of your project is (Console, Windows Forms,
Web Application, etc), and check if you can reproduce the problem against a
new wizard-generated only project.

Hope this helps.

Have a nice day! :-)

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 22 '05 #2
Hi Ravi,

Thanks for your post. You may experience the problem as described in the
following KB article:

PRB: Error Message: Unable to Start Debugging. Unable to Start Program
<application name.exe>
http://support.microsoft.com/?id=303067

If the problem persists, please tell me the version of Visual Studio .NET
(2002 or 2003), what the type of your project is (Console, Windows Forms,
Web Application, etc), and check if you can reproduce the problem against a
new wizard-generated only project.

Hope this helps.

Have a nice day! :-)

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 22 '05 #3
Hi Huang,

Thanks for the reply. I did as it was adviced in the url mentioned. But
the problem still persist. Now I get an additional information stating
"The debugger is not properly installed. Run setup to install or repair
the debugger."

I run the Microsoft Development Environment 2002 Version 7.0.9466 and
Microsoft .NET Framework Version 1.0.3705. My OS is Microsoft Windows XP
Professional Version 2002 Service Pack 1. The type of application is
Windows Forms.

I reproduced the same problem by creating a new wizard-generated only
project.

NOTE: I tried to reply to your mail address (online.microsoft.com) but
got an undeliverable message

Regards,

Ravi Shankar


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 22 '05 #4
Hi Huang,

Thanks for the reply. I did as it was adviced in the url mentioned. But
the problem still persist. Now I get an additional information stating
"The debugger is not properly installed. Run setup to install or repair
the debugger."

I run the Microsoft Development Environment 2002 Version 7.0.9466 and
Microsoft .NET Framework Version 1.0.3705. My OS is Microsoft Windows XP
Professional Version 2002 Service Pack 1. The type of application is
Windows Forms.

I reproduced the same problem by creating a new wizard-generated only
project.

NOTE: I tried to reply to your mail address (online.microsoft.com) but
got an undeliverable message

Regards,

Ravi Shankar


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 22 '05 #5
Hello Ravi,

Thanks for your information. According to the error message, the VS .NET
debugger is not properly installed. I'd like you perform the following
steps to manually repair the debugger:

1. Replace the following files with their equivalents from the Visual
Studio .NET installation media:

Program Files\Common Files\Microsoft Shared\VS7Debug\coloader.dll
Program Files\Common Files\Microsoft Shared\VS7Debug\csm.dll
Program Files\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll
Program Files\Common Files\Microsoft Shared\VS7Debug\pdm.dll
Program Files\Common Files\Microsoft Shared\VS7Debug\vs7jit.exe
Program Files\Common Files\Microsoft Shared\VS7Debug\mdm.exe

2. Register each DLL above with regsvr32.EXE, e.g:

regsvr32 "ProgramFiles\Common Files\Microsoft Shared\VS7Debug\coloader.dll"
...

3. Re-register each executable, e.g:

"Program Files\Common Files\Microsoft Shared\VS7Debug\vs7jit" /regserver
"Program Files\Common Files\Microsoft Shared\VS7Debug\mdm.exe" /regserver

If all else fails, please rename Program Files\Common Files\Microsoft
Shared\VS7Debug and then reinstall visual studio.

Please let me know the result.

Have a nice day! :)

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 22 '05 #6
Hello Ravi,

Thanks for your information. According to the error message, the VS .NET
debugger is not properly installed. I'd like you perform the following
steps to manually repair the debugger:

1. Replace the following files with their equivalents from the Visual
Studio .NET installation media:

Program Files\Common Files\Microsoft Shared\VS7Debug\coloader.dll
Program Files\Common Files\Microsoft Shared\VS7Debug\csm.dll
Program Files\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll
Program Files\Common Files\Microsoft Shared\VS7Debug\pdm.dll
Program Files\Common Files\Microsoft Shared\VS7Debug\vs7jit.exe
Program Files\Common Files\Microsoft Shared\VS7Debug\mdm.exe

2. Register each DLL above with regsvr32.EXE, e.g:

regsvr32 "ProgramFiles\Common Files\Microsoft Shared\VS7Debug\coloader.dll"
...

3. Re-register each executable, e.g:

"Program Files\Common Files\Microsoft Shared\VS7Debug\vs7jit" /regserver
"Program Files\Common Files\Microsoft Shared\VS7Debug\mdm.exe" /regserver

If all else fails, please rename Program Files\Common Files\Microsoft
Shared\VS7Debug and then reinstall visual studio.

Please let me know the result.

Have a nice day! :)

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 22 '05 #7
Hi Huang,

Thanks for the reply. I tried with all your suggestions including
uninstallation and then reinstallation of the Visual Studio .NET but the
problem still persist. Can I upgrade my system to .NET 2003? Will that
suffice?

Any more luck?

Regards,

Ravi Shankar S

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 22 '05 #8
Hi Ravi,

Thanks for your response.

Does it prompt the same error message? Please go to "Control Panel" ->
"Administrative Tools" -> "Services", and make sure that the "Machine Debug
Manager" is started.
Can I upgrade my system to .NET 2003? Will that suffice?

Generally speaking, both VS .NET 2002 and 2003 should debug programs
properly as they do on my system. I am afraid that the problem may be
caused by malfunctioned third-party application or services. I suggest you
to close/stop all other unnecessary application/service (say, anti-virus
application) to check whether or not the problem still exists. You can also
remove VS .NET 2002 cleanly with the steps described in the following MSDN
article:

HOW TO: Manually Remove Visual Studio .NET 2002 Components
http://support.microsoft.com/?id=320114

I look forward to your result.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 22 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Stephen Miller | last post by:
Hi, I am running v1.1.4322 on Win2K server and unable to debug a ASP.Net application running locally, using a full URL (ie www.mysite.com). When I hit F5, I get the following error message: ...
11
by: Claude seraphin | last post by:
I'am having this message while trying to rune my asp.net app on win3k server. I have set debug="true" in <compilation section in my web.config . Can anyone help me? Thanks in advance
1
by: Jon | last post by:
Hi all i encountered a problem will trying to run a C# Project (ASP.net Web Application). When i click 'start without debugging', it throws me an error *******************************************...
16
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the...
5
by: Bruce Schechter | last post by:
I just started to develop an ASP.NET application in vs.net 2003 . But each time I try to execute the application (which is basically empty so far), I get a dialog box titled "Microsoft Development...
1
by: dorenstein | last post by:
Hi, I'm running VS.Net 2003 (I also have 2002 installed) and while working out the ASP.NET Web Service Walkthrough, I get this message if I start without debugging: Error while trying to run...
1
by: Annie | last post by:
Hi guys, I am trying to set the connection string for my database in the web.config file however it raises the funny error message: ""Error while trying to run project: Unable to start...
1
markmcgookin
by: markmcgookin | last post by:
Hi Folks, this is a problem I had a few days ago, and I was able to solve it, but I thought I'd post the solution I found here incase anyone has a similar problem! I found this stuff on an MSNDN...
3
by: =?Utf-8?B?SmVmZnJleQ==?= | last post by:
Just started to test a VB.net 2002 project for ASP.net application. After successfully installed the VS.net 2002 and tested the IIS 5.1 on XP Pro SP2 for some classical ASP programs, I am starting...
4
by: ian | last post by:
A few weeks ago I was able to run remote debugging from my local machine (VS 2005 XP sp2) but now I get the following message: unable to start debugging on the web server. logon failure: unknown...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.