Dynamics crm 2011 MS Dynamics CRM 2011汇总14导致一般SQL错误

Dynamics crm 2011 MS Dynamics CRM 2011汇总14导致一般SQL错误,dynamics-crm-2011,rollup,Dynamics Crm 2011,Rollup,我们是一家新的Dynamics CRM商店。我们已经从旧系统中加载了帐户、联系人和便笺,因此系统上还没有太多内容。昨晚应用Rollup 14后,我们今天早上登录到“SQL Server错误”屏幕 “我的工作”下的所有链接都会出现相同的结果,但公告除外,它看起来是正确的(空的,但没有SQL错误) 事件日志包含以下消息: [CrmException: Generic SQL error.] at Microsoft.Crm.Application.Platform.ServiceCommand

我们是一家新的Dynamics CRM商店。我们已经从旧系统中加载了帐户、联系人和便笺,因此系统上还没有太多内容。昨晚应用Rollup 14后,我们今天早上登录到“SQL Server错误”屏幕

“我的工作”下的所有链接都会出现相同的结果,但公告除外,它看起来是正确的(空的,但没有SQL错误)

事件日志包含以下消息:

[CrmException: Generic SQL error.]
   at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()
   at Microsoft.Crm.Application.Platform.ServiceCommands.RetrieveMultipleCommand.Execute()
   at Microsoft.Crm.Application.Controls.DashboardSelector.RetrieveDashboard(String logicalName, String[] columns)
   at Microsoft.Crm.Application.Controls.DashboardSelector.AddUserDashboard()
   at Microsoft.Crm.Application.Components.UI.CrmUIControlBase.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

[HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown.]
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

这可能是作为导入的一部分丢失的相关记录


请尝试使用查询分析器确定导致异常的SQL语句。这通常包含实体名称(表)等信息,允许您确定针对该实体运行的自定义代码(插件/工作流)或当前可能出现的架构问题。

重置IIS并确保所有CRM&SQL服务都在运行。
如果仍然存在问题,请尝试重新安装Roll-up 14。重新安装帮助某人解决了不同的汇总问题

应用更新汇总14后,我遇到了完全相同的问题。当我查看SQL时,我的MSCRM_CRM数据库旁边显示“可疑”,这可能表明它已损坏。幸运的是,我有一个备份,我必须删除它并恢复备份,现在一切正常。

感谢您的建议。卸载更新汇总14时,我收到消息。。。操作Microsoft.Crm.Setup.Common,Update.DBRemoveAction失败。调用的目标已引发异常。INSERT语句与外键约束“owner\u importlogs”冲突。冲突发生在数据库“CnxDynCRM\u MSCRM”、表“dbo.OwnerBase”、列OwnerId中。该语句已终止。显然,这与汇总14无关。在还原到预汇总快照后,我仍然会收到错误。忘记提及我在修复数据库后重新安装了更新汇总14。