Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
642 views
in Technique[技术] by (71.8m points)

hosting - Site refused to connect on IIS Publish

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=".logsstdout" 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

question from:https://stackoverflow.com/questions/65661472/site-refused-to-connect-on-iis-publish

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...