Sitecore:DMS 7.1 分析已禁用

标签 sitecore sitecore7 sitecore-dms sitecore7.1

我正在尝试让 Sitecore DMS 7.1 正常工作。我按照 sitecore 支持页面上的说明进行操作。我仔细检查了该网站上提到的所有步骤。

https://www.sitecore.net/Learn/Blogs/Technical-Blogs/John-West-Sitecore-Blog/Posts/2011/08/Troubleshooting-Analytics-is-Disabled-with-the-Sitecore-Customer-Engagement-Platform.aspx#comments

我查看了日志文件,我得到了。

3112 10:20:35 ERROR Application error.
Exception: System.Web.HttpException
Message: Online Marketing Suite is not enabled
Source: mscorlib

Server stack trace: 
   at Sitecore.Analytics.Reports.ReportDataHandler.AssertState(HttpContext context)
   at Sitecore.Analytics.Reports.ReportDataHandler.ProcessRequest(HttpContext context)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
   at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
   at Sitecore.Analytics.Reports.ReportDataHandler.RequestProcessor.EndInvoke(IAsyncResult result)
   at Sitecore.Analytics.Reports.ReportDataHandler.EndProcessRequest(IAsyncResult result)
   at System.Web.HttpApplication.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar)

帮助。我们还有其他 sitecore 网站,我能够让它在 sitecore 7 平台上运行。

最佳答案

以下是引发错误的逻辑:

public static bool Enabled
{
    get
    {
        if (Settings.GetBoolSetting("Analytics.Enabled", false))
            return Sitecore.SecurityModel.License.License.HasModule("Sitecore.OMS");
        else
            return false;
    }
}

因此您可以看到需要满足 2 个条件。

首先,分析配置文件中的“Analytics.Enabled”设置需要设置为 true。它应该如下所示。

<!--
     ANALYTICS ENABLED
     Determines whether analytics is enabled or not.
     Default: true  
-->
<setting name="Analytics.Enabled" value="true" />

其次,您的许可证需要包含 DMS(内部称为“OMS”)。

关于Sitecore:DMS 7.1 分析已禁用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25185068/

相关文章:

sitecore - 使用 Sitecore 发布代理并在特定时间发布项目

Sitecore 高可用性架构

powershell - Sitecore powershell 控制台不显示状态字段

asp.net - 使用 Sitecore DMS 是否需要页面编辑器和 "cloning"?

Sitecore Analytics Api - 电子邮件发送、打开和点击率

sitecore - 使用 SitecoreRocks 按 ID 搜索 Sitecore 项目

Solr 查询 - 如何修复非预期结果(可能是文化特定的)?

package - Sitecore 下载包

Sitecore:将项目版本的语言限制为仅英语

面向营销人员和 DMS 的 Sitecore Web 表单 - 不记录事件、目标和退出信息