0

I am publishing an ASP.Net Core 3.0 application in IIS. My publish profile looks like publish profile

This is how my web.config file is in publish folder

<?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=".\Application.exe" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
    </system.webServer>
  </location>
</configuration>

In IIS, I created an Application Pool, set its CLR Version to No Managed Code, created a site with newly added Application pool and pointed towards folder in which file was published . I have hosting bundled installed hosting bundle

When I browse application through IIS, error

Url is redirected to login page but error is shown. Thanks in advance !!

Edit 1: On viewing Asp.Net Core Diagnostics from Jexus Manager

view in jexus manager

Edit 2: On viewing Asp.Net Core Diagnostics from Jexus Manager (IIS) enter image description here

Edit 3:Binding diagnostics: enter image description here

11
  • If you run the report, the cause should be clear, docs.jexusmanager.com/tutorials/ancm-diagnostics.html
    – Lex Li
    Commented Jan 11, 2021 at 7:50
  • @LexLi, ASP.NET Core module is not installed as part of IIS is shown but as you can see in the image above, module is installed. Commented Jan 11, 2021 at 14:54
  • Edit the question to include the report.
    – Lex Li
    Commented Jan 11, 2021 at 15:10
  • @LexLi have a look Commented Jan 11, 2021 at 15:16
  • Note that you didn’t run the report against your IIS site, but an IIS Express site.
    – Lex Li
    Commented Jan 11, 2021 at 15:28

0

Browse other questions tagged or ask your own question.