0

This is the first time I have launched an ISS Windows Server 2016 and an ASP.NET application.

Any clues on what is needed to be done to get this app running?

<code>enter image description here</code>

Here is my web.config 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=".\Groliapp.exe" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />

    </system.webServer>
  </location>
</configuration>
<!--ProjectGuid: 06d4355d-1388-4f21-88d8-c0b4afb3c673-->
jkdev
  • 11,360
  • 15
  • 54
  • 77
Joshua Trimm
  • 63
  • 2
  • 13
  • 1
    This error can be a red herring. You'll often see it when there's nothing wrong with your web.config file. Check to be sure you have installed .net-core. Often you assume that .net is enough, but you need to download/install .net-core specifically. – pcalkins Dec 19 '19 at 21:22
  • 1
    @pcalkins You are my hero! Thank you! It worked! Now I just have to debug the program to get the database connection working properly. – Joshua Trimm Dec 19 '19 at 21:42
  • Does this answer your question? [How do I configure a .net core API to work in IIS?](https://stackoverflow.com/questions/50612351/how-do-i-configure-a-net-core-api-to-work-in-iis) – Lex Li Dec 20 '19 at 03:24

1 Answers1

-1

Usually when you do not have the .NET Core Runtime installed in your server, this error could happen. Did you already install the .NET Core Runtime in your server? In case you did not installed yet, here is the link to download.

https://dotnet.microsoft.com/download/dotnet-core/current/runtime