Site refused to connect on IIS Publish

249 Views Asked by At

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

0

There are 0 best solutions below