question

AndrBodden-0007 avatar image
1 Vote"
AndrBodden-0007 asked GaryGray-5602 answered

Visual Studio 2019 crashes on startup

Please describe the issue in 2-3 sentences. Include what you're trying to accomplish when the issue occurs.
Upon starting Visual Studio, the splash screen appears and immediately disappears. Then there's a noticeable windows 'beep' sound. Nothing happens after that.
I've tried multiple reinstallations (including installing the application to another disk) but to no avail. The issue also happened with Visual Studio 2017 (however I uninstalled this one). Visual Studio 2015 works fine.

When did it begin and how often does it occur?
This started happening yesterday when I tried to configure my system for the strong name signing of libraries. It now happens everytime and I am no longer able to start Visual Studio 2019.

What errors do you see?
Upon starting Visual Studio, the splash screen appears and immediately disappears. Then there's a noticeable windows 'beep' sound. Nothing happens after that.
In the log file, I found some errors like:

  • CreateInstance failed for package [Async Query Service Package](null)

  • CreateInstance failed for package [Task Scheduler Package](null)

  • CreateInstance failed for package [VSTelemetryPackage](null)


What's the environment and are there recent changes?
Windows 10 Professional x64 version 1809, everything worked fine until yesterday when I was trying to configure my system for strong name signing of libraries

What have you tried to troubleshoot this?

  • Multiple re-installations of Visual Studio

  • Running the .NET repair utility

  • Running SFC /scannow

  • Running DISM /Online /Cleanup-Image /RestoreHealth


vs-general
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.

AndrBodden-0007 avatar image
0 Votes"
AndrBodden-0007 answered SidneyBienvenu-6432 commented

I resolved the issue by following the thread on this location:
https://developercommunity.visualstudio.com/content/problem/643310/visual-studio-2019-or-2017-ide-is-not-displayed-ju.html

After painstaking troubleshooting this error I found out that the error ""Hash validation failed for file or assembly" was cause by the default cryptographic service provider (CSP) were change.

Executing below command on Developer Command Prompt fix it for me. This will reset the CSP to it's defaul setup.

sn -c

For me the command 'sn -c' resolved the issue and Visual Studio now starts without issues.

· 1
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.

This did not work for me. I still have no indication as to what the problem is other than the splash screen appears and that is it. Visual Studio never even appears in Task Manager.

2 Votes 2 ·
AmitKumar-5136 avatar image
0 Votes"
AmitKumar-5136 answered AmitKumar-5136 published

I am also having the same issue with visual studio 2019 . It was working fine earlier . I tried re installation and also tried installing vs 2017 but same problem.
Tried the above the solution bu that also not working for me. Please help.

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.

GaryGray-5602 avatar image
0 Votes"
GaryGray-5602 answered

another screw up by Microsoft .. very annoying.

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.