Which version of Optimizely CMS 12 have you upgraded too
Have you checked the modules folder that the packages have been restored correctly. Try dotnet restore
Could you try downgrading your version of Optimizely Forms to an earlier version.
https://devblog.gosso.se/2021/11/upgrading-episerver-cms-11-to-optimizely-cms-12-porting-to-net-5/
We are referring to this article to perform our upgradation. We upgraded our CMS to version 12.0.3.
Tried dotnet restore, clean and rebuild solution still the same.
We are using the earliest version of Episerver.Forms 5.0.0 which compatbile with net5.
Any new ideas?
Yi Hao, Could you perhaps upgrade straight to latest on all packages and install .net6 sdk on your local ?
Remember to delete your modules/_protected, bin and obj folder to give it a good clean out.
I'm having a look at the Forms packages and cant seem to find Bootstrapper.cshtml in any of these are you sure its not part of any bespoke development or another package that was not migrated over ?
An example I have is with Episerver.Samples not migrated to .Net 5/6 when upgrading our solution we had a lot of issues with the visitor groups and some other form fields that were provided as part of this package
Have you installed AddOn.Episerver.Settings ?
Have a look at this issue : https://github.com/LinusEkstrom/AddOn.Episerver.Settings/issues/37
Hi all,
Need help with below issue. Currently im upgrading CMS 11 to 12 and facing this error when opening the CMS site:-
An unhandled exception occurred while processing the request.
InvalidOperationException: The view 'Bootstrapper' was not found. The following locations were searched:
CmsUIViews/Views/Shared/ElementBlocks/Bootstrapper.cshtml
CmsUIViews/FormsViews/Views/ElementBlocks/Bootstrapper.cshtml
CmsUIViews/Views/Pages/DefaultShellModule.cshtml
Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult.EnsureSuccessful(IEnumerable<string> originalLocations)
Stack Query Cookies Headers Routing
InvalidOperationException: The view 'Bootstrapper' was not found. The following locations were searched: CmsUIViews/Views/Shared/ElementBlocks/Bootstrapper.cshtml CmsUIViews/FormsViews/Views/ElementBlocks/Bootstrapper.cshtml CmsUIViews/Views/Pages/DefaultShellModule.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|29_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|24_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.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
QDX.Business.Services.HttpExceptionMiddleware.Invoke(HttpContext context) in HttpExceptionMiddleware.cs
+
await this.next.Invoke(context);
Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
https://world.optimizely.com/forum/developer-forum/CMS/Thread-Container/2022/6/cant-go-to-the-cms--bootstrapper-aspx-not-found/
Tried the solutions from above link and still could not fixed.