简体   繁体   English

Sitecore Commerce Server无法记录事件

[英]Sitecore Commerce Server was unable to log an event

I am trying to install Sitecore Commerce Server 11.3 + Sitecore 8.1. 我正在尝试安装Sitecore Commerce Server 11.3 + Sitecore 8.1。 I am following all steps from dev.sitecore.net. 我正在关注dev.sitecore.net的所有步骤。 When I install it on Windows 10, everything is ok, I am able to connect Sitecore with Commerce server. 当我在Windows 10上安装它时,一切正常,我能够将Sitecore与Commerce服务器连接。 But when I do same steps on Windows 2008 R2 但是,当我在Windows 2008 R2上执行相同的步骤时

Commerce Server was unable to log an event. Commerce Server无法记录事件。 Please make sure that the identity of the Commerce Server Event Logging COM+ application is an account that has permissions to log events (the Component Services MMC can be used to configure this). 请确保Commerce Server事件记录COM +应用程序的标识是具有记录事件的权限的帐户(可以使用组件服务MMC来配置它)。

Stack Trace: [COMException (0x80070006): Commerce Server was unable to log an event. 堆栈跟踪: [COMException(0x80070006):Commerce Server无法记录事件。 Please make sure that the identity of the Commerce Server Event Logging COM+ application is an account that has permissions to log events (the Component Services MMC can be used to configure this).] System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +14579646 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +622 CommerceServer.Core.Configuration.ISiteConfigReadOnly.Initialize(String bstrSiteName) +0 CommerceServer.Core.Runtime.Configuration.CommerceResourceCollection..ctor(String siteName) +227 CommerceServer.Core.Runtime.CommerceApplicationModule.InitializeApplication() +587 CommerceServer.Core.Runtime.CommerceApplicationModule.Init(HttpApplication appInstance) +160 Sitecore.Commerce.Connect.CommerceServer.Pipelines.CommerceBaseModuleProcessor`1.Init(PipelineArgs args) +143 (Object , Object[] ) +83 Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +445 Sitecore.Nexus.Web.HttpModule.Application_S 请确保Commerce Server事件记录COM +应用程序的标识是一个具有记录事件权限的帐户(可以使用组件服务MMC来配置它)。] System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg,IMessage retMsg)+14579646 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&msgData,Int32 type)+622 CommerceServer.Core.Configuration.ISiteConfigReadOnly.Initialize(String bstrSiteName)+0 CommerceServer.Core.Runtime.Configuration。 CommerceResourceCollection..ctor(String siteName)+227 CommerceServer.Core.Runtime.CommerceApplicationModule.InitializeApplication()+ 587 CommerceServer.Core.Runtime.CommerceApplicationModule.Init(HttpApplication appInstance)+160 Sitecore.Commerce.Connect.CommerceServer.Pipelines.CommerceBaseModuleProcessor` 1.Init(PipelineArgs args)+143(Object,Object [])+83 Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)+445 Sitecore.Nexus.Web.HttpModule.Application_S tart() +188 Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app) +516 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +571 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +322 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +402 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +452 [HttpException (0x80004005): Commerce Server was unable to log an event. tart()+188 Sitecore.Nexus.Web.HttpModule.Init(HttpApplication app)+516 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext,HttpContext context,MethodInfo [] handlers)+571 System.Web.HttpApplication.InitSpecial(HttpApplicationState) state,MethodInfo [] handlers,IntPtr appContext,HttpContext context)+322 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext,HttpContext context)+402 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)+452 [HttpException(0x80004005 ):Commerce Server无法记录事件。 Please make sure that the identity of the Commerce Server Event Logging COM+ application is an account that has permissions to log events (the Component Services MMC can be used to configure this).] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +646 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +778 请确保Commerce Server事件记录COM +应用程序的标识是一个具有记录事件权限的帐户(可以使用组件服务MMC来配置它)。] System.Web.HttpRuntime.FirstRequestInit(HttpContext context)+646 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)+159 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr,HttpContext context)+778

I compared COM configurations of Commerce server on Windows 10 and Windows 2008 R2, but have not found any changes. 我比较了Windows 10和Windows 2008 R2上的Commerce服务器的COM配置,但没有发现任何更改。 How to give Commerce Server Event Logging COM+ enough permissions to access log? 如何给Commerce Server事件记录COM +足够的权限来访问日志? Or how this issue could be resolved in other way? 或者如何以其他方式解决这个问题? Any suggestions are appreciated... 任何建议都表示赞赏......

Problem was that Windows 2008 R2 I used domain credentials while installation. 问题是Windows 2008 R2我在安装时使用了域凭据。 When I created local user and used his credentials, everything start work fine. 当我创建本地用户并使用他的凭据时,一切都开始正常工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM