zoukankan      html  css  js  c++  java
  • ABP 网站发布

    报错1:HTTP Error 503. The service is unavailable.

    解决:IIS-》应用程序池-》高级设置-》进程模型-》标识。将内置账户更改为NetworkService

    原文:https://www.cnblogs.com/fri-yu/p/4078995.html

    报错2:An error occurred while starting the application.

    解决1(仅记录报错的日志):修改web.config,将配置项 stdoutLogEnabled 由 false 改为 true

      old:  <aspNetCore processPath="dotnet" arguments=".GP.Core.WebAPI.dll" stdoutLogEnabled="false" stdoutLogFile=".logsstdout" /> 

      new:<aspNetCore processPath="dotnet" arguments=".GP.Core.WebAPI.dll" stdoutLogEnabled="true" stdoutLogFile=".logsstdout" /> 

    原文:https://www.cnblogs.com/itslives-com/p/InternalServerError.html

    解决2:右键应用程序的应用程序池,高级设置,看到有一个节点叫“进程模型”,修改标示一项,为 LocalSystem

    原文:https://blog.csdn.net/zhuyu19911016520/article/details/78241825

    日志里面的报错内容:System.Data.SqlClient.SqlException (0x80131904): Cannot open database "MyABPDb2" requested by the login.

      The login failed. Login failed for user 'IIS APPPOOL est9'.

    报错3:HTTP 错误 500.19 - Internal Server Error

    解决:安装.netcore  host 版本,如:dotnet-hosting-2.1.1-win.exe

    原文:https://www.cnblogs.com/0819lsl/p/11095455.html

    报错4:HTTP 错误 500.21 - Internal Server Error

      处理程序“aspNetCore”在其模块列表中有一个错误模块“AspNetCoreModuleV2”

    解决:

    报错5:HTTP Error 502.5 - ANCM Out-Of-Process Startup Failure

    解决:

    注意:

      更改配置后 注意重启一下IIS,有时候重启一下就好了。

     

     

    测试发布环境:SQL Server 2008 R2、Windows Server 2008 R2 EnterPrise

    1、安装IIS:

      原文:https://jingyan.baidu.com/article/ad310e80eea7d71849f49e9d.html

      具体操作:在服务器界面,打开服务器管理器 ->  点击角色 -> 添加角色 -> 下一步 -> 选择Web服务器(IIS)  ->  勾选 ASP.NET 、.NET 扩展性、CGI、ISAPI 扩展、ISAPI 筛选器

      -> 然后就是一直下一步下一步,一直到完成就OK了。

    2、安装 dotnet-core 所需要的环境:

       根据自己情况选择:https://dotnet.microsoft.com/download/dotnet-core

      aspnetcore-runtime-2.2.8-win-x86.exe

      dotnet-hosting-2.2.8-win.exe

      dotnet-sdk-2.2.207-win-x86.exe

  • 相关阅读:
    Python—设计模式
    Python—操作系统和多线程
    thin mission 2021 11 3
    搜索
    c++ 调试
    Lecture--words families
    高数--积分
    thin mission 2021.11.2
    tiny mission 2021.11.1
    zlib使用心得
  • 原文地址:https://www.cnblogs.com/guxingy/p/11974834.html
Copyright © 2011-2022 走看看