Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET debug fails to start google chrome - error crome.exe 0xc0000142

When I try to start debugging my ASP.NET application with google chrome. Chrome failed with the code 0xc0000142. Debugging with other browsers works. I have set Chrome as my default browser, and has not observed any other problems. Only Visual Studio seems to have problems with my chrome browser.

Any advise is appreciated. Best regards, Kaj Bromose

like image 583
bromose Avatar asked Dec 31 '25 16:12

bromose


2 Answers

1. Make sure you close all running programs.

2. Right click on the Google Chrome icon at your desktop or Start Menu and select Properties.

3. Go to the Shortcut tab if you’re not already there, add the switch at the end of the target. By default the last character is double quote, so you’ll need to add a space then followed by --no-sandbox OR --in-process-plugins. Do take note that there is two dashes.

chrome no sandbox shortcut

Chrome

4. Now run Google Chrome as normal. You won’t see the 0xc0000142 or 0xc0000005 crash popup anymore.

References: https://www.raymond.cc/blog/fix-google-chromeexe-the-application-failed-to-initialize-properly-0xc0000142/

like image 88
Vishwa Ratna Avatar answered Jan 03 '26 12:01

Vishwa Ratna


I have found the root cause.

After disabling Kaspersky Internet Security (completely, and disable after restart), and a restart. Opening Chrome from Visual Studio works again.

like image 41
bromose Avatar answered Jan 03 '26 12:01

bromose



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!