Web Api server publishing problem record

server information:

System: Windows Server 2008 R2

mistake:

  1. Connection id “0HMGNTPDIIA4M“.Request id “0HMGNTPDIIA4M:00000002“:An unhandled exception was thrown
    Insert image description here
    Manually click on the exe file under publish and find that it can run, but the port is the default 5000 and is not the website port opened by myself, because when the server was deployed, I directly placed the publish folder under the website folder, causing the path to become "root/publish" /*", put the files in the publish folder under the target path or modify the path in IIS and log in to solve the problem.

The following blogs are blogs that solve this type of problem. If my situation does not meet my situation, you can refer to the link below.

Connection id “0HMGNTPDIIA4M“.Request id “0HMGNTPDIIA4M:00000001“:An unhandled exception was thrown

Ocelot.Authorization.Middleware.AuthorizationMiddleware[0] requestId: 0HMJ300E5APNA:00000002…

HTTP 500 – Internal server error

  1. Mysql SSL Authentication Error

mysql ssl error_.net core 3.1 failed to connect to mysql, prompting SSL authentication error

SSLMode=noneAs mentioned in the article, the MysqlData version (8.0.8 and above) automatically turns on SSL verification, so you can log in smoothly by adding statements in appsettingjson.

Guess you like

Origin blog.csdn.net/qq_41059339/article/details/127057540