my blazor web site will load but when i go to the pages will not work

Thomas Blair 5 Reputation points
2024-06-14T15:25:57.7933333+00:00

My Blazor web site starts up but when go to a page is gives me an error.

[2024-06-14T15:20:27.225Z] Information: Normalizing '_blazor' to 'https://fieldmriservice.azurewebsites.net/_blazor'.

blazor.server.js:1 [2024-06-14T15:20:27.370Z] Information: WebSocket connected to wss://fieldmriservice.azurewebsites.net/_blazor?id=hWxuOAUI3-5ZBYRAp4as2g.

blazor.server.js:1 [2024-06-14T15:20:29.531Z] Error: There was an unhandled exception on the current circuit, so this circuit will be terminated. For more details turn on detailed exceptions by setting 'DetailedErrors: true' in 'appSettings.Development.json' or set 'CircuitOptions.DetailedErrors'.

[2024-06-14T15:20:27.225Z] Information: Normalizing '_blazor' to 'https://fieldmriservice.azurewebsites.net/_blazor'.

blazor.server.js:1 [2024-06-14T15:20:27.370Z] Information: WebSocket connected to wss://fieldmriservice.azurewebsites.net/_blazor?id=hWxuOAUI3-5ZBYRAp4as2g.

Failed to load resource: the server responded with a status of 500 (Internal Server Error)

It will run fine in Visual Studio 2022

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,408 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 24,971 Reputation points Microsoft Employee
    2024-06-20T07:28:06.6233333+00:00

    @Thomas Blair , Apologies for the delayed response.

    I see that your WebApp is published and rendering correctly. Kindly share the solution that worked for you. I'll summarize it to benefit the community.

    If you need any further assistance, please let us know, we will be more than happy to assist you.

    User's image