I am trying to deploy an asp.net Core app on my server IIS 2016 64 bit but it's not working. I get an HTTP Error 500.30 - ASP.NET COre app failed to start :
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
The authentication solution to my app is by SSO Windows. I worked on C# 10, .Net 6.00 on Visual Studio 2022. When I launch it on my computer directly, no error message it is working perfectly !
I have try to change the debug way OutOfProcess but it's not working. I have try to add in my Program.cs file :
builder.Logging.AddEventLog(options =>
{
options.SourceName = "Ged&Docs";
});
But it's not working. I have try to add also :
app.UseDeveloperExceptionPage()
But it's not working.
I can not change the server and I can not deploy it on Azure.
Have you an idea ? Can you help me to deploy my solution ?
Thank you so much !!