0

I have an app that I've been building and running in Visual Studio. I've been doing fine, until today when the deployed app suddenly won't load a specific page. When I run the app through VS in debug mode, all is well.

But when I run the app and try to load a specific page, I see the following error in the Application Event Logs:

ActionName: MapItGo_Web_App.Controllers.ShippingSchedulesController.EditRelayCalendar >(MapItGo Web App)

The view 'EditRelayCalendar' was not found.
Searched locations:
/Views/ShippingSchedules/EditRelayCalendar.cshtml,
/Views/Shared/EditRelayCalendar.cshtml,
/Pages/Shared/EditRelayCalendar.cshtml

The page exists. And like I said - when I run the app in the debugger, it runs fine. This is totally bizarre to me. It was running completely fine this morning, when I had a colleague testing that particular page out.

This app is being deployed to MS Azure.

Any ideas?

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Gregory Hill
  • 100
  • 1
  • 9
  • 2
    Don't mean to be snide; however, this points to the fact that something in Azure is not right. Rely heavily on the error message because it's right 98% of the time, it's simply telling you it cannot find the resources. If they are there, then perhaps it's an access error. The issue is in Azure after the deploy. – JWP Sep 25 '21 at 00:55

1 Answers1

0

I had tried with Asp.net core MVC application deployed using Visual Studio 2019. I am not facing any issue like Runtime Error.

Please try to clear cache the solution, rebuild the solution and try to deploy into azure. If you still have an issue please raise a support ticket New support request - Microsoft Azure

Refer for more info here

Delliganesh Sevanesan
  • 4,146
  • 1
  • 5
  • 15