I have configured an .Net application in IIS, while launching the application I'm receiving an error as "500.19- internal server error The requested page cannot be accessed because the related configuration data for the page is invalid." with error code 0x8007000d. This is my web.config file
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<aspNetCore>
<environmentVariables>
<clear />
<environmentVariable name="ASPNETCORE_ENVIRONMENT"
value="Development" />
</environmentVariables>
</aspNetCore>
</system.webServer>
</configuration>
I have installed all the prerequisite Installed the .Net framework 4.5.1 Installed the URL rewrite Tried with the iis_iusrs permissions Installed the web hosting bundle
Could you please help me to resolve this error. I'm stuck here.