After upgrading the Episerver.Find.Cms to 14.1.0 version and accessing the CMS throws 500 error

Vote:
 

I have upgraded the version from 14.0.4 to the 14.1.0 and made sure the configuration right. After that now accessing the Search and Naviagtion on the CMS is throwing 500 error. Here is the error logs i have found. Has anyone faced the same issue. 

Category: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer
EventId: 2
SpanId: ef78f6a4fac6a741
TraceId: 76353946390f3b4ab04960a4a6402e64
ParentId: 0000000000000000
RequestId: 8000007b-0000-fe00-b63f-84710c7967bb
RequestPath: /EPiServer/Find/

Connection ID "18302628887244308559", Request ID "8000007b-0000-fe00-b63f-84710c7967bb": An unhandled exception was thrown by the application.

Exception: 
System.InvalidOperationException: The view 'FindBootstrapper' was not found. The following locations were searched:
Find.Views/Views/Find/FindBootstrapper.cshtml
/CmsDefault/Find.Views/Views/Find/FindBootstrapper.cshtml
Find.Views/Views/Shared/FindBootstrapper.cshtml
/CmsDefault/Find.Views/Views/Shared/FindBootstrapper.cshtml
Find.Views/Pages/Shared/FindBootstrapper.cshtml
/CmsDefault/Find.Views/Pages/Shared/FindBootstrapper.cshtml
Find.Views/Util
/CmsDefault/Find.Views/Util
Find.Views/Views/Shared/ElementBlocks/FindBootstrapper.cshtml
/CmsDefault/Find.Views/Views/Shared/ElementBlocks/FindBootstrapper.cshtml
Find.Views/FormsViews/Views/ElementBlocks/FindBootstrapper.cshtml
/CmsDefault/Find.Views/FormsViews/Views/ElementBlocks/FindBootstrapper.cshtml
Find.Views/Views/Shared/Blocks/FindBootstrapper.cshtml
/CmsDefault/Find.Views/Views/Shared/Blocks/FindBootstrapper.cshtml
Find.Views/Views/Shared/PagePartials/FindBootstrapper.cshtml
/CmsDefault/Find.Views/Views/Shared/PagePartials/FindBootstrapper.cshtml
Find.Views/Areas/Find/Views/Find/FindBootstrapper.cshtml
/CmsDefault/Find.Views/Areas/Find/Views/Find/FindBootstrapper.cshtml
Find.Views/Areas/Find/Views/Shared/FindBootstrapper.cshtml
/CmsDefault/Find.Views/Areas/Find/Views/Shared/FindBootstrapper.cshtml
   at Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult.EnsureSuccessful(IEnumerable`1 originalLocations)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor.ExecuteAsync(ActionContext context, ViewResult result)
   at Microsoft.AspNetCore.Mvc.ViewResult.ExecuteResultAsync(ActionContext context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResultFilterAsync>g__Awaited|29_0[TFilter,TFilterAsync](ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Geta.NotFoundHandler.Infrastructure.Initialization.NotFoundHandlerMiddleware.InvokeAsync(HttpContext context, RequestHandler requestHandler)
   at EPiServer.Middleware.InitializeOnFirstRequestMiddleware.InvokeAsync(HttpContext httpContext)
   at EPiServer.Framework.DependencyInjection.Internal.VisitorGroupMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync()

#285638
Aug 16, 2022 19:43
Vote:
 

Lingering dll maybe? did you try removing bin/obj and modules folder and then rebuilding?

Also try reinstall nuget packages.

#285946
Aug 22, 2022 9:43
Vote:
 

I think there is a known bug if you run on .net 5 becasue they Views dll is missing from the nuget package.  Either downgrade or target net 6.

#285956
Aug 22, 2022 16:05
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.