473,320 Members | 2,071 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,320 software developers and data experts.

'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 9001

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****@discussions.microsoft.com> wrote in message
news:43**********************************@microsof t.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****@discussions.microsoft.com> wrote in message
news:43**********************************@microsof t.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****@discussions.microsoft.com> wrote in message
news:3D**********************************@microsof t.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.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****@discussions.microsoft.com> wrote in message
news:43**********************************@microsof t.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****@discussions.microsoft.com> wrote in message
news:3D**********************************@microsof t.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.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****@discussions.microsoft.com> wrote in message
news:43**********************************@microsof t.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
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...
1
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...
2
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: ...
1
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...
6
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...
9
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...
4
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++...
0
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...
2
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, youll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shllpp 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.