I got the similar problem with another server, and we had fixed it. (Previous issue : https://abp.io/support/questions/8088/ABP-IIS-Hosting-Problem) But now we try to install it another server but we got the IIS 500.30 error (Api project) from iis . Out stdout log cannot write so we do not know the details.
- ABP Framework version: .NET 8.0.10
- UI Type: Angular
- Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
- Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
- Exception message and full stack trace:
EVENT LOGS Application '/LM/W3SVC/2/ROOT' with physical root 'C:\inetpub\wwwroot\xxxxxApi' has exited from Program.Main with exit code = '1'. Please check the stderr logs for more information.
Application '/LM/W3SVC/2/ROOT' with physical root 'C:\inetpub\wwwroot\xxxxxxApi' failed to load coreclr. Exception message: CLR worker thread exited prematurely
IIS LOGS 2024-12-04 10:14:34 ::1 GET / - 44368 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/131.0.0.0+Safari/537.36+Edg/131.0.0.0 - 500 30 574 11 2024-12-04 10:14:34 ::1 GET / - 44368 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/131.0.0.0+Safari/537.36+Edg/131.0.0.0 - 500 30 574 3 2024-12-04 10:14:34 ::1 GET / - 44368 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/131.0.0.0+Safari/537.36+Edg/131.0.0.0 - 500 30 574 23 2024-12-04 10:14:34 ::1 GET /favicon.ico - 44368 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/131.0.0.0+Safari/537.36+Edg/131.0.0.0 https://localhost:44368/ 500 30 574 2 2024-12-04 10:14:34 ::1 GET /favicon.ico - 44368 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/131.0.0.0+Safari/537.36+Edg/131.0.0.0 https://localhost:44368/ 500 30 574 4 2024-12-04 10:14:34 ::1 GET /favicon.ico - 44368 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/131.0.0.0+Safari/537.36+Edg/131.0.0.0 https://localhost:44368/ 500 30 574 0
- Steps to reproduce the issue: We have 4 seperate project ; Api, AuthServer, UI and batch. Now Api and auth project got this error.
7 Answer(s)
-
0
hi
Please check and share the stderr logs .
https://abp.io/docs/latest/solution-templates/layered-web-application/deployment/deployment-iis?UI=NG&DB=EF&Tiered=Yes#how-to-get-stdout-log
-
0
Offcource I tried to open stdout log but the log cannot be written. My config is right below.
<?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="dotnet" arguments=".\xxxx.HttpApi.Host.dll" stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" /> </system.webServer> </location> <system.webServer> <httpProtocol> <customHeaders> <remove name="x-powered-by" /> </customHeaders> </httpProtocol> <modules> <remove name="WebDAVModule" /> </modules> </system.webServer> </configuration>
-
0
hi
Can you try to run the
dotnet xxxx.HttpApi.Host.dll
command in your website folder and check the output? -
0
-
0
hi
You can zip your project and share it with me. I will check the DLL file.
liming.ma@volosoft.com
-
0
Hi, I found the problem. Is is about Redis. If ABP cannot connect to Redis then it does not write any log. It is wierd , I think it is a bug of ABP Framework.
-
0
hi
Can you share the source code of your
Program.cs
?