HTTP Dot Net Core 2.2 Error 500.30 - ANCM In-Process Start Failure


When developing in .Net Core 2.2 sometimes when there is a configuration error, the debugger fails to attach to the Server process.

 
Solution:
  1. Check in the appsettings.json of anything that you added, normally if there is an error, you will see a squiggly line on it. 
    - Best practice, code in chunks and see if it breaks anything. I mean to write one line of code and check if it passes or no errors happen. Normally this is how development is done when you are learning a new technology on the block.
  2. This might be due to the mix of libraries from other versions of .Net Core e.g. If you attempted to upgrade ASP.Net Core 2.2 to version 3.1 all library dependencies are supposed to be upgraded as well.
  3. Make sure that you do not have any duplicates of dependencies in the Dependency Injection Container in startup.cs.
  4. Visit this link here to Microsoft troubleshoot page for known errors 

 





John said:

Thank you.

Posted On: January 01, 2020 14:27:08 PM

© 2024 - ErnesTech - Privacy
E-Commerce Return Policy