I have an internal server error at my .netcore web-service launch. Tuesday morning, the web-service was lauching well, Tuesday afternoon a windows update has been installed (KB4570720 package), Wednesday I have this 500 error...
The IIS error page tell me :
And IIS log event has this specific error :
Could not load configuration. Exception message: Unable to get required configuration section 'system.webServer/aspNetCore'. Possible reason is web.config authoring error.
This my web.config, I don't see what's wrong.
<?xml version="1.0" encoding="utf-8"?> <configuration> <system.webServer> <handlers> <remove name="aspNetCore" /> <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" /> </handlers> <aspNetCore processPath="dotnet" arguments=".\loemail.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="InProcess"> <environmentvariables /> </aspNetCore> <httpErrors errorMode="Detailed" /> </system.webServer> </configuration>
I have another .netcore application running on this server, so I excluded issues with the .net framework version but maybe I'm wrong ? How could I check that ? Both uses 2.2 .Net Framework.
Should I remove the last windows update package ?
I take any ideas ;) Thanks !
User contributions licensed under CC BY-SA 3.0