首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >HTTP错误502.3 iis 10

HTTP错误502.3 iis 10
EN

Stack Overflow用户
提问于 2017-04-15 14:28:32
回答 1查看 705关注 0票数 1

我在运行asp.net核心应用程序的iis 10上遇到以下错误

代码语言:javascript
运行
复制
HTTP Error 502.3 - Bad Gateway
The specified CGI application encountered an error and the server terminated the process.

并在事件查看器中显示以下错误

代码语言:javascript
运行
复制
Maximum rapid fail count per minute of '10' exceeded.

我还将stdout设置为true,但没有日志

我的计算机上安装了以下dotnet包

当我在服务器上使用dotnet myapp.dll运行应用程序并浏览本地主机:5000(启用日志)进行调试时,在显示一些正常的调试和信息日志后,它一直在等待,什么也没有发生

下面是安装在我的服务器上的dotnet包。此外,如果我的服务器与运行最新的windows server 2016相关,则会将其加入域中

我的web.config是

代码语言:javascript
运行
复制
 <system.webServer>
      <httpProtocol>
      <customHeaders>
       <add name="Access-Control-Allow-Origin" value="*" />
        <remove name="X-Powered-By" />
      <clear />       </customHeaders>
    </httpProtocol>
    <handlers>
      <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
    </handlers>
    <aspNetCore processPath="dotnet" arguments=".\NashrNegar.UI.dll" forwardWindowsAuthToken="true" stdoutLogEnabled="false" stdoutLogFile="C:\logs\" />
    <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="300000000" />
      </requestFiltering>
    </security>   </system.webServer>

有什么问题或建议吗?

EN

回答 1

Stack Overflow用户

发布于 2017-11-03 05:49:34

检查服务器上的.net核心版本。如果应用程序是在.net 1.1.2上构建的,并且服务器使用的是.net核心2.0,那么它将无法工作。您将需要下载应用程序的构建版本。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/43422969

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档