Eng.Saeed
Eng.Saeed

Reputation: 191

How can I fix Visual Studio 2015 exception Microsoft.vshup.server.httphostx64.exe has stopped working when run project

I installed Visual Studio Community 2015 and I created a project, but when I run the project I get this exception:

Microsoft.vshup.server.httphostx64.exe has stopped working

I am using Windows 8.

I would appreciate it if you could help me.

Upvotes: 19

Views: 27334

Answers (12)

Ad Kahn
Ad Kahn

Reputation: 579

I was facing the same problem and resolved it by removing the VsHub directory at below location.

C:\Program Files (x86)\Common Files\Microsoft Shared\VsHub\

this is the simplest way the fix the problem, VS will recreate the directory on it need.

Upvotes: 0

Shyam Sa
Shyam Sa

Reputation: 331

I got the solution-
The crashing file is located in the following folder:

C:\Program Files (x86)\Common Files\Microsoft Shared\VsHub\1.0.0.0 It seems that the x86 version of the file does not have the same issue, so a simple fix, until a better one is officially published by Microsoft:

  • Stop Visual Studio if started rename
  • Microsoft.VsHub.Server.HttpHostx64.exe to
  • Microsoft.VsHub.Server.HttpHostx64.exe.bak Create a copy of
  • Microsoft.VsHub.Server.HttpHost.exe and rename it
  • Microsoft.VsHub.Server.HttpHostx64.exe Re-start Visual Studio

Upvotes: 0

Muhammed Saad
Muhammed Saad

Reputation: 131

I had the same issue due to corrupted drivers but it happened while debugging, I fixed it by unchecking "use hardware graphic acceleration " from Tools > options > environment and followed the steps in this post:

https://thomas-barthelemy.github.io/2015/05/01/visual-studio-vshub/

Navigate to

"C:\Program Files (x86)\Common Files\Microsoft Shared\VsHub\1.0.0.0"

  • Stop Visual Studio if started
  • rename Microsoft.VsHub.Server.HttpHostx64.exe to Microsoft.VsHub.Server.HttpHostx64.exe.bak

  • Create a copy of Microsoft.VsHub.Server.HttpHost.exe and rename it Microsoft.VsHub.Server.HttpHostx64.exe

  • Re-start Visual Studio

Upvotes: 1

user3041840
user3041840

Reputation: 422

Just Uninstall WebCompanion Lavasoft software

Upvotes: 1

Micheal P.
Micheal P.

Reputation: 55

Please try this if you want to Fix this, it's worked for me:

Microsoft.VsHub.Server.HttpHostx64.exe has stopped working

Use This Root to locate your Error : C:\Program Files (x86)\Common Files\Microsoft Shared\VsHub\1.0.0.0

enter image description here

  • Close your visual studio 2015 (if Open / started)
  • End this process from Task Manager see the image above
  • Go to this Path: C:\Program Files (x86)\Common Files\Microsoft Shared\ and Find "VsHub" and rename it. That is !! ** you are DONE !**.

This Help me to get Rid of the Problem as Fast and Possible.

Upvotes: 1

Nikolai
Nikolai

Reputation: 31

I soled the problem my installing https://www.microsoft.com/en-us/download/details.aspx?id=49138 twice (the second time choose "repair" option).

Make sure the VS is close and VSHub is not running in Task manager

Upvotes: 1

user2787096
user2787096

Reputation: 11

I was also facing similar issue.

I renamed folder named VsHub to VsHub1 (Renamed to anything)

Path: C:\Program Files (x86)\Common Files\Microsoft Shared

Now its working

i need to find whether it is affecting at any other place

Upvotes: 1

Antoine Bodart
Antoine Bodart

Reputation: 138

I searched the solution for hours in order to remove this error! The Windows updates changed nothing for me. The best way to get rid of this error is to go to C:\Program Files (x86)\Common Files\Microsoft Shared and delete or rename the folder VSHub. Hope this was helpful!

Upvotes: 9

Harm
Harm

Reputation: 173

This is a bit late, but for everyone else struggling with this, in my case this issue was solved after deleting Webcompanion from Lavasoft and removing all register entries containing Lavasoft This issue came up using VS2015 Community with Win8.1

Upvotes: 17

We have finally produced a patch for this specific problem with VSHub crashing while debugging. There may be other issues with VS2015 and this patch doesn't solve all of them, but it is aimed directly at this problem. Please give it a try.

The patch is available via http://support.microsoft.com/kb/3090034.

Note: This patch will not be necessary on systems that have installed any of the future quarterly updates to Visual Studio 2015 RTM. Quarterly updates are expected to start shipping in the future and will have this fix along with other changes. We much prefer that you use a quarterly update rather than single patches like the one I referenced. Until quarterly updates are available, however, you'll need to use this patch.

Upvotes: 3

derhexenhammer
derhexenhammer

Reputation: 1

One fast thing to try, it helped one other guy with the same issue, he posted on official microsoft help forum (when I myself googled it I got your topic and 2 from official MS help forum as top hits) AND helped me with also the same issue.

Most likely its some unwanted stuff on your PC, just use AdwCleaner or smth like that, I used that, the other guy also did some deleting though not sure if with the same soft.

Upvotes: 0

st78
st78

Reputation: 8316

Have you try this?

  • Stop Visual Studio if started
  • rename Microsoft.VsHub.Server.HttpHostx64.exe to Microsoft.VsHub.Server.HttpHostx64.exe.bak
  • Create a copy of Microsoft.VsHub.Server.HttpHost.exe and rename it Microsoft.VsHub.Server.HttpHostx64.exe
  • Re-start Visual Studio

http://thomas-barthelemy.github.io/2015/05/01/visual-studio-vshub/

Upvotes: 2

Related Questions