Edit Web.config file

0

I have the following webconfig file produced by visual studio 2017 on a .net core application

<?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=".\SportsStore.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />
    </system.webServer>
</configuration>

<!--ProjectGuid: 5795049b-4d7e-4559-9010-f9134df11849-->

Although the publish succeed I get the following on the web page

Detailed Error Information:
Module
   IIS Web Core
Notification
  BeginRequest
Handler
  Not yet determined
Error Code
  0x8007000d
Config Error

Config File
   \\?\C:\inetpub\wwwroot\sportstore\web.config
Requested URL
   http://localhost:80/sportstore
Physical Path
   C:\inetpub\wwwroot\sportstore
Logon Method
  Not yet determined
Logon User
 Not yet determined
Config Source:
 -1: 
  0: 

Because I have already work only on apache and the build in IIS express of visual studio I do not know where to start from. Internet has plethora of info and I tried many things but nothing.

Any suggestion?

iis
asp.net-core
.net-core
asked on Stack Overflow Feb 21, 2018 by konstantinos Dms • edited Feb 21, 2018 by abatishchev

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0