Server Error in '/' Application.

The partial view 'Album' was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/Galleries/Album.aspx
~/Views/Galleries/Album.ascx
~/Views/Shared/Album.aspx
~/Views/Shared/Album.ascx
~/Views/Galleries/Album.cshtml
~/Views/Galleries/Album.vbhtml
~/Views/Shared/Album.cshtml
~/Views/Shared/Album.vbhtml

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: The partial view 'Album' was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/Galleries/Album.aspx
~/Views/Galleries/Album.ascx
~/Views/Shared/Album.aspx
~/Views/Shared/Album.ascx
~/Views/Galleries/Album.cshtml
~/Views/Galleries/Album.vbhtml
~/Views/Shared/Album.cshtml
~/Views/Shared/Album.vbhtml

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[InvalidOperationException: The partial view 'Album' was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/Galleries/Album.aspx
~/Views/Galleries/Album.ascx
~/Views/Shared/Album.aspx
~/Views/Shared/Album.ascx
~/Views/Galleries/Album.cshtml
~/Views/Galleries/Album.vbhtml
~/Views/Shared/Album.cshtml
~/Views/Shared/Album.vbhtml]
   System.Web.Mvc.PartialViewResult.FindView(ControllerContext context) +473
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +143
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +88
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +831
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +831
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +81
   System.Web.Mvc.Async.<>c__DisplayClass3_1.<BeginInvokeAction>b__5(IAsyncResult asyncResult) +185
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38
   System.Web.Mvc.<>c.<BeginExecuteCore>b__152_1(IAsyncResult asyncResult, ExecuteCoreState innerState) +26
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +67
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +36
   System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38
   System.Web.Mvc.<>c.<BeginProcessRequest>b__20_1(IAsyncResult asyncResult, ProcessRequestState innerState) +40
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +67
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +395
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +197
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +128


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2623.0