locked
Unexpected Error occurring when account is assinging to team in CRM 2011 RRS feed

  • Question

  • Hi All,

    I am trying to assinging account record to the team, each time i am receiving an error saying "Unexpected error occured". I am not able to figure out why it's giving error.

    Team having role and it contains enough privileges to read/write on the account entity and CRM server(2011) having latest rollup 14.

    Anyone faced this issue. Please let me know the reason and work around.

    Regards,

    Tuesday, September 17, 2013 4:13 PM

All replies

  • Hello,

    Enable trace and see logfiles for error details.


    Our Website | Our Blog | Follow US | My Facebook Page | Microsoft Dynamics CRM 2011 Application Design
    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

    Tuesday, September 17, 2013 4:18 PM
    Moderator
  • did you assign security roles to your team so that you can Assign a reocrd to your team?

    You might missing the Assign privileges.


    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

    Tuesday, September 17, 2013 7:24 PM
  • Hi,

    I enabled the trace. Not able to figure out. I have no plugin registered on Account and Assign Message. Kindly help.

    # CRM Tracing Version 2.0
    # LocalTime: 2013-09-18 00:07:59.603
    # Categories: *:verbose
    # CallStackOn: Yes
    # ComputerName: CRMSERVER
    # CRMVersion: 5.0.9901.0003
    # DeploymentType: OnPremise
    # ScaleGroup:
    # ServerRole: AppServer, AsyncService, DiscoveryService, ApiServer, HelpServer, DeploymentService, SandboxServer, DeploymentManagementTools

    [2013-09-18 00:07:59.603] Process: w3wp |Organization:a02417c1-4438-e011-afc4-001cc0a76c0d |Thread:   18 |Category: Platform.Metadata |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 419dd9e5-e5be-4d35-8f8f-8e8ffa695b24 | <>c__DisplayClass1.<LoadMetadataContainerFromDatabase>b__0  ilOffset = 0x0
     at <>c__DisplayClass1.<LoadMetadataContainerFromDatabase>b__0(CrmDbConnection sqlConn, IDbTransaction sqlTrans)  ilOffset = 0x0
     at DynamicMetadataCacheLoader.LoadMetadataContainerFromDatabaseInternal(LoadMasks masks, CrmDbConnection connection, CrmTransaction transaction, Guid organizationId, CounterList counter, BuildMetadataContainerFromDatabaseTemplate buildMetadataContainerFromDatabase, Nullable`1 optionalVersionNumberToFilterResults)  ilOffset = 0xE0
     at DynamicMetadataCacheLoader.LoadMetadataContainerFromDatabase(LoadMasks masks, CrmDbConnection connection, CrmTransaction transaction, Guid organizationId, CounterList counter, Nullable`1 optionalVersionNumberToFilterResults)  ilOffset = 0x39
     at DynamicMetadataCacheLoader.LoadCacheFromDatabaseInternal(LoadMasks masks, CrmDbConnection connection, CrmTransaction transaction, IOrganizationContext context, CounterList counter)  ilOffset = 0x37
     at DynamicMetadataCacheLoader.LoadCacheFromDatabase(LoadMasks masks, IOrganizationContext context, CounterList counter)  ilOffset = 0x1F
     at DynamicMetadataCacheFactory.LoadMetadataCache(LoadMethod method, CacheType type, IOrganizationContext context)  ilOffset = 0x12E
     at MetadataCache.LoadCache(IOrganizationContext context, Boolean fileOnlyIfExists)  ilOffset = 0xC0
     at MetadataCache.GetInstance(IOrganizationContext context)  ilOffset = 0x71
     at BusinessEntityMoniker..ctor(Guid id, String entityName, IOrganizationContext orgContext)  ilOffset = 0x19
     at UserDataCacheLoader.LoadCacheData(Guid key, ExecutionContext context)  ilOffset = 0x6A
     at ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)  ilOffset = 0x25
     at CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context)  ilOffset = 0x0
     at CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)  ilOffset = 0x26
     at SecurityLibrary.GetUserInfoCommon(IOrganizationContext context, Guid userGuid, LocatorServiceContext locatorServiceContext)  ilOffset = 0xC
     at SecurityLibrary.GetCallerAndBusinessGuidsFromThread(WindowsIdentity identity, Guid organizationId, LocatorServiceContext locatorServiceContext)  ilOffset = 0x44
     at CrmWindowsIdentity..ctor(WindowsIdentity innerIdentity, Boolean publishCrmUser, Guid organizationId)  ilOffset = 0x41
     at WindowsAuthenticationProviderBase.Authenticate(HttpApplication application, WindowsIdentity userIdentity)  ilOffset = 0x9F
     at AuthenticationStep.Authenticate(HttpApplication application)  ilOffset = 0x31
     at AuthenticationPipeline.Authenticate(HttpApplication application)  ilOffset = 0x11
     at AuthenticationEngine.Execute(Object sender, EventArgs e)  ilOffset = 0x115
     at SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  ilOffset = 0x5D
     at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  ilOffset = 0x15
     at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x10E
     at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C
     at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0xFC
     at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x45
    >Multi-org sharable cache loading system and non-system metadata with build number 5.0.9690.3557 and language 1033
    [2013-09-18 00:09:11.671] Process: w3wp |Organization:a02417c1-4438-e011-afc4-001cc0a76c0d |Thread:   18 |Category: Platform.Sdk |User: fe934656-4f38-e011-afc4-001cc0a76c0d |Level: Error |ReqId: f8cb80c1-0fea-45ef-9f66-a1467b23f624 | VersionedPluginProxyStepBase.Execute  ilOffset = 0x65
     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 InprocessServiceProxy.ExecuteCore(OrganizationRequest request)  ilOffset = 0x34
     at PlatformCommand.XrmExecuteInternal()  ilOffset = 0xF6
     at AssignCommand.Execute()  ilOffset = 0x0
     at DataSource.Assign(Guid entityId, String entityType, SecurityPrincipal principal, IOrganizationContext context)  ilOffset = 0x9
     at AppForm.HandleFormEventAssign(Boolean gridRefreshCallbackAdded)  ilOffset = 0x1A6
     at AppForm.FormAssignEvent()  ilOffset = 0xD
     at AppForm.RaiseDataEvent(FormEventId eventId)  ilOffset = 0xEF
     at EndUserForm.Initialize(Entity entity)  ilOffset = 0x1F
     at CustomizableForm.Execute(Entity entity, FormDescriptor fd)  ilOffset = 0x62
     at AccountRecordPageHandler.ConfigureFormHandler()  ilOffset = 0x56
     at RecordPageHandler.ConfigureFormWrapper()  ilOffset = 0xC
     at GenericEventProcessor.RaiseEvent(String eventName)  ilOffset = 0x2D
     at PageManager.OnPreRender(EventArgs e)  ilOffset = 0x53
     at Control.PreRenderRecursiveInternal()  ilOffset = 0x54
     at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x69E
     at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x3C
     at Page.ProcessRequest()  ilOffset = 0x14
     at Page.ProcessRequest(HttpContext context)  ilOffset = 0x31
     at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  ilOffset = 0x11D
     at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  ilOffset = 0x15
     at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x10E
     at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C
     at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0xFC
     at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x45
    >Web Service Plug-in failed in SdkMessageProcessingStepId: {C3C9BB1B-EA3E-DB11-86A7-000A3A5473E8}; EntityName: account; Stage: 30; MessageName: Assign; 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: System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.Crm.BusinessEntities.SecurityAttributes..ctor(SecurityTraits traits, BusinessEntity entity)
       at Microsoft.Crm.BusinessEntities.SecurityExtension.PostRetrieveHandler(ExtensionEventArgs e)
       at Microsoft.Crm.BusinessEntities.SecurityExtension.PostRetrieveHandler(Object sender, ExtensionEventArgs e)
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.TryRetrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32 languageCode, DatabaseQueryTarget queryTarget, BusinessEntity& businessEntity)
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32 languageCode, DatabaseQueryTarget queryTarget)
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32 languageCode)
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context)
       at Microsoft.Crm.Extensibility.ImageRetrievalStep.RetrieveEntity(BusinessEntityMoniker moniker, EntityExpression entityExpression, PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.ImageRetrievalStep.RetrieveEntityWithColumns(BusinessEntityMoniker businessEntityMoniker, List`1 columns, ContextEntityKey entityRequest, PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.ImageRetrievalStep.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.ExtensiblePlatformMessageDispatcher.Execute(PipelineExecutionContext pluginContext)
       at Microsoft.Crm.Extensibility.ExtensiblePlatformMessageDispatcher.UpdateWithInvocationSource(BusinessEntity entity, FilterExpression filter, Int32 invocationSource, ExecutionContext context)
       at Microsoft.Crm.Extensibility.ExtensiblePlatformMessageDispatcher.Update(BusinessEntity entity, FilterExpression filter, ExecutionContext context)
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.InternalAssign(BusinessEntity entity, SecurityPrincipal assignee, ExecutionContext context)
       at Microsoft.Crm.BusinessEntities.CascadeEngine.CascadeAssign(CascadeRecordSet recordSet, Dictionary`2 monikerToEntity, SecurityPrincipal assignee, ExecutionContext context, CounterList counterList)
       at Microsoft.Crm.BusinessEntities.CascadeEngine.AssignDB(BusinessEntityMoniker moniker, SecurityPrincipal assignee, ExecutionContext context)
    .
    [2013-09-18 00:09:13.452] Process: w3wp |Organization:a02417c1-4438-e011-afc4-001cc0a76c0d |Thread:   18 |Category: Exception |User: fe934656-4f38-e011-afc4-001cc0a76c0d |Level: Error |ReqId: f8cb80c1-0fea-45ef-9f66-a1467b23f624 | CrmException..ctor  ilOffset = 0x0
     at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException)  ilOffset = 0x0
     at CrmException..ctor(Exception innerException, Int32 errorCode, Object[] arguments)  ilOffset = 0x8
     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 InprocessServiceProxy.ExecuteCore(OrganizationRequest request)  ilOffset = 0x34
     at PlatformCommand.XrmExecuteInternal()  ilOffset = 0xF6
     at AssignCommand.Execute()  ilOffset = 0x0
     at DataSource.Assign(Guid entityId, String entityType, SecurityPrincipal principal, IOrganizationContext context)  ilOffset = 0x9
     at AppForm.HandleFormEventAssign(Boolean gridRefreshCallbackAdded)  ilOffset = 0x1A6
     at AppForm.FormAssignEvent()  ilOffset = 0xD
     at AppForm.RaiseDataEvent(FormEventId eventId)  ilOffset = 0xEF
     at EndUserForm.Initialize(Entity entity)  ilOffset = 0x1F
     at CustomizableForm.Execute(Entity entity, FormDescriptor fd)  ilOffset = 0x62
     at AccountRecordPageHandler.ConfigureFormHandler()  ilOffset = 0x56
     at RecordPageHandler.ConfigureFormWrapper()  ilOffset = 0xC
     at GenericEventProcessor.RaiseEvent(String eventName)  ilOffset = 0x2D
     at PageManager.OnPreRender(EventArgs e)  ilOffset = 0x53
     at Control.PreRenderRecursiveInternal()  ilOffset = 0x54
     at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x69E
     at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x3C
     at Page.ProcessRequest()  ilOffset = 0x14
     at Page.ProcessRequest(HttpContext context)  ilOffset = 0x31
     at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  ilOffset = 0x11D
     at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  ilOffset = 0x15
     at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x10E
     at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C
     at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0xFC
     at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x45
    >Crm Exception: Message: An unexpected error occurred., ErrorCode: -2147220970, InnerException: System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.Crm.BusinessEntities.SecurityAttributes..ctor(SecurityTraits traits, BusinessEntity entity)
       at Microsoft.Crm.BusinessEntities.SecurityExtension.PostRetrieveHandler(ExtensionEventArgs e)
       at Microsoft.Crm.BusinessEntities.SecurityExtension.PostRetrieveHandler(Object sender, ExtensionEventArgs e)
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.TryRetrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32 languageCode, DatabaseQueryTarget queryTarget, BusinessEntity& businessEntity)
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32 languageCode, DatabaseQueryTarget queryTarget)
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32 languageCode)
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context)
       at Microsoft.Crm.Extensibility.ImageRetrievalStep.RetrieveEntity(BusinessEntityMoniker moniker, EntityExpression entityExpression, PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.ImageRetrievalStep.RetrieveEntityWithColumns(BusinessEntityMoniker businessEntityMoniker, List`1 columns, ContextEntityKey entityRequest, PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.ImageRetrievalStep.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.ExtensiblePlatformMessageDispatcher.Execute(PipelineExecutionContext pluginContext)
       at Microsoft.Crm.Extensibility.ExtensiblePlatformMessageDispatcher.UpdateWithInvocationSource(BusinessEntity entity, FilterExpression filter, Int32 invocationSource, ExecutionContext context)
       at Microsoft.Crm.Extensibility.ExtensiblePlatformMessageDispatcher.Update(BusinessEntity entity, FilterExpression filter, ExecutionContext context)
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.InternalAssign(BusinessEntity entity, SecurityPrincipal assignee, ExecutionContext context)
       at Microsoft.Crm.BusinessEntities.CascadeEngine.CascadeAssign(CascadeRecordSet recordSet, Dictionary`2 monikerToEntity, SecurityPrincipal assignee, ExecutionContext context, CounterList counterList)
       at Microsoft.Crm.BusinessEntities.CascadeEngine.AssignDB(BusinessEntityMoniker moniker, SecurityPrincipal assignee, ExecutionContext context)
    [2013-09-18 00:09:13.467] Process: w3wp |Organization:a02417c1-4438-e011-afc4-001cc0a76c0d |Thread:   18 |Category: Platform |User: fe934656-4f38-e011-afc4-001cc0a76c0d |Level: Error |ReqId: f8cb80c1-0fea-45ef-9f66-a1467b23f624 | MessageProcessor.Execute  ilOffset = 0x1C5
     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 InprocessServiceProxy.ExecuteCore(OrganizationRequest request)  ilOffset = 0x34
     at PlatformCommand.XrmExecuteInternal()  ilOffset = 0xF6
     at AssignCommand.Execute()  ilOffset = 0x0
     at DataSource.Assign(Guid entityId, String entityType, SecurityPrincipal principal, IOrganizationContext context)  ilOffset = 0x9
     at AppForm.HandleFormEventAssign(Boolean gridRefreshCallbackAdded)  ilOffset = 0x1A6
     at AppForm.FormAssignEvent()  ilOffset = 0xD
     at AppForm.RaiseDataEvent(FormEventId eventId)  ilOffset = 0xEF
     at EndUserForm.Initialize(Entity entity)  ilOffset = 0x1F
     at CustomizableForm.Execute(Entity entity, FormDescriptor fd)  ilOffset = 0x62
     at AccountRecordPageHandler.ConfigureFormHandler()  ilOffset = 0x56
     at RecordPageHandler.ConfigureFormWrapper()  ilOffset = 0xC
     at GenericEventProcessor.RaiseEvent(String eventName)  ilOffset = 0x2D
     at PageManager.OnPreRender(EventArgs e)  ilOffset = 0x53
     at Control.PreRenderRecursiveInternal()  ilOffset = 0x54
     at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x69E
     at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x3C
     at Page.ProcessRequest()  ilOffset = 0x14
     at Page.ProcessRequest(HttpContext context)  ilOffset = 0x31
     at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  ilOffset = 0x11D
     at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  ilOffset = 0x15
     at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x10E
     at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C
     at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0xFC
     at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x45
    >MessageProcessor fail to process message 'Assign' for 'account'.
    [2013-09-18 00:09:13.577] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   18 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: f8cb80c1-0fea-45ef-9f66-a1467b23f624 | ExceptionConverter.ConvertToFault  ilOffset = 0x69
     at ExceptionConverter.ConvertToFault(Exception exception)  ilOffset = 0x69
     at ExceptionConverter.TryConvertToFaultExceptionInternal(Exception exception, Boolean createNewFaultException, FaultException`1& faultException)  ilOffset = 0x6D
     at FaultHelper.ConvertToFault(Exception exception)  ilOffset = 0x0
     at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)  ilOffset = 0x24
     at InprocessServiceProxy.ExecuteCore(OrganizationRequest request)  ilOffset = 0x34
     at PlatformCommand.XrmExecuteInternal()  ilOffset = 0xF6
     at AssignCommand.Execute()  ilOffset = 0x0
     at DataSource.Assign(Guid entityId, String entityType, SecurityPrincipal principal, IOrganizationContext context)  ilOffset = 0x9
     at AppForm.HandleFormEventAssign(Boolean gridRefreshCallbackAdded)  ilOffset = 0x1A6
     at AppForm.FormAssignEvent()  ilOffset = 0xD
     at AppForm.RaiseDataEvent(FormEventId eventId)  ilOffset = 0xEF
     at EndUserForm.Initialize(Entity entity)  ilOffset = 0x1F
     at CustomizableForm.Execute(Entity entity, FormDescriptor fd)  ilOffset = 0x62
     at AccountRecordPageHandler.ConfigureFormHandler()  ilOffset = 0x56
     at RecordPageHandler.ConfigureFormWrapper()  ilOffset = 0xC
     at GenericEventProcessor.RaiseEvent(String eventName)  ilOffset = 0x2D
     at PageManager.OnPreRender(EventArgs e)  ilOffset = 0x53
     at Control.PreRenderRecursiveInternal()  ilOffset = 0x54
     at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x69E
     at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x3C
     at Page.ProcessRequest()  ilOffset = 0x14
     at Page.ProcessRequest(HttpContext context)  ilOffset = 0x31
     at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  ilOffset = 0x11D
     at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  ilOffset = 0x15
     at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x10E
     at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C
     at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0xFC
     at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x45
    >UNEXPECTED: no fault?
    [2013-09-18 00:09:13.592] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   18 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: f8cb80c1-0fea-45ef-9f66-a1467b23f624 | ExceptionConverter.ConvertMessageAndErrorCode  ilOffset = 0x23B
     at ExceptionConverter.ConvertMessageAndErrorCode(Exception exception, Int32& errorCode)  ilOffset = 0x23B
     at ExceptionConverter.ToSingleFaultOther(Exception exception)  ilOffset = 0x2B
     at ExceptionConverter.ToSingleFaultUnTyped(Exception exception)  ilOffset = 0x3A
     at ExceptionConverter.ConvertToFault(Exception exception)  ilOffset = 0x69
     at ExceptionConverter.TryConvertToFaultExceptionInternal(Exception exception, Boolean createNewFaultException, FaultException`1& faultException)  ilOffset = 0x6D
     at FaultHelper.ConvertToFault(Exception exception)  ilOffset = 0x0
     at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)  ilOffset = 0x24
     at InprocessServiceProxy.ExecuteCore(OrganizationRequest request)  ilOffset = 0x34
     at PlatformCommand.XrmExecuteInternal()  ilOffset = 0xF6
     at AssignCommand.Execute()  ilOffset = 0x0
     at DataSource.Assign(Guid entityId, String entityType, SecurityPrincipal principal, IOrganizationContext context)  ilOffset = 0x9
     at AppForm.HandleFormEventAssign(Boolean gridRefreshCallbackAdded)  ilOffset = 0x1A6
     at AppForm.FormAssignEvent()  ilOffset = 0xD
     at AppForm.RaiseDataEvent(FormEventId eventId)  ilOffset = 0xEF
     at EndUserForm.Initialize(Entity entity)  ilOffset = 0x1F
     at CustomizableForm.Execute(Entity entity, FormDescriptor fd)  ilOffset = 0x62
     at AccountRecordPageHandler.ConfigureFormHandler()  ilOffset = 0x56
     at RecordPageHandler.ConfigureFormWrapper()  ilOffset = 0xC
     at GenericEventProcessor.RaiseEvent(String eventName)  ilOffset = 0x2D
     at PageManager.OnPreRender(EventArgs e)  ilOffset = 0x53
     at Control.PreRenderRecursiveInternal()  ilOffset = 0x54
     at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x69E
     at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x3C
     at Page.ProcessRequest()  ilOffset = 0x14
     at Page.ProcessRequest(HttpContext context)  ilOffset = 0x31
     at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  ilOffset = 0x11D
     at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  ilOffset = 0x15
     at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x10E
     at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C
     at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0xFC
     at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x45
    >System.NullReferenceException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #02E159DD: System.NullReferenceException: Object reference not set to an instance of an object.
    >   at Microsoft.Crm.BusinessEntities.SecurityAttributes..ctor(SecurityTraits traits, BusinessEntity entity)
    >   at Microsoft.Crm.BusinessEntities.SecurityExtension.PostRetrieveHandler(ExtensionEventArgs e)
    >   at Microsoft.Crm.BusinessEntities.SecurityExtension.PostRetrieveHandler(Object sender, ExtensionEventArgs e)
    >   at Microsoft.Crm.BusinessEntities.BusinessProcessObject.TryRetrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32 languageCode, DatabaseQueryTarget queryTarget, BusinessEntity& businessEntity)
    >   at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32 languageCode, DatabaseQueryTarget queryTarget)
    >   at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32 languageCode)
    >   at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context)
    >   at Microsoft.Crm.Extensibility.ImageRetrievalStep.RetrieveEntity(BusinessEntityMoniker moniker, EntityExpression entityExpression, PipelineExecutionContext context)
    >   at Microsoft.Crm.Extensibility.ImageRetrievalStep.RetrieveEntityWithColumns(BusinessEntityMoniker businessEntityMoniker, List`1 columns, ContextEntityKey entityRequest, PipelineExecutionContext context)
    >   at Microsoft.Crm.Extensibility.ImageRetrievalStep.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.ExtensiblePlatformMessageDispatcher.Execute(PipelineExecutionContext pluginContext)
    >   at Microsoft.Crm.Extensibility.ExtensiblePlatformMessageDispatcher.UpdateWithInvocationSource(BusinessEntity entity, FilterExpression filter, Int32 invocationSource, ExecutionContext context)
    >   at Microsoft.Crm.Extensibility.ExtensiblePlatformMessageDispatcher.Update(BusinessEntity entity, FilterExpression filter, ExecutionContext context)
    >   at Microsoft.Crm.BusinessEntities.BusinessProcessObject.InternalAssign(BusinessEntity entity, SecurityPrincipal assignee, ExecutionContext context)
    >   at Microsoft.Crm.BusinessEntities.CascadeEngine.CascadeAssign(CascadeRecordSet recordSet, Dictionary`2 monikerToEntity, SecurityPrincipal assignee, ExecutionContext context, CounterList counterList)
    >   at Microsoft.Crm.BusinessEntities.CascadeEngine.AssignDB(BusinessEntityMoniker moniker, SecurityPrincipal assignee, ExecutionContext context)
    [2013-09-18 00:09:13.608] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   18 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: f8cb80c1-0fea-45ef-9f66-a1467b23f624 | CrmException..ctor  ilOffset = 0x0
     at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException)  ilOffset = 0x0
     at CrmException..ctor(String message, Int32 errorCode)  ilOffset = 0x0
     at PlatformCommand.CreateCrmExceptionFromServiceFault(FaultException`1 fe)  ilOffset = 0x1B
     at PlatformCommand.XrmExecuteInternal()  ilOffset = 0xF6
     at AssignCommand.Execute()  ilOffset = 0x0
     at DataSource.Assign(Guid entityId, String entityType, SecurityPrincipal principal, IOrganizationContext context)  ilOffset = 0x9
     at AppForm.HandleFormEventAssign(Boolean gridRefreshCallbackAdded)  ilOffset = 0x1A6
     at AppForm.FormAssignEvent()  ilOffset = 0xD
     at AppForm.RaiseDataEvent(FormEventId eventId)  ilOffset = 0xEF
     at EndUserForm.Initialize(Entity entity)  ilOffset = 0x1F
     at CustomizableForm.Execute(Entity entity, FormDescriptor fd)  ilOffset = 0x62
     at AccountRecordPageHandler.ConfigureFormHandler()  ilOffset = 0x56
     at RecordPageHandler.ConfigureFormWrapper()  ilOffset = 0xC
     at GenericEventProcessor.RaiseEvent(String eventName)  ilOffset = 0x2D
     at PageManager.OnPreRender(EventArgs e)  ilOffset = 0x53
     at Control.PreRenderRecursiveInternal()  ilOffset = 0x54
     at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x69E
     at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x3C
     at Page.ProcessRequest()  ilOffset = 0x14
     at Page.ProcessRequest(HttpContext context)  ilOffset = 0x31
     at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  ilOffset = 0x11D
     at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  ilOffset = 0x15
     at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x10E
     at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C
     at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0xFC
     at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x45
    >Crm Exception: Message: An unexpected error occurred., ErrorCode: -2147220970
    [2013-09-18 00:09:15.419] Process: w3wp |Organization:a02417c1-4438-e011-afc4-001cc0a76c0d |Thread:   18 |Category: Application |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: f8cb80c1-0fea-45ef-9f66-a1467b23f624 | ErrorInformation.LogError  ilOffset = 0x17
     at ErrorInformation.LogError()  ilOffset = 0x17
     at ErrorInformation..ctor(Exception exception, Uri requestUrl, Boolean logError, IOrganizationContext context)  ilOffset = 0x1F5
     at ErrorInformation..ctor(Exception exception, Uri requestUrl, IOrganizationContext context)  ilOffset = 0x0
     at MainApplication.Application_Error(Object sender, EventArgs eventArguments)  ilOffset = 0x81
     at EventHandler.Invoke(Object sender, EventArgs e)  ilOffset = 0xFFFFFFFF
     at HttpApplication.RaiseOnError()  ilOffset = 0x26
     at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x82
     at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C
     at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0xFC
     at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x45
    >MSCRM Error Report:
    --------------------------------------------------------------------------------------------------------
    Error: Exception of type 'System.Web.HttpUnhandledException' was thrown.

    Error Number: 0x80040216

    Error Message: An unexpected error occurred.

    Error Details: An unexpected error occurred.

    Source File: Not available

    Line Number: Not available

    Request URL: http://localhost/MTS/userdefined/edit.aspx?_gridType=1&etc=1&id=%7bAC426FCD-7B9B-464F-AB60-6CF6DA17765D%7d&pagemode=iframe&preloadcache=1379477310804&rskey=170621113

    Stack Trace Info: [CrmException: An unexpected error occurred.]
       at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()
       at Microsoft.Crm.Application.Platform.ServiceCommands.AssignCommand.Execute()
       at Microsoft.Crm.Application.Platform.DataSource.Assign(Guid entityId, String entityType, SecurityPrincipal principal, IOrganizationContext context)
       at Microsoft.Crm.Application.Forms.AppForm.HandleFormEventAssign(Boolean gridRefreshCallbackAdded)
       at Microsoft.Crm.Application.Forms.AppForm.FormAssignEvent()
       at Microsoft.Crm.Application.Forms.AppForm.RaiseDataEvent(FormEventId eventId)
       at Microsoft.Crm.Application.Forms.EndUserForm.Initialize(Entity entity)
       at Microsoft.Crm.Application.Forms.CustomizableForm.Execute(Entity entity, FormDescriptor fd)
       at Microsoft.Crm.Application.Components.PageHandlers.AccountRecordPageHandler.ConfigureFormHandler()
       at Microsoft.Crm.Application.Components.PageHandlers.RecordPageHandler.ConfigureFormWrapper()
       at Microsoft.Crm.Application.Components.Utility.GenericEventProcessor.RaiseEvent(String eventName)
       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)


    Wednesday, September 18, 2013 4:27 AM
  • Hi,

    Any one faced the same issue??

    Wednesday, September 18, 2013 10:59 AM
  • check if the logged in user that is trying to assign the record has enough permissions to assign. login as a system administrator and see if you are able to assign. if that works the current user has permission problems. if it still throws error the team has permission problems.

    try assign the record to a system administrator and see if that works.

    this should help you nail down the permission issues.

    HTH

    Sam


    Dynamics CRM MVP | Inogic | http://inogic.blogspot.com| news at inogic dot com

    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    • Proposed as answer by Sam - Inogic Wednesday, September 18, 2013 12:24 PM
    Wednesday, September 18, 2013 12:24 PM
  • Hi,

    For System administrator also coming same error. Team having permissions on Account. But Account having some associated records. Is there any possibility that error can occur if team doesn't have permissions on those associated records ?

    Wednesday, September 18, 2013 5:27 PM
  • Hi, Any one faced same issue? For System administrator also coming same error. Team having permissions on Account. But Account having some associated records. Is there any possibility that error can occur if team doesn't have permissions on those associated records ?
    Saturday, September 21, 2013 3:47 AM
  • Hi Guys,

    can any one solve my issue? Thanks in Advance

    Monday, September 23, 2013 4:42 PM
  • Hi,

    The error won't go even if you have System Admin privileges. The root cause of your error revolves around 'assign' message for account. Here is what I found in your log:

    MessageProcessor fail to process message 'Assign' for 'account'.

    Also here is more information about your error:

    >at AssignCommand.Execute() 

    >System.NullReferenceException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #02E159DD: System.NullReferenceException: Object reference not set to an instance of an object.

    The team that you are using for this assignment doesn't have appropriate privileges. Give the team more privileges and then try the assignment again. I am sure the error would go away. 

    Let us know how you go with it. Thanks,


    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful" Thanks, Imran Abbasi

    • Proposed as answer by Imran I Abbasi Tuesday, September 24, 2013 5:53 AM
    Tuesday, September 24, 2013 5:53 AM
  • Hi, 

    I do face the same issue. 

    There is one specific Account for which I receive an error when I try to assign it (even if I try to assign to the admin himself). 
    Somebody found a solution ? 

    Plugin Trace:

    [Microsoft.Xrm.Sdk.Workflow: Microsoft.Xrm.Sdk.Workflow.Activities.AssignEntity]
    [AssignStep1]

    Error Message:

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: All entities must be found.Detail: 
    <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
      <ErrorCode>-2147220970</ErrorCode>
      <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
      <Message>All entities must be found.</Message>
      <Timestamp>2016-12-30T14:40:20.225419Z</Timestamp>
      <InnerFault>
        <ErrorCode>-2147220970</ErrorCode>
        <ErrorDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
        <Message>All entities must be found.</Message>
        <Timestamp>2016-12-30T14:40:20.225419Z</Timestamp>
        <InnerFault i:nil="true" />
        <TraceText i:nil="true" />
      </InnerFault>
      <TraceText>[Microsoft.Xrm.Sdk.Workflow: Microsoft.Xrm.Sdk.Workflow.Activities.AssignEntity]
    [AssignStep1]
    </TraceText>
    </OrganizationServiceFault>
       at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)
       at Microsoft.Crm.Extensibility.InprocessServiceProxy.ExecuteCore(OrganizationRequest request)
       at Microsoft.Crm.Workflow.Services.AssignActivityService.Assign(String entityName, Guid entityId, AssignType assignType, Guid assignTo, IOrganizationService sdkService)
       at Microsoft.Crm.Workflow.Services.AssignActivityService.<>c__DisplayClass1.<AssignInternal>b__0(IOrganizationService sdkService)
       at Microsoft.Crm.Workflow.Services.ActivityServiceBase.ExecuteInTransactedContext(ActivityDelegate activityDelegate)
       at Microsoft.Crm.Workflow.Services.AssignActivityService.AssignInternal(Guid entityId, String entityName, AssignType assignType, Guid assignTo)
       at Microsoft.Crm.Workflow.Services.AssignActivityService.ExecuteInternal(ActivityContext executionContext, AssignEntity assignEntity)
       at Microsoft.Crm.Workflow.Services.AssignActivityService.Execute(ActivityContext executionContext, AssignEntity assignEntity)
       at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
       at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

    Kind regards,
    Douglas


    Friday, December 30, 2016 4:31 PM