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.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

7 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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • 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>

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you try to run the dotnet xxxx.HttpApi.Host.dllcommand in your website folder and check the output?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    koraykirdinli created

    Hi, There is no action when I run the command at server cmd.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can zip your project and share it with me. I will check the DLL file.

    liming.ma@volosoft.com

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    koraykirdinli created

    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.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you share the source code of your Program.cs ?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.