Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
2.7 kB
5
Indexable
Never

>An unhandled exception occurred while processing the request.
>InvalidOperationException: The view 'Index' was not found. The following locations were searched:
>/Views/Home/Index.cshtml
>/Views/Shared/Index.cshtml
>     Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult.EnsureSuccessful(IEnumerable<string>
> originalLocations)
>     
>     Stack Query Cookies Headers Routing
>     InvalidOperationException: The view 'Index' was not found. The following locations were searched: /Views/Home/Index.cshtml
> /Views/Shared/Index.cshtml
>     Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult.EnsureSuccessful(IEnumerable<string>
> originalLocations)
>     Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor.ExecuteAsync(ActionContext
> context, ViewResult result)
>     Microsoft.AspNetCore.Mvc.ViewResult.ExecuteResultAsync(ActionContext
> context)
>     Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResultFilterAsync>g__Awaited|30_0<TFilter,
> TFilterAsync>(ResourceInvoker invoker, Task lastTask, State next,
> Scope scope, object state, bool isCompleted)
>     Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed
> context)
>     Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext<TFilter,
> TFilterAsync>(ref State next, ref Scope scope, ref object state, ref
> bool isCompleted)
>     Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters()
>     Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker
> invoker, Task lastTask, State next, Scope scope, object state, bool
> isCompleted)
>     Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed
> context)
>     Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
>     Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
>     Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker
> invoker, Task task, IDisposable scope)
>     Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker
> invoker, Task task, IDisposable scope)
>     Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint
> endpoint, Task requestTask, ILogger logger)
>     Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext
> context)
>     Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext
> context)
>     Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext
> context)
Leave a Comment