Показать сообщение отдельно
Старый 09.07.2013, 15:22   #16  
Eugene.Ostroukhov is offline
Eugene.Ostroukhov
Участник
 
149 / 11 (1) +
Регистрация: 22.02.2013
Может поможете тогда диагностировать проблему.

Скачан русский РТМ CRM 2011, через винапдейт накачен сначала 6ой, потом 13ый роллап.
перед накаткой 6го ролапа была импортирована и сконвертирована организация с CRM 4.0.

пытаюсь залить такой хмл (операция самая простая: создали солюшен, загрузили его в риббон воркбенч, и пытаемся сразу же запаблишить его обратно; все ресурсы (картнки и жабоскрипт) - есть; вся эта лабуда вышла при импорте и конвертации организации из 4.0 версии.):

Цитата:
<?xml version="1.0" encoding="utf-16"?>
<RibbonDiffXml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<CustomActions>
<CustomAction Id="new.Mscrm.Isv.new_smsdeliverylist.Form.CustomAction" Location="Mscrm.Tabs._children" Sequence="1010">
<CommandUIDefinition>
<Tab Command="Mscrm.Isv.new_smsdeliverylist.Form" Description="Форма SMS рассылка независимого поставщика ПО" Id="Mscrm.Isv.new_smsdeliverylist.Form" Sequence="1010" Title="$LocLabels:Mscrm.Isv.new_smsdeliverylist.Form.Title">
<Scaling Id="Mscrm.Isv.new_smsdeliverylist.Form.Scaling">
<MaxSize GroupId="Mscrm.Isv.new_smsdeliverylist.Form.Group0" Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.MaxSize" Sequence="10" Size="Large" />
<Scale GroupId="Mscrm.Isv.new_smsdeliverylist.Form.Group0" Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Scale.Medium" Sequence="20" Size="Medium" />
<Scale GroupId="Mscrm.Isv.new_smsdeliverylist.Form.Group0" Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Scale.Small" Sequence="30" Size="Small" />
<Scale GroupId="Mscrm.Isv.new_smsdeliverylist.Form.Group0" Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Scale.Popup" Sequence="40" Size="Popup" />
</Scaling>
<Groups Id="Mscrm.Isv.new_smsdeliverylist.Form.Groups">
<Group Command="Mscrm.Isv.new_smsdeliverylist.Form.Group0" Description="$LocLabels:Mscrm.Isv.new_smsdeliverylist.Form.Group0.Title" Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0" Sequence="10" Template="Mscrm.Templates.Flexible" Title="$LocLabels:Mscrm.Isv.new_smsdeliverylist.Form.Group0.Title">
<Controls Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Controls">
<Button Alt="$LocLabels:Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control0.Alt" Command="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control0" Description="dghndghndghn" Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control0" Image32by32="/_imgs/Sms-green-64.png" Image32by32Class="ms-crm-Upgraded-Ribbon-Image32" Image16by16="/_imgs/Sms-green-64.png" Image16by16Class="ms-crm-Upgraded-Ribbon-Image16" LabelText="$LocLabels:Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control0.LabelText" Sequence="10" TemplateAlias="o1" ToolTipTitle="$LocLabels:Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control0.ToolTipTitle" ToolTipDescription="$LocLabels:Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control0.ToolTipDescription" />
<Button Alt="$LocLabels:Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control1.Alt" Command="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control1" Description="adfvadfv" Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control1" Image32by32="/_imgs/Sms-blue-64.png" Image32by32Class="ms-crm-Upgraded-Ribbon-Image32" Image16by16="/_imgs/Sms-blue-64.png" Image16by16Class="ms-crm-Upgraded-Ribbon-Image16" LabelText="$LocLabels:Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control1.LabelText" Sequence="20" TemplateAlias="o1" ToolTipTitle="$LocLabels:Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control1.ToolTipTitle" ToolTipDescription="$LocLabels:Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control1.ToolTipDescription" />
<Button Alt="$LocLabels:Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control2.Alt" Command="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control2" Description="adfv" Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control2" Image32by32="/_imgs/ico_18_4300.gif" Image32by32Class="ms-crm-Upgraded-Ribbon-Image32" Image16by16="/_imgs/ico_18_4300.gif" Image16by16Class="ms-crm-Upgraded-Ribbon-Image16" LabelText="$LocLabels:Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control2.LabelText" Sequence="30" TemplateAlias="o1" ToolTipTitle="$LocLabels:Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control2.ToolTipTitle" ToolTipDescription="$LocLabels:Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control2.ToolTipDescription" />
<Button Alt="$LocLabels:Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control3.Alt" Command="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control3" Description="aadfv" Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control3" Image32by32="/_imgs/ico/lgicn_16.gif" Image32by32Class="ms-crm-Upgraded-Ribbon-Image32" Image16by16="/_imgs/ico/lgicn_16.gif" Image16by16Class="ms-crm-Upgraded-Ribbon-Image16" LabelText="$LocLabels:Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control3.LabelText" Sequence="40" TemplateAlias="o1" ToolTipTitle="$LocLabels:Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control3.ToolTipTitle" ToolTipDescription="$LocLabels:Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control3.ToolTipDescription" />
</Controls>
</Group>
</Groups>
</Tab>
</CommandUIDefinition>
</CustomAction>
</CustomActions>
<Templates>
<RibbonTemplates Id="Mscrm.Templates" />
</Templates>
<CommandDefinitions>
<CommandDefinition Id="Mscrm.Isv.new_smsdeliverylist.Form">
<EnableRules />
<DisplayRules>
<DisplayRule Id="Mscrm.Isv.new_smsdeliverylist.Form" />
</DisplayRules>
<Actions />
</CommandDefinition>
<CommandDefinition Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0">
<EnableRules />
<DisplayRules>
<DisplayRule Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0" />
</DisplayRules>
<Actions />
</CommandDefinition>
<CommandDefinition Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control0">
<EnableRules />
<DisplayRules />
<Actions>
<JavaScriptFunction FunctionName="Mscrm_Isv_new_smsdeliverylist_Form_Group0_Control0_1" Library="$Webresource:new_smsdeliverylist_ribbon.js" />
</Actions>
</CommandDefinition>
<CommandDefinition Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control1">
<EnableRules />
<DisplayRules />
<Actions>
<JavaScriptFunction FunctionName="Mscrm_Isv_new_smsdeliverylist_Form_Group0_Control1_2" Library="$Webresource:new_smsdeliverylist_ribbon.js" />
</Actions>
</CommandDefinition>
<CommandDefinition Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control2">
<EnableRules />
<DisplayRules />
<Actions>
<JavaScriptFunction FunctionName="Mscrm_Isv_new_smsdeliverylist_Form_Group0_Control2_3" Library="$Webresource:new_smsdeliverylist_ribbon.js" />
</Actions>
</CommandDefinition>
<CommandDefinition Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control3">
<EnableRules />
<DisplayRules />
<Actions>
<JavaScriptFunction FunctionName="Mscrm_Isv_new_smsdeliverylist_Form_Group0_Control3_4" Library="$Webresource:new_smsdeliverylist_ribbon.js" />
</Actions>
</CommandDefinition>
</CommandDefinitions>
<RuleDefinitions>
<TabDisplayRules>
<TabDisplayRule TabCommand="Mscrm.Isv.new_smsdeliverylist.Form">
<EntityRule Context="Form" />
</TabDisplayRule>
</TabDisplayRules>
<DisplayRules>
<DisplayRule Id="Mscrm.Isv.new_smsdeliverylist.Form">
<MiscellaneousPrivilegeRule PrivilegeName="ISVExtensions" />
<CrmClientTypeRule Type="Web" />
</DisplayRule>
<DisplayRule Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0">
<FormStateRule State="Create" InvertResult="true" />
</DisplayRule>
</DisplayRules>
<EnableRules />
</RuleDefinitions>
<LocLabels>
<LocLabel Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control0.LabelText">
<Titles>
<Title description="Отправить сообщение" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control0.ToolTipTitle">
<Titles>
<Title description="Отправить сообщение" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control0.ToolTipDescription">
<Titles>
<Title description="Отправить сообщение" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control0.Alt">
<Titles>
<Title description="bgfgbsfgb" languagecode="1049" />
</Titles>
</LocLabel>
<LocLabel Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control1.LabelText">
<Titles>
<Title description="Сохранить как шаблон" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control1.ToolTipTitle">
<Titles>
<Title description="Сохранить как шаблон" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control1.ToolTipDescription">
<Titles>
<Title description="Сохранение рассылки в виде шаблона SMS рассылки." languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control1.Alt">
<Titles>
<Title description="dghndghn" languagecode="1049" />
</Titles>
</LocLabel>
<LocLabel Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control2.LabelText">
<Titles>
<Title description="Добавить получателей из маркетингового списка" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control2.ToolTipTitle">
<Titles>
<Title description="Добавить получателей из маркетингового списка" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control2.ToolTipDescription">
<Titles>
<Title description="Добавление получателей в список рассылки из выбранного маркетингового списка" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control2.Alt">
<Titles>
<Title description="dghndghndgh" languagecode="1049" />
</Titles>
</LocLabel>
<LocLabel Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control3.LabelText">
<Titles>
<Title description="Добавить получателей из мероприятия" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control3.ToolTipTitle">
<Titles>
<Title description="Добавить получателей из мероприятия" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control3.ToolTipDescription">
<Titles>
<Title description="Добавление получателей в список рассылки из выбранного мероприятия" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Control3.Alt">
<Titles>
<Title description="dghndghn" languagecode="1049" />
</Titles>
</LocLabel>
<LocLabel Id="Mscrm.Isv.new_smsdeliverylist.Form.Group0.Title">
<Titles>
<Title description="Форма SMS рассылка независимого поставщика ПО 1" languagecode="1033" />
</Titles>
</LocLabel>
<LocLabel Id="Mscrm.Isv.new_smsdeliverylist.Form.Title">
<Titles>
<Title description="Форма SMS рассылка независимого поставщика ПО" languagecode="1033" />
</Titles>
</LocLabel>
</LocLabels>
</RibbonDiffXml>
насколько понимаю - 1033 мой СРМ понимать не может, т.к. у меня не муи, а сразу русский СРМ.
в ивентлоге ничего нет.
в трейсе чуть побольше:

Цитата:
at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException) ilOffset = 0x0
at CrmException..ctor(String message, Exception innerException, Int32 errorCode) ilOffset = 0x0
at UIDataGenerator.GenerateUIData() ilOffset = 0x1ED
at WorkflowDependencyVisitor.Visit(BusinessEntity workflow) ilOffset = 0x62
at WorkflowDependencyCalculator.DetermineRequiredDependencies(ExecutionContext context) ilOffset = 0x32
at DependencyCalculatorBase.DetermineAllDependencies(ICollection`1 records, ExecutionContext context) ilOffset = 0xAC
at DependencyHelperBase.IsDependencyCalculatedFromOtherSide(Guid dependencyNodeId, BusinessEntity dependency, Dictionary`2 computedDependencies, ExecutionContext context) ilOffset = 0xEA
at DependencyHelperBase.UpdateDependencies(ExecutionContext context) ilOffset = 0x119
at ComponentCollector.UpdateComponentDependencies(Dictionary`2 recordsByComponentType, ExecutionContext context) ilOffset = 0x77
at ComponentCollector.ProcessRecords(ExecutionContext context) ilOffset = 0x276
at ExecutionContext.ProcessDependencies(FlushCacheOption option, CreateNewCollectorOption createOption) ilOffset = 0x23
at ExecutionContext.CommitTransaction(ProcessDependenciesOption option, FlushCacheOption flushOption) ilOffset = 0x18
at RootImportHandler.RunImport(String[] ImportEntities) ilOffset = 0x2A4
at ImportXml.RunImport(String[] ImportEntities) ilOffset = 0xE
at ImportXml.RunImport() ilOffset = 0x5B3
at ImportXmlService.ImportSolutionSkipCapable(Boolean overwriteUnmanagedCustomizations, Boolean publishWorkflows, Byte[] customizationFile, Guid importJobId, Boolean convertToManaged, Boolean skipProductUpdateDependencies, ExecutionContext context) ilOffset = 0x46
at RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) ilOffset = 0xFFFFFFFF
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) ilOffset = 0x101
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) ilOffset = 0x0
at LogicalMethodInfo.Invoke(Object target, Object[] values) ilOffset = 0x4F
at InternalOperationPlugin.Execute(IServiceProvider serviceProvider) ilOffset = 0x57
at V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context) ilOffset = 0x50
at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context) ilOffset = 0x65
at Pipeline.Execute(PipelineExecutionContext context) ilOffset = 0x65
at MessageProcessor.Execute(PipelineExecutionContext context) ilOffset = 0x1C5
at InternalMessageDispatcher.Execute(PipelineExecutionContext context) ilOffset = 0xE4
at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion) ilOffset = 0x156
at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, Boolean traceRequest, OrganizationContext context, Boolean returnResponse) ilOffset = 0x145
at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType) ilOffset = 0x34
at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType) ilOffset = 0x24
at ilOffset = 0xFFFFFFFF
at SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) ilOffset = 0x226
at DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) ilOffset = 0xE7
at ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) ilOffset = 0x41
at ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) ilOffset = 0xC6
at MessageRpc.Process(Boolean isOperationContextSet) ilOffset = 0x62
at ChannelHandler.DispatchAndReleasePump(RequestContext request, Boolean cleanThread, OperationContext currentOperationContext) ilOffset = 0x1D7
at ChannelHandler.HandleRequest(RequestContext request, OperationContext currentOperationContext) ilOffset = 0xF1
at ChannelHandler.AsyncMessagePump(IAsyncResult result) ilOffset = 0x21
at AsyncThunk.UnhandledExceptionFrame(IAsyncResult result) ilOffset = 0x0
at AsyncResult.Complete(Boolean completedSynchronously) ilOffset = 0xC2
at AsyncQueueReader.Set(Item item) ilOffset = 0x21
at InputQueue`1.EnqueueAndDispatch(Item item, Boolean canDispatchOnThisThread) ilOffset = 0xDD
at InputQueue`1.EnqueueAndDispatch(T item, Action dequeuedCallback, Boolean canDispatchOnThisThread) ilOffset = 0x0
at SingletonChannelAcceptor`3.Enqueue(QueueItemType item, Action dequeuedCallback, Boolean canDispatchOnThisThread) ilOffset = 0x35
at HttpChannelListener.HttpContextReceived(HttpRequestContext context, Action callback) ilOffset = 0x109
at HostedHttpTransportManager.HttpContextReceived(HostedHttpRequestAsyncResult result) ilOffset = 0x52
at HostedHttpRequestAsyncResult.HandleRequest() ilOffset = 0x101
at HostedHttpRequestAsyncResult.BeginRequest() ilOffset = 0x0
at HostedHttpRequestAsyncResult.OnBeginRequest(Object state) ilOffset = 0x9
at AspNetPartialTrustHelpers.PartialTrustInvoke(ContextCallback callback, Object state) ilOffset = 0x19
at HostedHttpRequestAsyncResult.OnBeginRequestWithFlow(Object state) ilOffset = 0x30
at ScheduledOverlapped.IOCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped) ilOffset = 0x22
at IOCompletionThunk.UnhandledExceptionFrame(UInt32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped) ilOffset = 0x5
at _IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP) ilOffset = 0x3C
>Crm Exception: Message: Error generating UiData, ErrorCode: -2147200969, InnerException: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Crm.Workflow.ObjectModel.CustomActivityInfoMetadataBase.GetParametersInfo(Type activityType, Boolean input)
at Microsoft.Crm.Workflow.ObjectModel.CustomActivityInfoMetadataBase.GetCustomActivityInfo(Guid pluginTypeId)
at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadCustomActivityStep(String stepId, Composite sequence)
at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadCompositeStep(String stepId, String description, Activity activity, Collection`1 variables)
at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadSingleStep(Activity activity)
at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.GenerateUIData()
>MessageProcessor fail to process message 'ImportSolution' for 'none'.

Цитата:
at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException) ilOffset = 0x0
at CrmException..ctor(String message, Exception innerException, Int32 errorCode) ilOffset = 0x0
at RuntimeMethodHandle._InvokeConstructor(IRuntimeMethodInfo method, Object[] args, SignatureStruct& signature, RuntimeType declaringType) ilOffset = 0xFFFFFFFF
at RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) ilOffset = 0xD8
at RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) ilOffset = 0x1E7
at VersionedPluginProxyStepBase.WrapExceptionToThrow(CrmException exception) ilOffset = 0x89
at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context) ilOffset = 0x65
at Pipeline.Execute(PipelineExecutionContext context) ilOffset = 0x65
at MessageProcessor.Execute(PipelineExecutionContext context) ilOffset = 0x1C5
at InternalMessageDispatcher.Execute(PipelineExecutionContext context) ilOffset = 0xE4
at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion) ilOffset = 0x156
at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, Boolean traceRequest, OrganizationContext context, Boolean returnResponse) ilOffset = 0x145
at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType) ilOffset = 0x34
at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType) ilOffset = 0x24
at ilOffset = 0xFFFFFFFF
at SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) ilOffset = 0x226
at DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) ilOffset = 0xE7
at ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) ilOffset = 0x41
at ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) ilOffset = 0xC6
at MessageRpc.Process(Boolean isOperationContextSet) ilOffset = 0x62
at ChannelHandler.DispatchAndReleasePump(RequestContext request, Boolean cleanThread, OperationContext currentOperationContext) ilOffset = 0x1D7
at ChannelHandler.HandleRequest(RequestContext request, OperationContext currentOperationContext) ilOffset = 0xF1
at ChannelHandler.AsyncMessagePump(IAsyncResult result) ilOffset = 0x21
at AsyncThunk.UnhandledExceptionFrame(IAsyncResult result) ilOffset = 0x0
at AsyncResult.Complete(Boolean completedSynchronously) ilOffset = 0xC2
at AsyncQueueReader.Set(Item item) ilOffset = 0x21
at InputQueue`1.EnqueueAndDispatch(Item item, Boolean canDispatchOnThisThread) ilOffset = 0xDD
at InputQueue`1.EnqueueAndDispatch(T item, Action dequeuedCallback, Boolean canDispatchOnThisThread) ilOffset = 0x0
at SingletonChannelAcceptor`3.Enqueue(QueueItemType item, Action dequeuedCallback, Boolean canDispatchOnThisThread) ilOffset = 0x35
at HttpChannelListener.HttpContextReceived(HttpRequestContext context, Action callback) ilOffset = 0x109
at HostedHttpTransportManager.HttpContextReceived(HostedHttpRequestAsyncResult result) ilOffset = 0x52
at HostedHttpRequestAsyncResult.HandleRequest() ilOffset = 0x101
at HostedHttpRequestAsyncResult.BeginRequest() ilOffset = 0x0
at HostedHttpRequestAsyncResult.OnBeginRequest(Object state) ilOffset = 0x9
at AspNetPartialTrustHelpers.PartialTrustInvoke(ContextCallback callback, Object state) ilOffset = 0x19
at HostedHttpRequestAsyncResult.OnBeginRequestWithFlow(Object state) ilOffset = 0x30
at ScheduledOverlapped.IOCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped) ilOffset = 0x22
at IOCompletionThunk.UnhandledExceptionFrame(UInt32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped) ilOffset = 0x5
at _IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP) ilOffset = 0x3C
>Crm Exception: Message: Error generating UiData, ErrorCode: -2147200969, InnerException: Microsoft.Crm.CrmException: Error generating UiData ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Crm.Workflow.ObjectModel.CustomActivityInfoMetadataBase.GetParametersInfo(Type activityType, Boolean input)
at Microsoft.Crm.Workflow.ObjectModel.CustomActivityInfoMetadataBase.GetCustomActivityInfo(Guid pluginTypeId)
at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadCustomActivityStep(String stepId, Composite sequence)
at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadCompositeStep(String stepId, String description, Activity activity, Collection`1 variables)
at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadSingleStep(Activity activity)
at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.GenerateUIData()
--- End of inner exception stack trace ---
at Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImport(String[] ImportEntities)
at Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImport()
at Microsoft.Crm.WebServices.ImportXmlService.ImportSolutionSkipCapable(Boolean overwriteUnmanagedCustomizations, Boolean publishWorkflows, Byte[] customizationFile, Guid importJobId, Boolean convertToManaged, Boolean skipProductUpdateDependencies, ExecutionContext context)
Цитата:
>Web Service Plug-in failed in SdkMessageProcessingStepId: {1B830950-E106-4EE1-B3FD-D348CB65DC8D}; EntityName: none; Stage: 30; MessageName: ImportSolution; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin; Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IServiceProvider serviceProvider)
at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
Inner Exception: Microsoft.Crm.CrmException: Error generating UiData
at Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImport(String[] ImportEntities)
at Microsoft.Crm.Tools.ImportExportPublish.ImportXml.RunImport()
at Microsoft.Crm.WebServices.ImportXmlService.ImportSolutionSkipCapable(Boolean overwriteUnmanagedCustomizations, Boolean publishWorkflows, Byte[] customizationFile, Guid importJobId, Boolean convertToManaged, Boolean skipProductUpdateDependencies, ExecutionContext context)
Inner Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Crm.Workflow.ObjectModel.CustomActivityInfoMetadataBase.GetParametersInfo(Type activityType, Boolean input)
at Microsoft.Crm.Workflow.ObjectModel.CustomActivityInfoMetadataBase.GetCustomActivityInfo(Guid pluginTypeId)
at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadCustomActivityStep(String stepId, Composite sequence)
at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadCompositeStep(String stepId, String description, Activity activity, Collection`1 variables)
at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.ReadSingleStep(Activity activity)
at Microsoft.Crm.Workflow.ObjectModel.UIDataGenerator.GenerateUIData()
.

Последний раз редактировалось Eugene.Ostroukhov; 09.07.2013 в 15:34.