Base solution for your next web application
Open Closed

ASP.NET Zero Angular Front-end is throwing a internal server error #9116


User avatar
0
andry3ag created

Hi Team,

We have recently download the ASP.Net Core 3x with Anguylar 9.x (version 8.6) and we deployed the DB on Sql Azure. I added a few pages on the front end and I followed the deployedment documentaion in the folllwoing link https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Deployment-Angular-Publish-Azure

I created 2 web apps as stated by the documentation and it was working. After that I added a new page and ran the exact process as stated by documentation but I started to get "The page cannot be displayed because an internal server error has occurred." when I navigate to the front end web app. After that I removed the newly added pages and reverted to the point where it was working. But now no mmater what I keep getting the same "The page cannot be displayed because an internal server error has occurred." error when I navigate to website for front end. I have also added remote debuggin to the back-end and see if the application breaks on the startup.cs class or any of the API end points but I have not had any success. I was wondering if there is setting or something I can set to see more information. Or even setup debuggin on front end. Just seeing the "The page cannot be displayed because an internal server error has occurred." error does not tell my anyting about where the problem is happending. Was wondering if you had any suggestions or if you have seen similar problmes before.

Thank you for your time


2 Answer(s)
  • User Avatar
    0
    andry3ag created

    Also I forgot to mention that everthing works locally. Its only when I try to open the website on azure after transefring the files to server via FTP that I see the error.

  • User Avatar
    0
    maliming created
    Support Team

    The page cannot be displayed because an internal server error has occurred.

    hi

    Can you view the logs of the application?