AnswerBun.com

.NET Core IIS websites stopped working HTTP Error 500.19 - Internal Server Error

Sitecore Asked by Peter Nazarov on December 25, 2020

After I updated vs2017 to the latest version this morning and uninstalled vs2019 Enterprise Preview (v16.0) and installed vs2019 Enterprise (v16.1), and installed latest Windows updates all .NET Core 2.0.0 website no longer starting.

HTTP Error 500.19 – Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.

Complaining about web.onfig file:

Specifically regarding this element:

System.Runtime.InteropServices.COMException (0x80004005): Line number: 10 Error: The configuration section ‘system.webServer/aspNetCore’ cannot be read because it is missing section definition

One Answer

I uninstalled all .NET Frameworks and installed - it fixed the problem:

Runtime 2.2.4: https://dotnet.microsoft.com/download/dotnet-core/2.2

ASP.NET Core/.NET Core: Runtime & Hosting Bundle

Answered by Peter Nazarov on December 25, 2020

Add your own answers!

Related Questions

Sitecore.Xdb.Collection.Search.Solr.Failures.SolrResponseException

0  Asked on October 18, 2020 by katlego-masanabo

   

Multiroot Treelist with datasource queries

1  Asked on September 26, 2020 by meenu-chauhan

 

Error processing block: Core.block.StartEnvironmentMinions

0  Asked on September 9, 2020 by eric-gonzalez

 

Error when trying to configure JSS connected Demo

1  Asked on July 21, 2020 by himanshu-agarwal

 

Ask a Question

Get help from others!

© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP