We upgraded Commerce to 11.4 and implemented EPiServer.Cms.UI.AspNetIdentity on the login page.
That gave us this exception:
[ArgumentNullException: Värde får inte vara null.
Parameternamn: virtualPath]
EPiServer.Shell.ShellInitialization.WaitForInitializeModules() +153
EPiServer.Shell.<>c__DisplayClass11_0.
Telling me to remove EPiServer.Cms.UI.AspNetIdentity.dll. If I remove it, my project wont compile. If I remove these: EPiServer.Cms.Shell.UI.dll EPiServer.UI.dll EPiServer.Shell.UI.dll EPiServer.Shell.dll
It fails because EPiServer.Cms.UI.AspNetIdentity.dll requires them.
Maybe you cant use EPiServer.Cms.UI.AspNetIdentity.dll in the Commerce Manager?
The Login.aspx.cs looks like this:
using Designonline.Shared.Identity;
using EPiServer.Cms.UI.AspNetIdentity;
using Microsoft.AspNet.Identity.Owin;
using System;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Designonline.Manager
{
///
///
public partial class Login : Page
{
private const string UserLoginFailureMessage = "Login failed. Please try again.";
private ApplicationSignInManager
error This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
Hi!
We upgraded Commerce to 11.4 and implemented EPiServer.Cms.UI.AspNetIdentity on the login page.
That gave us this exception:
I then fond this article:
https://episerver.zendesk.com/hc/en-us/articles/115004119606-Shell-Initialization-Errors-in-Commerce-Manager-When-Updated-to-v10
Telling me to remove EPiServer.Cms.UI.AspNetIdentity.dll. If I remove it, my project wont compile. If I remove these:
EPiServer.Cms.Shell.UI.dll
EPiServer.UI.dll
EPiServer.Shell.UI.dll
EPiServer.Shell.dll
It fails because EPiServer.Cms.UI.AspNetIdentity.dll requires them.
Maybe you cant use EPiServer.Cms.UI.AspNetIdentity.dll in the Commerce Manager?
The Login.aspx.cs looks like this:
Thanks!
/Kristoffer