How to fix the 500.19 - Internal server error with error code 0x8007000d

0

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.

iis-8
asked on Stack Overflow Apr 16, 2019 by Dharani S

2 Answers

1

I struggled on this error for longer than I should have.

Installing the URL rewriting module via web platform installer instantly solved the issue for me.

Just install this: https://www.iis.net/downloads/microsoft/url-rewrite

answered on Stack Overflow Oct 4, 2019 by Sharkz
0

Delete the space in front of the XML Declaration (the first line) and try again. If that doesn't work, then be sure to post all relevant details of the error message. Your error page likely tells you precisely what line your error is line.

answered on Stack Overflow Apr 16, 2019 by Rich-Lang

User contributions licensed under CC BY-SA 3.0