The debugger is not properly installed. Run setup to install or repair the debugger.

Thursday, August 2, 2007

The debugger is not properly installed. Run setup to install or repair the debugger.

While trying to attach a Windows .NET Service running on a remote server to its source code on my developer machine in order to debug the service, I encountered the following Error:

Error: "The debugger is not properly installed. Run setup to install or repair the debugger."

As for the cause of the problem, I think it started happening since I installed the Beta 1 version of Visual Studio 2008 (Code Name Orcas), so that was my first guess as to what triggered the problem. After researching the matter through several search engines I came across the following solutions for fixing this problem:

Solution 1: Run the Visual Studio .NET Add / Remove feature from "Control Panel > Add or Remove Programs", by selecting the correct version of Visual Studio and clicking on "Change/Repair" button. In my case this solution did not fix the problem.

Solution 2: Reinstall .NET Framework debugging services.
  • Open command prompt

  • Type "cd /d %windir%/Microsoft.NET/Framework/"

  • regsvr32.exe mscordbi.dll

Unfortunately, this solution did not fix my problem either.

Solution 3: Manually register mdm.exe.

  • Open command prompt
  • Type "%CommonProgramFiles%/Microsoft Shared/VS7Debug/mdm.exe" /regserver

This solution did not work for me either.

Final Solution: The problem seems to be in the path to the remote machine. The debugger doesn't seem to be able to access the network computer using the path specified. in the process attachment screen. In my case, the problem simply turned out to be due to the fact that I was trying to attach a process on a machine which was on a different domain, which did not allow access permission using our domain logon!

So the solution is to either add the remote server you want to attach a process from to the same domain as what you are on, or add your development pc to the other domain to be able to debug the remote server.

Pete Soheil
DigiOz Multimedia
http://www.digioz.com/

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值