question

JoelHansen-3017 avatar image
0 Votes"
JoelHansen-3017 asked AnnaXiu-MSFT commented

Visual Studio 2019 Community won't start

I just installed Visual Studio 2019 Community and it won't start. It's crashing before even prompting to login.

Initial crashLogs1.txt attached.

I ran devenv /safemode and it crashed the same. I ran a .NET repair (https://docs.microsoft.com/en-us/dotnet/framework/install/repair) and it is now crashing the same but with new errors in the event log.

New crashLogs2.txt attached.

.Net 4.8, Win 10, relatively new install of Win10 on an SSD.

sfc /scannow didn't find anything wrong, and neither did a Malwarebytes scan.

Any ideas?

Thanks!

Joel

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

Can't seem to upload the files in Edge...

Crash Log 1:

------------ Application Error

Faulting application name: devenv.exe, version: 16.11.31624.102, time stamp: 0x61253101
Faulting module name: clrjit.dll, version: 4.8.4390.0, time stamp: 0x609c41a3
Exception code: 0xc0000005
Fault offset: 0x000168a7
Faulting process id: 0xbe8
Faulting application start time: 0x01d7a8502c521615
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clrjit.dll
Report Id: 8697f886-ce7b-4d9b-b946-772f4191cc7d
Faulting package full name:
Faulting package-relative application

0 Votes 0 ·

Crash Log 1

------------ .NET Runtime Error

Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at System.Windows.Baml2006.WpfSharedBamlSchemaContext.CreateKnownBamlType(Int16, Boolean, Boolean)
at System.Windows.Baml2006.WpfSharedBamlSchemaContext.GetKnownBamlType(Int16)
at System.Windows.Baml2006.Baml2006SchemaContext.TryGetBamlType(Int16, BamlType ByRef, System.Xaml.XamlType ByRef)
at System.Windows.Baml2006.Baml2006SchemaContext.GetXamlType(Int16)
at System.Windows.Baml2006.Baml2006Reader.Process_ElementStart()
at System.Windows.Baml2006.Baml2006Reader.Process_OneBamlRecord()
at System.Windows.Baml2006.Baml2006Reader.Process_BamlRecords()
at System.Windows.Baml2006.Baml2006Reader.Read()
at System.Xaml.XamlServices.Transform(System.Xaml.XamlReader, System.Xaml.XamlWriter, Boolean)
at System.Xaml.XamlServices.Transform(System.Xaml.XamlReader, System.Xaml.XamlWriter)
at System.Windows.SystemResources+ResourceDictionaries.LoadDictionary(System.Reflection.Assembly, System.String, System.String, Boolean, System.Uri ByRef)
at System.Windows.SystemResources+ResourceDictionaries.LoadGenericDictionary(Boolean)
at System.Windows.SystemResources.FindDictionaryResource(System.Object, System.Type, System.Windows.ResourceKey, Boolean,

0 Votes 0 ·

--------- Application error

Faulting application name: devenv.exe, version: 16.11.31624.102, time stamp: 0x61253101
Faulting module name: clr.dll, version: 4.8.4390.0, time stamp: 0x609c42a0
Exception code: 0xc0000005
Fault offset: 0x0008386b
Faulting process id: 0x2fc8
Faulting application start time: 0x01d7a8510bea5c88
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Report Id: 29f09494-870b-4a33-8b08-4c2db21626db
Faulting package full name:
Faulting package-relative application ID:

--------- .net runtime

Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an internal error in the .NET Runtime at IP 720A386B (72020000) with exit code 80131506.

0 Votes 0 ·

1 Answer

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

Hi @JoelHansen-3017 ,

Welcome to Microsoft Q&A!

Can you tell me how you start the Visual Studio? You can try to launch VS in the VS installer.

Besides, I recommend you clean your %temp% folder. Then, please check for your Windows Updates and ensure that all pending updates are installed, and kindly reboot your computer.

Sincerely,
Anna


If the answer is helpful, please click "Accept Answer" and upvote it.
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.



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

Thanks Anna for responding.
I'm up to date - I've rebooted a few times and checked for updates in between.
I've cleared my %temp% folder, rebooted, and the issue persists.

I'm launching VS via a shortcut on my taskbar which goes here:

"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe"

I've tried launching this with /safeMode but the result is the same.

Error since clearing out my temp folder is:

Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an internal error in the .NET Runtime at IP 7327386B (731F0000) with exit code 80131506.


Faulting application name: devenv.exe, version: 16.11.31624.102, time stamp: 0x61253101
Faulting module name: clr.dll, version: 4.8.4390.0, time stamp: 0x609c42a0
Exception code: 0xc0000005
Fault offset: 0x0008386b
Faulting process id: 0x57c
Faulting application start time: 0x01d7a91f190fbd64
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Report Id: 886b6fbf-557e-410a-8bf1-a2cd88dc5582
Faulting package full name:
Faulting package-relative application ID:

0 Votes 0 ·
AnnaXiu-MSFT avatar image AnnaXiu-MSFT JoelHansen-3017 ·

Hi @JoelHansen-3017, please try to enter “devenv /ResetSettings” at Developer Command Prompt to restore your Visual Studio default settings and check again.


0 Votes 0 ·

Unfortunately same error.
My previous boot drive was an NVME SSD. I've removed it, installed a Samsung 830 via Sata III and reinstalled Win 10 (fresh install, not copy).
My issues persist and I still can't launch VS 2019 Community with a similar error:

Faulting application name: devenv.exe, version: 16.11.31702.278, time stamp: 0x6131629d
Faulting module name: clr.dll, version: 4.8.4400.0, time stamp: 0x60b90414
Exception code: 0xc0000005
Fault offset: 0x0013ff37
Faulting process id: 0x6dc
Faulting application start time: 0x01d7a9b524834c6a
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Report Id: 03d34ef9-2a8d-4dbe-8461-bf01bc276f2f
Faulting package full name:
Faulting package-relative application ID:

I have 16GB of Corsair memory (2400mhz) and a Ryzen 3600 (B450m from Asrock).

0 Votes 0 ·
Show more comments