Dynamics crm 2011 Microsoft Dynamics CRM异步处理服务不工作(可能)

Dynamics crm 2011 Microsoft Dynamics CRM异步处理服务不工作(可能),dynamics-crm-2011,workflow,asynchronous,Dynamics Crm 2011,Workflow,Asynchronous,我们的开发CRM服务器现在出现了多个问题。起初,由于一些模糊的错误(未能解析XAML),我无法导入解决方案。这是一个在过去没有改变并且行之有效的解决方案 接下来,我无法再使用插件注册工具连接到服务器。服务器上的任何组织都没有 接下来我注意到我们无法再打开任何工作流 基于以上几点,我们得出结论,这是服务器问题,而不是组织问题。事实证明,创建一个空白组织也会立即出现同样的问题 我们认为,我们已经将范围缩小到CRM异步处理服务无法正常工作。它已经开始了,但似乎什么都做不了了。重新启动服务器和重新启动I

我们的开发CRM服务器现在出现了多个问题。起初,由于一些模糊的错误(未能解析XAML),我无法导入解决方案。这是一个在过去没有改变并且行之有效的解决方案

接下来,我无法再使用插件注册工具连接到服务器。服务器上的任何组织都没有

接下来我注意到我们无法再打开任何工作流

基于以上几点,我们得出结论,这是服务器问题,而不是组织问题。事实证明,创建一个空白组织也会立即出现同样的问题

我们认为,我们已经将范围缩小到CRM异步处理服务无法正常工作。它已经开始了,但似乎什么都做不了了。重新启动服务器和重新启动IIS没有做任何事情

在尝试编辑工作流后,我在事件日志中找到以下条目:

Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 28/11/2014 11:23:13 
Event time (UTC): 28/11/2014 10:23:13 
Event ID: 281d2875de2f43cf95ca6820a6d58f5c 
Event sequence: 1801 
Event occurrence: 6 
Event detail code: 0 

Application information: 
Application domain: /LM/W3SVC/1/ROOT-1-130616421223647071 
Trust level: Full 
Application Virtual Path: / 
Application Path: d:\Program Files\Microsoft Dynamics CRM\CRMWeb\ 
Machine name: ************

Process information: 
Process ID: 5348 
Process name: w3wp.exe 
Account name: ************* 

Exception information: 
Exception type: CrmException 
Exception message: Error generating UiData
at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.GenerateUIData()
at Microsoft.Crm.Application.Platform.WorkflowLibrary.WorkflowAdapter.CreateWorkflowObjectModel(Guid workflowEntityId, Boolean useSystemUserContext)
at Microsoft.Crm.Web.Sfa.WorkflowDetailPage.GetWorkflowStep()
at Microsoft.Crm.Web.Sfa.WorkflowDetailPage.ConfigureForm()
at Microsoft.Crm.Application.Controls.PageManager.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Error deserializing XAML
at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.DeserializeXaml(String xaml)
at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.GenerateUIData()

Failed to create a 'Settings' from the text 'Assembly references and imported namespaces for internal implementation'.
at System.Xaml.XamlObjectWriter.Logic_CreateFromValue(ObjectWriterContext ctx, XamlValueConverter`1 typeConverter, Object value, XamlMember property, String targetName, IAddLineInfo lineInfo)
at System.Xaml.XamlObjectWriter.Logic_CreateFromValue(ObjectWriterContext ctx, XamlValueConverter`1 typeConverter, Object value, XamlMember property, String targetName)
at System.Xaml.XamlObjectWriter.Logic_CreatePropertyValueFromValue(ObjectWriterContext ctx)
at System.Xaml.XamlObjectWriter.WriteEndMember()
at System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter)
at System.Xaml.XamlServices.Load(XamlReader xamlReader)
at System.Activities.XamlIntegration.ActivityXamlServices.Load(XamlReader xamlReader)
at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.DeserializeXaml(String xaml)

Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)
at System.Reflection.CustomAttribute.IsCustomAttributeDefined(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable)
at System.Reflection.CustomAttribute.IsDefined(RuntimeAssembly assembly, RuntimeType caType)
at Microsoft.VisualBasic.Activities.XamlIntegration.VisualBasicExpressionConverter.AssemblyCache.EnsureInitialized()
at Microsoft.VisualBasic.Activities.XamlIntegration.VisualBasicExpressionConverter.WrapCachedMapping(NamespaceDeclaration prefix, ReadOnlyXmlnsMapping& readOnlyMapping)
at Microsoft.VisualBasic.Activities.XamlIntegration.VisualBasicExpressionConverter.CollectXmlNamespacesAndAssemblies(ITypeDescriptorContext context)
at Microsoft.VisualBasic.Activities.XamlIntegration.VisualBasicSettingsConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateObjectWithTypeConverter(ServiceProviderContext serviceContext, XamlValueConverter`1 ts, Object value)
at System.Xaml.XamlObjectWriter.Logic_CreateFromValue(ObjectWriterContext ctx, XamlValueConverter`1 typeConverter, Object value, XamlMember property, String targetName, IAddLineInfo lineInfo)



Request information: 
Request URL: https://*************/*********Development/sfa/workflow/edit.aspx?id={936C2198-4B0B-4A2A-A667-5F9B5D1B9845} 
Request path: /*********Development/sfa/workflow/edit.aspx 
User host address: 10.32.100.12 
User: *************
Is authenticated: True 
Authentication Type: NTLM 
Thread account name: ****************

Thread information: 
Thread ID: 53 
Thread account name: **************
Is impersonating: False 
Stack trace: at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.GenerateUIData()
at Microsoft.Crm.Application.Platform.WorkflowLibrary.WorkflowAdapter.CreateWorkflowObjectModel(Guid workflowEntityId, Boolean useSystemUserContext)
at Microsoft.Crm.Web.Sfa.WorkflowDetailPage.GetWorkflowStep()
at Microsoft.Crm.Web.Sfa.WorkflowDetailPage.ConfigureForm()
at Microsoft.Crm.Application.Controls.PageManager.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Custom event details: 

编辑:我们已尝试重新安装后端服务以及前端。两者都没有提供解决方案

我们在工作中的生产环境中看到过这一点,在无休止的调试会话和尝试了一切之后,最终解决方案只是重新安装Dynamics CRM(而且,为了更好的衡量,我们还重新安装了.NET framework,不知道是否需要,但就这样)

一小时后,我们的客户经理和销售代表可以再次工作,我们可以像以前一样通过插件注册工具将我们的产品推向生产

但是,我们从未发现是什么导致了安装中的损坏:(,幸运的是它没有再次发生


嗯,bovako

我有点不愿意尝试这个,但在整个周末寻找解决方案后,我最终被迫选择了这个选项。周一我们需要一个工作环境,所以我完全卸载了CRM,重新安装,指向了我们现有的数据库,一切都恢复了正常。希望它永远不会再出现