0

I am getting below error after deploying my .Net Core 6 project to my local (windows 11) IIS server: enter image description here

My configuration file :

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <location path="." inheritInChildApplications="false">
    <system.webServer>
      <handlers>
        <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
      </handlers>
      <aspNetCore processPath="dotnet" arguments=".\project.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
    </system.webServer>
  </location>
</configuration>
Suresh Kamrushi
  • 14,655
  • 12
  • 74
  • 87
  • Have you installed the [hosting bundle](https://dotnet.microsoft.com/en-us/download/dotnet/6.0) for your version of .net core? – haldo Jan 28 '22 at 12:39

0 Answers0