Sitecore Commerce 8.2.1 issues with Windows 10 Fall Creators update (build 1709)


Description

Sitecore Commerce 8.2.1 has a compatibility problem with Windows 10 Fall Creators update (build 1709). After upgrading Windows to this version, you see the following exceptions when opening your Sitecore site or performing other operations related to the Commerce Server profile system:

[COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.]
 CommerceServer.Core.Interop.Profiles.ProfileServiceClass.Initialize(String sConfigStore, String sCatalog) +0
 CommerceServer.Core.Runtime.Profiles.ProfileContext..ctor(String profileServiceConnectionString, String providerConnectionString, String  ConnectionString, DebugContext debugContext) +808
 
[CommerceProfileSystemException: Failed to initialize profile service handle.]
 CommerceServer.Core.Runtime.Profiles.ProfileContext..ctor(String profileServiceConnectionString, String providerConnectionString, String bdaoConnectionString, DebugContext debugContext) +1385
 CommerceServer.Core.Runtime.CommerceContextFactory.CreateProfileContext() +939
 CommerceServer.Core.Runtime.CommerceContextFactory.get_ProfileContextSingleton() +116
 CommerceServer.Core.Runtime.Profiles.CommerceProfileModule.get_ModuleProfileContext() +129
 CommerceServer.Core.Runtime.Profiles.CommerceProfileModule.get_ProfileContext() +178
 Sitecore.Commerce.Connect.CommerceServer.Pipelines.CommerceProfileProcessor.Begin(CommerceProfileModule module) +25
 Sitecore.Commerce.Connect.CommerceServer.Pipelines.CommerceBaseModuleProcessor`1.BeginRequest(PipelineArgs args) +92
 Sitecore.Commerce.Connect.CommerceServer.Pipelines.CommerceBaseModuleProcessor`1.Init(PipelineArgs args) +176
 (Object , Object[] ) +74
 Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +469
 Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +22
 Sitecore.Nexus.Web.HttpModule.Application_Start() +288
 Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +670
 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +581
 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172
 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +418
 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +369
 
[HttpException (0x80004005): Failed to initialize profile service handle.]
 System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +534
 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +111
 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +718

Solution

To resolve the issue, consider one of the following options:

Notes