473,545 Members | 1,773 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

'Unable to start debugging' when running WindowsApp out of Visual Studio IDE

Hi there!

I spent the last week trying to fix this problem - I am always getting an
error when trying to run an application (WinForms or PPC) out of Visual
Studio IDE:

'Error while trying to run project: Unable to start debugging.'
'The debugger is not properly installed. Run setup to install or repair the
debugger.'

Building my solution or starting the exe works fine. But running it out of
IDE in Debug or Release mode causes this error.

I am using Visual Studio 2003 on Windows XP SP2 and .Net Framework 1.1 SP2
I think this has something to do with installing Office2003 or WinXP SP2 -
maybe this error occurs since then.

I tried to repair Visual Studio installation, I tried to uninstall and
reinstall it. No effect.

One hint I got from the community was that the problem has to do with
'mdm.exe'. So I tried to interchange it with the corresponding file on the
setup-disk. (coloader.dll csm.dll, msdbg2.dl, ... too). After registering
each of these I got no improvement. Same problem as before.

Any ideas?! Hope someone can help!

Greetings
Reinhard
Jul 21 '05 #1
6 9036

Hi

I suspect after XP SP2 it might have corrupted some assemblies. Try taking
latest packs for framework from microsoft for 1.1.

Last option would be put VS disk again and choose "repair" option.

With Best Regards
Naveen K S

"Reinhard Lehner" wrote:
Hi there!

I spent the last week trying to fix this problem - I am always getting an
error when trying to run an application (WinForms or PPC) out of Visual
Studio IDE:

'Error while trying to run project: Unable to start debugging.'
'The debugger is not properly installed. Run setup to install or repair the
debugger.'

Building my solution or starting the exe works fine. But running it out of
IDE in Debug or Release mode causes this error.

I am using Visual Studio 2003 on Windows XP SP2 and .Net Framework 1.1 SP2
I think this has something to do with installing Office2003 or WinXP SP2 -
maybe this error occurs since then.

I tried to repair Visual Studio installation, I tried to uninstall and
reinstall it. No effect.

One hint I got from the community was that the problem has to do with
'mdm.exe'. So I tried to interchange it with the corresponding file on the
setup-disk. (coloader.dll csm.dll, msdbg2.dl, ... too). After registering
each of these I got no improvement. Same problem as before.

Any ideas?! Hope someone can help!

Greetings
Reinhard

Jul 21 '05 #2
Hi Naveen!

I already tried this. I reinstalled the framework 1.1 Sp2 - no effect.
I tried VStudio repair option - no effect.
At last I removed VStudio completely und reinstalled it and .. guess what:
no effect.

Thank's
Reinhard

"Naveen" <Na****@discuss ions.microsoft. com> wrote in message
news:43******** *************** ***********@mic rosoft.com...

Hi

I suspect after XP SP2 it might have corrupted some assemblies. Try taking
latest packs for framework from microsoft for 1.1.

Last option would be put VS disk again and choose "repair" option.

With Best Regards
Naveen K S

"Reinhard Lehner" wrote:
Hi there!

I spent the last week trying to fix this problem - I am always getting an
error when trying to run an application (WinForms or PPC) out of Visual
Studio IDE:

'Error while trying to run project: Unable to start debugging.'
'The debugger is not properly installed. Run setup to install or repair
the
debugger.'

Building my solution or starting the exe works fine. But running it out
of
IDE in Debug or Release mode causes this error.

I am using Visual Studio 2003 on Windows XP SP2 and .Net Framework 1.1
SP2
I think this has something to do with installing Office2003 or WinXP
SP2 -
maybe this error occurs since then.

I tried to repair Visual Studio installation, I tried to uninstall and
reinstall it. No effect.

One hint I got from the community was that the problem has to do with
'mdm.exe'. So I tried to interchange it with the corresponding file on
the
setup-disk. (coloader.dll csm.dll, msdbg2.dl, ... too). After registering
each of these I got no improvement. Same problem as before.

Any ideas?! Hope someone can help!

Greetings
Reinhard

Jul 21 '05 #3

Hi Reinhard,

I was trying to find some more info for your problem and hit this excellent
blog...
http://blogs.msdn.com/mkpark/articles/86872.aspx

Withing this page find your problem for which solution is defined as
"You can’t start debugging because “mscordbi.dll ” is not registered
properly. Please register it manually. "

Another info I found is here....
http://support.microsoft.com/kb/303067

Just try it and let me know...

HTH

With Best Regards
Naveen K S

"Reinhard Lehner" wrote:
Hi Naveen!

I already tried this. I reinstalled the framework 1.1 Sp2 - no effect.
I tried VStudio repair option - no effect.
At last I removed VStudio completely und reinstalled it and .. guess what:
no effect.

Thank's
Reinhard

"Naveen" <Na****@discuss ions.microsoft. com> wrote in message
news:43******** *************** ***********@mic rosoft.com...

Hi

I suspect after XP SP2 it might have corrupted some assemblies. Try taking
latest packs for framework from microsoft for 1.1.

Last option would be put VS disk again and choose "repair" option.

With Best Regards
Naveen K S

"Reinhard Lehner" wrote:
Hi there!

I spent the last week trying to fix this problem - I am always getting an
error when trying to run an application (WinForms or PPC) out of Visual
Studio IDE:

'Error while trying to run project: Unable to start debugging.'
'The debugger is not properly installed. Run setup to install or repair
the
debugger.'

Building my solution or starting the exe works fine. But running it out
of
IDE in Debug or Release mode causes this error.

I am using Visual Studio 2003 on Windows XP SP2 and .Net Framework 1.1
SP2
I think this has something to do with installing Office2003 or WinXP
SP2 -
maybe this error occurs since then.

I tried to repair Visual Studio installation, I tried to uninstall and
reinstall it. No effect.

One hint I got from the community was that the problem has to do with
'mdm.exe'. So I tried to interchange it with the corresponding file on
the
setup-disk. (coloader.dll csm.dll, msdbg2.dl, ... too). After registering
each of these I got no improvement. Same problem as before.

Any ideas?! Hope someone can help!

Greetings
Reinhard


Jul 21 '05 #4
Hi Naveen!

Thank's again! I tried this as described, but the problem stays the same.
I think I will have to setup my system completely new.

Thank You very much
Reinhard
"Naveen" <Na****@discuss ions.microsoft. com> wrote in message
news:3D******** *************** ***********@mic rosoft.com...

Hi Reinhard,

I was trying to find some more info for your problem and hit this
excellent
blog...
http://blogs.msdn.com/mkpark/articles/86872.aspx

Withing this page find your problem for which solution is defined as
"You can't start debugging because "mscordbi.d ll" is not registered
properly. Please register it manually. "

Another info I found is here....
http://support.microsoft.com/kb/303067

Just try it and let me know...

HTH

With Best Regards
Naveen K S

"Reinhard Lehner" wrote:
Hi Naveen!

I already tried this. I reinstalled the framework 1.1 Sp2 - no effect.
I tried VStudio repair option - no effect.
At last I removed VStudio completely und reinstalled it and .. guess
what:
no effect.

Thank's
Reinhard

"Naveen" <Na****@discuss ions.microsoft. com> wrote in message
news:43******** *************** ***********@mic rosoft.com...
>
> Hi
>
> I suspect after XP SP2 it might have corrupted some assemblies. Try
> taking
> latest packs for framework from microsoft for 1.1.
>
> Last option would be put VS disk again and choose "repair" option.
>
> With Best Regards
> Naveen K S
>
> "Reinhard Lehner" wrote:
>
>> Hi there!
>>
>> I spent the last week trying to fix this problem - I am always getting
>> an
>> error when trying to run an application (WinForms or PPC) out of
>> Visual
>> Studio IDE:
>>
>> 'Error while trying to run project: Unable to start debugging.'
>> 'The debugger is not properly installed. Run setup to install or
>> repair
>> the
>> debugger.'
>>
>> Building my solution or starting the exe works fine. But running it
>> out
>> of
>> IDE in Debug or Release mode causes this error.
>>
>> I am using Visual Studio 2003 on Windows XP SP2 and .Net Framework 1.1
>> SP2
>> I think this has something to do with installing Office2003 or WinXP
>> SP2 -
>> maybe this error occurs since then.
>>
>> I tried to repair Visual Studio installation, I tried to uninstall and
>> reinstall it. No effect.
>>
>> One hint I got from the community was that the problem has to do with
>> 'mdm.exe'. So I tried to interchange it with the corresponding file on
>> the
>> setup-disk. (coloader.dll csm.dll, msdbg2.dl, ... too). After
>> registering
>> each of these I got no improvement. Same problem as before.
>>
>> Any ideas?! Hope someone can help!
>>
>> Greetings
>> Reinhard
>>
>>
>>


Jul 21 '05 #5

Hi Richard,

That's fine..

I wouuld suggest once u r system is ready with all complet software
installation then only u proceed to install XP SP2....

May be issue is there only somewhere..

With Best Regards
Naveen K S
"Reinhard Lehner" wrote:
Hi Naveen!

Thank's again! I tried this as described, but the problem stays the same.
I think I will have to setup my system completely new.

Thank You very much
Reinhard
"Naveen" <Na****@discuss ions.microsoft. com> wrote in message
news:3D******** *************** ***********@mic rosoft.com...

Hi Reinhard,

I was trying to find some more info for your problem and hit this
excellent
blog...
http://blogs.msdn.com/mkpark/articles/86872.aspx

Withing this page find your problem for which solution is defined as
"You can't start debugging because "mscordbi.d ll" is not registered
properly. Please register it manually. "

Another info I found is here....
http://support.microsoft.com/kb/303067

Just try it and let me know...

HTH

With Best Regards
Naveen K S

"Reinhard Lehner" wrote:
Hi Naveen!

I already tried this. I reinstalled the framework 1.1 Sp2 - no effect.
I tried VStudio repair option - no effect.
At last I removed VStudio completely und reinstalled it and .. guess
what:
no effect.

Thank's
Reinhard

"Naveen" <Na****@discuss ions.microsoft. com> wrote in message
news:43******** *************** ***********@mic rosoft.com...
>
> Hi
>
> I suspect after XP SP2 it might have corrupted some assemblies. Try
> taking
> latest packs for framework from microsoft for 1.1.
>
> Last option would be put VS disk again and choose "repair" option.
>
> With Best Regards
> Naveen K S
>
> "Reinhard Lehner" wrote:
>
>> Hi there!
>>
>> I spent the last week trying to fix this problem - I am always getting
>> an
>> error when trying to run an application (WinForms or PPC) out of
>> Visual
>> Studio IDE:
>>
>> 'Error while trying to run project: Unable to start debugging.'
>> 'The debugger is not properly installed. Run setup to install or
>> repair
>> the
>> debugger.'
>>
>> Building my solution or starting the exe works fine. But running it
>> out
>> of
>> IDE in Debug or Release mode causes this error.
>>
>> I am using Visual Studio 2003 on Windows XP SP2 and .Net Framework 1.1
>> SP2
>> I think this has something to do with installing Office2003 or WinXP
>> SP2 -
>> maybe this error occurs since then.
>>
>> I tried to repair Visual Studio installation, I tried to uninstall and
>> reinstall it. No effect.
>>
>> One hint I got from the community was that the problem has to do with
>> 'mdm.exe'. So I tried to interchange it with the corresponding file on
>> the
>> setup-disk. (coloader.dll csm.dll, msdbg2.dl, ... too). After
>> registering
>> each of these I got no improvement. Same problem as before.
>>
>> Any ideas?! Hope someone can help!
>>
>> Greetings
>> Reinhard
>>
>>
>>


Jul 21 '05 #6
Reinhard

well, i saw your post i was exactly in the same situation,
after 2 days trying to solve it i cant tell you everything i've tried
but try this :
change the dcom permissions (only added the Interactive account)
http://support.microsoft.com/kb/290398/EN-US/

reboot

go to directory: program files\common files\Microsoft Shared\VS7Debug

edit mdm.exe.config in the notepad
paste the contents of another similar file that you may have on another
machine
register mdm.exe in the console

mdm /regserver
reboot

if it works stop from here.

For me what happened was that

if it doesn't work, like me ( my mdm.exe.config just went blank) just
delete the config file

register mdm.exe in the console

mdm /regserver

reboot

Now it works fine for me.

Rui Guerra
Portugal
Reinhard Lehner wrote:
Hi there!

I spent the last week trying to fix this problem - I am always getting an
error when trying to run an application (WinForms or PPC) out of Visual
Studio IDE:

'Error while trying to run project: Unable to start debugging.'
'The debugger is not properly installed. Run setup to install or repair the
debugger.'

Building my solution or starting the exe works fine. But running it out of
IDE in Debug or Release mode causes this error.

I am using Visual Studio 2003 on Windows XP SP2 and .Net Framework 1.1 SP2
I think this has something to do with installing Office2003 or WinXP SP2 -
maybe this error occurs since then.

I tried to repair Visual Studio installation, I tried to uninstall and
reinstall it. No effect.

One hint I got from the community was that the problem has to do with
'mdm.exe'. So I tried to interchange it with the corresponding file on the
setup-disk. (coloader.dll csm.dll, msdbg2.dl, ... too). After registering
each of these I got no improvement. Same problem as before.

Any ideas?! Hope someone can help!

Greetings
Reinhard

Jul 21 '05 #7

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

Similar topics

4
1920
by: cashdeskmac | last post by:
I have a problem creating ASP.NET web pages in Visual Studio. I have upgraded to XP Pro, created a new virtual folder under the default web site in IIS, named a directory to hold the actual files (all done through wizards) and yet when I try to start a simple hello world page using F5, I get a message saying “Unable to start debugging on...
1
1323
by: Saber S | last post by:
When I try to begin an ASP.Net project in Visual Studio.Net I get an error message: "Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or services." I tried a solution at Microsoft at http://support.microsoft.com/default.aspx?kbid=306005 but...
2
1312
by: Andreas Klemt | last post by:
Hello, for what is the label good when programming in visual studio like this: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Label1: If Page.IsPostBack Then DoThis() End If
1
1543
by: uncah91 | last post by:
I am runnning some very simple performance tests using a vb.net winform to invoke a vb.net webservice. The webservice simply returns a string literal. I invoke the service 1000 times in a row and note some timestamps for reporting at the end of the test. When I run this using play in VS, the test takes ~16 seconds. When I build the...
6
276
by: Reinhard Lehner | last post by:
Hi there! I spent the last week trying to fix this problem - I am always getting an error when trying to run an application (WinForms or PPC) out of Visual Studio IDE: 'Error while trying to run project: Unable to start debugging.' 'The debugger is not properly installed. Run setup to install or repair the debugger.'
9
7761
by: Michael.Suarez | last post by:
Suppose I have a program that prompts you with a dialogbox to enter a password. If you get the password correct, it allows you into the program, else it kills the program. Suppose that when I am in Visual Studio, running the program in debug mode, i want to bypass the password prompt because if i am the developer, i am definately allowed...
4
5616
by: linda.chen | last post by:
Greeting. We have a 6 year old application, which contains both managed (C#) and unmanaged code (C++). For all the new components we try to create them in C#. We build all projects (both C++ and C# code) into a solution from visual studio .net 2003. In out solution we have a project implementing a pretty complicated math algorithm. This...
0
7308
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the beginning CIS student who is struggling to get their programs working. I work in the computer lab at the college I'm attending and I see many students who...
2
2293
by: Z.K. | last post by:
I was wondering if someone could tell me why I get this message and how to prevent it. If I hit continue, it runs fine, but want to know what I am doing wrong so I won't get this error in the future. also what is the file Clock.vshost.exe; my application is Clock.exe. Z.K. 'Clock.vshost.exe' (Managed): Loaded 'C:\Documents and...
0
7457
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main...
0
7391
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7651
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7410
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7746
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5962
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3438
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1869
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1010
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.