Hi Support,
Yesterday, I purchased the ASPNetZero 8.1. I was trying the deploy the downloaded application to azure. I follow below link to publish the application to azure. https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Deployment-Angular-Publish-IIS
I created the WebApp in azure with RunTime Stack as .Net Core 3.0 (3.1 was not showing while creating WebApp) with OS Windows. Within this AppService, I created two slots. One for Server and One For Client. On the Server Slot, I published the Host Application and am able to see the swagger successfully. No issue till here.
Now I published and ftp the angular client on to my second slot. After publishing when I browse the client application, it throws me the following error
HTTP Error 500.0 - ANCM In-Process Handler Load Failure 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://iVendRetail.scm.azurewebsites.net/detectors and https://go.microsoft.com/fwlink/?LinkID=2028526
After doing some google, I changed the modules="AspNetCoreModuleV2" to modules="AspNetCoreModule" in web.config file. After that I started getting the following error
HTTP Error 502.5 - Process Failure
Common causes of this issue: The application process failed to start The application process started but then stopped The application process started but failed to listen on the configured port
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=808681
Could you please help me fixing the above error.
Regards, Mahendra
4 Answer(s)
-
0
hi,
You should revert back to .NET Core 3.1 because it will not work under .NET Core 3.0 environment. First of all, I see that Azure App Services still doesn't support .NET Core 3.1 see the related issue https://github.com/Azure/app-service-announcements-discussions/issues/129.
On the other hand, you shouldn't have seen the Swagger index page under these circumstances, it's weird! Can you just make it work with the Swagger working version and send us your Swagger URL and Angular URL to [email protected].
Also don't do change modules to "AspNetCoreModule" in web.config.
-
0
You mean on azure while creating the web app....I should select the Runtime Stack as 3.1. If I select 3.1 then the only OS I get is Linux and not Windows.
OR, are you saying that we should download the ASPNetZero Project that is on 3.0 and not 3.1?
-
0
let's try Linux first to understand if that works
-
0
This issue is closed because of no recent activity. Please create a new issue if you are still having this problem.