Ends in:
1 DAY
22 HRS
19 MIN
42 SEC
Ends in:
1 D
22 H
19 M
42 S
Open Closed

ABP IIS Hosting 500.30 Error #8431


User avatar
0
koraykirdinli created

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.


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    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

  • User Avatar
    0
    koraykirdinli created

    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>

Made with ❤️ on ABP v9.1.0-preview. Updated on December 02, 2024, 12:35