question

KiranKapadia-1792 avatar image
0 Votes"
KiranKapadia-1792 asked AnnaXiu-MSFT answered

Issues with PC after installing VS Community 2022 Preview 17.2.0 Preview 5.0

I have now installed VS 2022 Preview on 2 PCs with exactly the same issue. After installation my Event Viewer has issues. It displays MMC could not create the snap-in. The snap-in might not have been installed correctly. Name: Event Viewer, CSID: FX:{b05566ad-fe9c-be05-7a4cbb7cb510}.

Now I can't install or uninstall any software on these PCs and installation & uninstall of any software starts and fails.

When starting VS 2022, error message as follows: Could not start visual studio due to an error Microsoft.ServiceHubClient.ControllerConnectionException: Controller terminated before accepting connections. Exit code: -53.2462766.

Is this a VS 2022 Preview installation issue?

vs-setup
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, what is your Windows version? We need some additional information to investigate the issue further. Please download and run this collect.exe tool, go to %temp% folder and find the vslogs.zip file, upload it to https://onedrive.live.com/ and share the link here.


0 Votes 0 ·

Hi AnnaXiu

Thank you. I'm using Win 10 Pro. Before I installed, I updated both the PCs with all the latest updates as I hadn't used the PCs for sometime. Now I wonder whether the updates caused a problems but thinking about it more, I can't install or uninstall any software on the PCs now but given I was able to install VS2022 preview after the update, it could be the combination that cause it else just caused by VS2022 Preview.

Here's link to vslogs.zip

https://1drv.ms/u/s!AgzfXwepnJoFn1PBpN0UHnFzuR5B?e=rBhgeB

0 Votes 0 ·

1 Answer

AnnaXiu-MSFT avatar image
0 Votes"
AnnaXiu-MSFT answered

Hi @KiranKapadia-1792 ,

I suppose it is caused by Microsoft.ServiceHub.Controller.exe. You could see the following ticket:
https://developercommunity.visualstudio.com/t/Continuous-high-CPU-usage-by-MicrosoftS/1704497?space=8&q=Microsoft.ServiceHubClient.ControllerConnectionException

It looks like it will be fixed in 17.3 Preview 1. I recommend you add comments in that ticket and track the process.

Besides, if you couldn't install and uninstall any software, you could try to use the InstallCleanup.exe to uninstall all VS and check if it unlocks.
https://docs.microsoft.com/en-us/visualstudio/install/uninstall-visual-studio?view=vs-2022#remove-all-with-installcleanupexe

Sincerely,
Anna


If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.




5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.