Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to start debugging because the object invoked has disconnected from its clients

I'm running Visual Studio 2012 (version 11.0.61030.00 update 4). When debugging a local console application I get the following error when I start debugging (F5):

--------------------------- Microsoft Visual Studio --------------------------- Error while trying to run project: Unable to start debugging. The object invoked has disconnected from its clients. --------------------------- OK    --------------------------- 

This only happens if I leave visual studio alone without debugging for a couple minutes. If I close visual studio and re-open the error goes away (until I leave it untouched for another couple of minutes). Has anyone experienced this? I can't find any threads of other people experiencing it.

like image 803
downatone Avatar asked Nov 27 '13 15:11

downatone


People also ask

What does it mean when it says the object invoked has disconnected from its clients?

The object invoked has disconnected from its clients. Whenever you get this error message on Windows 10, it simply means that the specific program assigned to open files of a certain type is unable to do so.


2 Answers

This may be a possible answer for the problem.

Some from the answer:

  1. Check which files were changed (why and how) after update from a source control engine
  2. Review the list of extensions and plugins. Try to disable all or some of them
  3. Close Visual Studio and kill all the development processes: devenv, mspdbsrv, vcpkgsrv, msbuild, msvsmon, vshub, vstest etc
  4. Remove .suo, .ncb, .VC.db, .VC.VC.opendb files of the solution as well as .vs directory, which sometimes cause problems
  5. Remove project setting files, sort of YourProjectName.vcproj.DOMAINNAME.LOGINNAME.user or YourProjectName.csproj.user. The setting file name depends on a project kind you use
  6. Run "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" /setup or "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" /setup for x64 environment
like image 127
Anton K Avatar answered Sep 17 '22 12:09

Anton K


Just Close the VIsual Studio and start again the project.Its work Perfectly for me. Thanks

like image 38
Debendra Dash Avatar answered Sep 20 '22 12:09

Debendra Dash