volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More. 

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More. 

Commerce Manager upgrade to 11.4, value cannot be null on initialization using EPiServer.Cms.UI.AspNetIdentity

Hi!

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.

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:

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

Thanks!

/Kristoffer

#185272
Nov 14, 2017 8:49
Vote:

The error was because the web.config was corrupt. Comparing web.config with QuickSilver 11.2.6 solved the problems.

/Kristoffer

#185281
Edited, Nov 14, 2017 10:34
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.
* 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.