AXForum  
Вернуться   AXForum > Microsoft Dynamics CRM > Dynamics CRM: Администрирование
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 10.03.2009, 09:05   #1  
Артем Enot Грунин is offline
Артем Enot Грунин
Moderator
Аватар для Артем Enot Грунин
MCBMSS
Злыдни
Most Valuable Professional
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии AXAWARD 2013
Лучший по профессии 2011
Лучший по профессии 2009
 
3,912 / 623 (28) +++++++
Регистрация: 16.08.2007
Адрес: Пермь!
Записей в блоге: 151
И все же выложите свои логи, пожалуйста. Приведенную вами ссылку я посмотрел, проблема у человека крайне специфичная, если не сказать что загадочная. Думаю что у вас проблема другого характера.
__________________
http://fixrm.wordpress.com, снятие/наведение порчи. Быстро, дорого, гарантия.

MS Certified Dirty Magic Professional
Старый 10.03.2009, 14:16   #2  
xany is offline
xany
Участник
 
57 / 14 (1) ++
Регистрация: 03.03.2009
Адрес: Беларусь, Минск
Цитата:
Сообщение от Артем Enot Грунин Посмотреть сообщение
И все же выложите свои логи, пожалуйста. Приведенную вами ссылку я посмотрел, проблема у человека крайне специфичная, если не сказать что загадочная. Думаю что у вас проблема другого характера.
Сначала о действиях повлекших ошибку.
Есть воркфлоу, который при создании нота, отправляет нотификацию всем исполнителям указанным в опе, и после этого следующим шагом асайнит нот на овнера опы.
Воркфлоу не срабатывает на первом же шаге: отправление нотификации. Остается в состоянии Waiting и отображает ошибку.
Я пытаюсь запустить его снова (2 раза жму на перезапуск), но появляется ошибка, о том что возможно статус вокфлоу изменился и перезапуск не возможен, но понятно статус после обновления воркфлоу остается прежним.

У меня создаются два лога. Все что есть выкладываю. Лог1: CRM-CrmAsyncService-bin-20090310-1.

X++:
# CRM Tracing Version 2.0
# LocalTime: 2009-03-10 12:42:52.0
# Categories: 
# CallStackOn: No
# ComputerName: DOIT-CRM
# CRMVersion: 4.0.7333.1232
# DeploymentType: OnPremise
# ScaleGroup: 
# ServerRole: AppServer, AsyncService, DiscoveryService, WebService, ApiServer, HelpServer, DeploymentService

[2009-03-10 12:42:52.0] Process:CrmAsyncService |Organization:df8ae54b-cb13-4476-aa2f-475893b9f0fb |Thread:   19 |Category: Platform.Workflow |User: 00000000-0000-0000-0000-000000000000 |Level: Error | WorkflowHost.OnWorkflowTerminated
>Workflow terminated: {42B5702E-600D-DE11-B03F-005056BC6FE9} -    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Microsoft.Crm.SdkTypeProxy.CrmService.Create(BusinessEntity entity)
   at Microsoft.Crm.Asynchronous.SdkTypeProxyCrmServiceWrapper.Create(BusinessEntity entity)
   at Microsoft.Crm.Workflow.Services.SendEmailActivityService.Execute(ActivityExecutionContext executionContext, SendEmailActivity sendActivity)
   at Microsoft.Crm.Workflow.Activities.SendEmailActivity.Execute(ActivityExecutionContext executionContext)
   at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)
   at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext)
   at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
   at System.Workflow.Runtime.Scheduler.Run()
[2009-03-10 12:43:26.6] Process:CrmAsyncService |Organization:df8ae54b-cb13-4476-aa2f-475893b9f0fb |Thread:    4 |Category: Platform.Workflow |User: 00000000-0000-0000-0000-000000000000 |Level: Error | WorkflowHost.OnWorkflowTerminated
>Workflow terminated: {42B5702E-600D-DE11-B03F-005056BC6FE9} -    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Microsoft.Crm.SdkTypeProxy.CrmService.Create(BusinessEntity entity)
   at Microsoft.Crm.Asynchronous.SdkTypeProxyCrmServiceWrapper.Create(BusinessEntity entity)
   at Microsoft.Crm.Workflow.Services.SendEmailActivityService.Execute(ActivityExecutionContext executionContext, SendEmailActivity sendActivity)
   at Microsoft.Crm.Workflow.Activities.SendEmailActivity.Execute(ActivityExecutionContext executionContext)
   at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)
   at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext)
   at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
   at System.Workflow.Runtime.Scheduler.Run()
Лог второй: DOIT-CRM-w3wp-wwwroot-20090310-1:

X++:
# ComputerName: DOIT-CRM
# CRMVersion: 4.0.7333.1232
# DeploymentType: OnPremise
# ScaleGroup: 
# ServerRole: AppServer, AsyncService, DiscoveryService, WebService, ApiServer, HelpServer, DeploymentService

[2009-03-10 12:42:51.8] Process: w3wp |Organization:df8ae54b-cb13-4476-aa2f-475893b9f0fb |Thread:    5 |Category: Platform |User: 5c10f326-f741-463d-9365-3d02e8046961 |Level: Error | MessageProcessor.Execute
>MessageProcessor fail to process message 'Create' for 'email'.
[2009-03-10 12:42:51.9] Process: w3wp |Organization:df8ae54b-cb13-4476-aa2f-475893b9f0fb |Thread:    5 |Category: Platform.Sdk |User: 5c10f326-f741-463d-9365-3d02e8046961 |Level: Error | DefaultExceptionHandler.Handle
>CrmSoapExtension detected non-CrmException - report will be sent to Watson:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.InvalidCastException: Unable to cast object of type 'Microsoft.Crm.Sdk.CrmNumberProperty' to type 'Microsoft.Crm.Sdk.DynamicEntityArrayProperty'.
   at Microsoft.Crm.BusinessEntities.DynamicEntityArrayPropertyConverterBase.InternalToBusinessEntity(ICrmConversionContext conversionContext, AttributeMetadata attributeMetadata, Property property, BusinessEntity businessEntity, Dictionary`2 abbrvToChildAttributeMetadata, Guid organizationId)
   at Microsoft.Crm.BusinessEntities.PropertyConverterBase.ToBusinessEntity(ICrmConversionContext conversionContext, AttributeMetadata attributeMetadata, Property property, BusinessEntity businessEntity)
   at Microsoft.Crm.BusinessEntities.DynamicEntityToBusinessEntityConverter.Convert(ICrmConversionContext conversionContext, DynamicEntity dynamicEntity)
   at Microsoft.Crm.BusinessEntities.BusinessEntity.Converter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
   at Microsoft.Crm.BusinessEntities.ConversionHelpers.Convert(ICrmConversionContext conversionContext, Object source, Type destinationType)
   at Microsoft.Crm.Sdk.DictionaryMapper.Map(PropertyBag inputs, ICrmConversionContext context)
   at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IPluginExecutionContext context)
   at Microsoft.Crm.Extensibility.PluginStep.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.Pipeline.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.MessageProcessor.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.InternalMessageDispatcher.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.ExternalMessageDispatcher.Execute(String messageName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, PropertyBag fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
   at Microsoft.Crm.Sdk.CrmServiceInternal.Create(String namespaceName, BusinessEntityBase entity, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
   at Microsoft.Crm.Sdk.Crm2007.CrmService.Create(BusinessEntity entity)
   --- End of inner exception stack trace ---

[2009-03-10 12:43:26.5] Process: w3wp |Organization:df8ae54b-cb13-4476-aa2f-475893b9f0fb |Thread:    5 |Category: Platform |User: 5c10f326-f741-463d-9365-3d02e8046961 |Level: Error | MessageProcessor.Execute
>MessageProcessor fail to process message 'Create' for 'email'.
[2009-03-10 12:43:26.5] Process: w3wp |Organization:df8ae54b-cb13-4476-aa2f-475893b9f0fb |Thread:    5 |Category: Platform.Sdk |User: 5c10f326-f741-463d-9365-3d02e8046961 |Level: Error | DefaultExceptionHandler.Handle
>CrmSoapExtension detected non-CrmException - report will be sent to Watson:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.InvalidCastException: Unable to cast object of type 'Microsoft.Crm.Sdk.CrmNumberProperty' to type 'Microsoft.Crm.Sdk.DynamicEntityArrayProperty'.
   at Microsoft.Crm.BusinessEntities.DynamicEntityArrayPropertyConverterBase.InternalToBusinessEntity(ICrmConversionContext conversionContext, AttributeMetadata attributeMetadata, Property property, BusinessEntity businessEntity, Dictionary`2 abbrvToChildAttributeMetadata, Guid organizationId)
   at Microsoft.Crm.BusinessEntities.PropertyConverterBase.ToBusinessEntity(ICrmConversionContext conversionContext, AttributeMetadata attributeMetadata, Property property, BusinessEntity businessEntity)
   at Microsoft.Crm.BusinessEntities.DynamicEntityToBusinessEntityConverter.Convert(ICrmConversionContext conversionContext, DynamicEntity dynamicEntity)
   at Microsoft.Crm.BusinessEntities.BusinessEntity.Converter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
   at Microsoft.Crm.BusinessEntities.ConversionHelpers.Convert(ICrmConversionContext conversionContext, Object source, Type destinationType)
   at Microsoft.Crm.Sdk.DictionaryMapper.Map(PropertyBag inputs, ICrmConversionContext context)
   at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IPluginExecutionContext context)
   at Microsoft.Crm.Extensibility.PluginStep.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.Pipeline.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.MessageProcessor.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.InternalMessageDispatcher.Execute(PipelineExecutionContext context)
   at Microsoft.Crm.Extensibility.ExternalMessageDispatcher.Execute(String messageName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, PropertyBag fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
   at Microsoft.Crm.Sdk.CrmServiceInternal.Create(String namespaceName, BusinessEntityBase entity, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
   at Microsoft.Crm.Sdk.Crm2007.CrmService.Create(BusinessEntity entity)
   --- End of inner exception stack trace ---

2009-03-10 12:43:26.7] Process: w3wp |Organization:df8ae54b-cb13-4476-aa2f-475893b9f0fb |Thread:    5 |Category: Exception |User: 5c10f326-f741-463d-9365-3d02e8046961 |Level: Error | CrmException..ctor
	at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException, Boolean enableTrace)
	at CrmException..ctor(String message, Int32 errorCode)
	at AsyncOperationServiceInternal`1.ValidateTransition(Int32 currentState, Int32 currentStatus, Int32& targetState, Int32& targetStatus)
	at AsyncOperationServiceInternal`1.Update(IBusinessEntity entity, ExecutionContext context)
	at RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
	at RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
	at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
	at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
	at LogicalMethodInfo.Invoke(Object target, Object[] values)
	at InternalOperationPlugin.Execute(IPluginExecutionContext context)
	at PluginStep.Execute(PipelineExecutionContext context)
	at Pipeline.Execute(PipelineExecutionContext context)
	at MessageProcessor.Execute(PipelineExecutionContext context)
	at InternalMessageDispatcher.Execute(PipelineExecutionContext context)
	at ExternalMessageDispatcher.Execute(String messageName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, PropertyBag fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
	at RequestBase.Process(Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
	at RequestBase.Process(CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
	at CrmServiceInternal.Execute(RequestBase request, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
	at InProcessCrmService.Execute(Object request)
	at PlatformCommand.ExecuteInternal()
	at UpdateCommand.Execute()
	at DataSource.Update(Entity entity)
	at SetStateAsyncOperationDialogPage.DoAction(String entityId, String newState)
	at SetStateAsyncOperationDialogPage.ConfigureForm()
	at AppUIPage.OnPreRender(EventArgs e)
	at Control.PreRenderRecursiveInternal()
	at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
	at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
	at Page.ProcessRequest()
	at Page.ProcessRequestWithNoAssert(HttpContext context)
	at Page.ProcessRequest(HttpContext context)
	at itransitioncrm__grid_cmds_dlg_setstate_asyncoperation_aspx.ProcessRequest(HttpContext context)
	at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
	at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
	at ApplicationStepManager.ResumeSteps(Exception error)
	at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
	at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
	at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
	at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
>Crm Exception: Message: The state transition requested is not valid for the current state. Current state: 2, current status: 20, target state: 0., ErrorCode: -2147204762

[2009-03-10 12:43:26.7] Process: w3wp |Organization:df8ae54b-cb13-4476-aa2f-475893b9f0fb |Thread:    5 |Category: Platform |User: 5c10f326-f741-463d-9365-3d02e8046961 |Level: Error | MessageProcessor.Execute
>MessageProcessor fail to process message 'Update' for 'asyncoperation'.
[2009-03-10 12:43:26.7] Process: w3wp |Organization:df8ae54b-cb13-4476-aa2f-475893b9f0fb |Thread:    5 |Category: Application |User: 00000000-0000-0000-0000-000000000000 |Level: Error | ErrorInformation.LogError
>MSCRM Error Report:
------------------------------------------------------------------------------------------------------

Error: Exception of type 'System.Web.HttpUnhandledException' was thrown.

Error Number: 0x80044166
Error Message: The state transition requested is not valid for the current state. Current state: 2, current status: 20, target state: 0.
Error Details: The state transition requested is not valid for the current state. Current state: 2, current status: 20, target state: 0.
Source File: Not available

Line Number: Not available

Request URL: http://doit-crm/ItransitionCRM/_grid/cmds/dlg_setstate_asyncoperation.aspx?iObjType=4700&iTotal=1&iIndex=0&sNewState=Ready&iId={42B5702E-600D-DE11-B03F-005056BC6FE9}
Stack Trace Info: [CrmException: The state transition requested is not valid for the current state. Current state: 2, current status: 20, target state: 0.]
   at Microsoft.Crm.ObjectModel.AsyncOperationServiceInternal`1.ValidateTransition(Int32 currentState, Int32 currentStatus, Int32& targetState, Int32& targetStatus)
   at Microsoft.Crm.ObjectModel.AsyncOperationServiceInternal`1.Update(IBusinessEntity entity, ExecutionContext context)

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   at Microsoft.Crm.Application.Utility.Util.RaiseXMLError(Exception exception)
   at Microsoft.Crm.Dialogs.SetStateAsyncOperationDialogPage.ConfigureForm()
   at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   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.ProcessRequestWithNoAssert(HttpContext context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.itransitioncrm__grid_cmds_dlg_setstate_asyncoperation_aspx.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Проблема с русским текстом в теле писем после обработки E-mail Router SeregaK Dynamics CRM: Администрирование 10 21.02.2012 10:05
Проблемы с Workflow Polyaris Dynamics CRM: Разработка 4 10.03.2009 09:14
Microsoft Dynamics CRM Team Blog: CRM 4: Waiting Workflow VS Windows Service Blog bot Dynamics CRM: Blogs 0 30.10.2008 00:06
Проблема с Add Date and Time в WorkFlow Lida Dynamics CRM: Разработка 4 11.10.2007 17:08
wait activity condition в Workflow glad Dynamics CRM: Функционал 4 01.06.2007 14:13

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 06:59.