502 Bad Gateway Error

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
aspsteve
User
Posts: 52

502 Bad Gateway Error

Post by aspsteve »

I just upgraded to asp.net maker 2023 and sfter generating my code, I get the following error (502 Bad Gateway) when I try to add an ew record to an existing table and then get logged out.

Steve


MichaelG
User
Posts: 1095

Post by MichaelG »

It may be a server issue. Are you running on localhost or a remote server? Enable debug / Log to file (Tools -> Advanced Settings -> Debug / Log to file) and check your log file to see if it gives you any hints.


aspsteve
User
Posts: 52

Post by aspsteve »

We have done all the troubleshooting we can on both local and remote servers and are still getting this issue.

Any assistance will be appreciated.

2022 works without any issues, so it is confusing why 2023 is not working on the same platform (local and remote machines).


MichaelG
User
Posts: 1095

Post by MichaelG »

Did you use .NET 7 for your v2023 project? If so, are you sure you have .NET runtime and hosting bundle (assume you use IIS) installed on your server?


aspsteve
User
Posts: 52

Post by aspsteve »

Thank you for the recommendation.

After installing .net7 and changing the framework under advanced settings to 7.0 the issue was resolved.


Post Reply