I've deployed my Asp Net Core 2.0 app to an IIS server following this guide but I get 0x8007000d status 500 error.
According to Microsoft's support website,
This problem occurs because the ApplicationHost.config file or the Web.config file contains a malformed XML element.
But I can't understand what's wrong with it... Can you help me, please?
Here's my web.config file:
<?xml version="1.0" encoding="utf-8"?> <configuration> <system.webServer> <handlers> <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" /> </handlers> <aspNetCore processPath="dotnet" arguments=".\MyFirstAngularApp.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" /> </system.webServer> </configuration>
The best way to deal with this situation is to go step by step and comment out certain sections of web.config and application host.config file and check for application behavior.
So if the application still continues to throw an error after you have commented a section, then the error is elsewhere. Keep doing this and you will finally arrive at the section that is malformed.
User contributions licensed under CC BY-SA 3.0