1. damian jimenez
  2. PowerServer
  3. Friday, 14 July 2023 15:18 PM UTC

i had a trouble with Powerbuilder 2022R2 when i tried to hosting the web api iin IIS.
i set the the option stdoutLogEnabled in true in web.config  and get the rror attached 

When i try to get access to the web page i get the error 500.30 

HTTP Error 500.30 - ASP.NET Core app failed to start

Common solutions to this issue:

  • The app failed to start
  • The app started but then stopped
  • The app started but threw an exception during startup

Troubleshooting steps:

  • Check the system event log for error messages
  • Enable logging the application process' stdout messages
  • Attach a debugger to the application process and inspect

For more information visit: https://go.microsoft.com/fwlink/?LinkID=2028265




Some body can help me ? 
thanks a lot 


Attachments (1)
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Friday, 14 July 2023 15:51 PM UTC
  2. PowerServer
  3. # 1

Hi Damian,

 

Make sure that you have the ASP.NET Core Hosting Bundle installed on the server. This is the component that enables IIS to run ASP.NET Core applications.
https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/hosting-bundle?view=aspnetcore-7.0

 

Regards,
Francisco

Comment
  1. damian jimenez
  2. Friday, 14 July 2023 19:57 PM UTC
ohh could I install 7.0? I was using version 6.0.XX (6.0.20 more precisely). I'll try



The problem was already solved, I had written an unrecognized word in logging.json. type "deploy" instead of "debug" to see the log

modifying this value with the IIS stopped, it ran again successfully



thanks a lot
  1. Helpful 2
  1. Francisco Martinez @Appeon
  2. Friday, 14 July 2023 19:59 PM UTC
You can install 7.0, it's backwards compatible with 6.0, so if you're running a .NET 6.0 Web API either 6 o 7 will work
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.