You cannot create a follow-up activity if you set the "Assign to" field to a queue in Microsoft Dynamics CRM 4.0

Article translations Article translations
Article ID: 954917 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

Consider the following scenario. You create a new account in Microsoft Dynamics CRM 4.0. In the Form Assistant, you create a new follow-up activity. Then, you select a queue in the Assign to field. In this scenario, when you click Save, you receive the following error message:
Error: Exception has been thrown by the target of an invocation. Error Number: 0x8004023B Error Message: Invalid Object Type: 2020 provided on attribute: ownerid
Additionally, the follow-up activity is not assigned as you expected.

RESOLUTION

This problem is fixed in the latest cumulative update rollup for Microsoft Dynamics CRM 4.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
949256 Microsoft Dynamics CRM 4.0 updates and hotfixes

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

This issue manifests differently based on the CRM hotfixes that are installed.
  • If you did not install hotfix 948008, no error message is reported. The assignment to a queue or a user is not performed.
  • If you installed hotfix 948008, the assignment to a user is performed correctly. However, the assignment to a queue generates an interactive error message. If CRM platform tracing is enabled, you may see detailed error messages that resemble the following:
    Error: Exception has been thrown by the target of an invocation.
    Error Number: 0x8004023B
    Error Message: Invalid Object Type: 2020 provided on attribute: ownerid
    Error Details: Invalid Object Type: 2020 provided on attribute: ownerid
    Source File: Not available
    Line Number: Not available
    Request URL: http://crmsite:5555/CRMORG/AppWebServices/ActivitiesWebService.asmx
    Stack Trace Info: [CrmException: Invalid Object Type: 2020 provided on attribute: ownerid]
    at Microsoft.Crm.BusinessEntities.ProcessAggregatesExtension.ProcessAggregates(Object sender, ExtensionEventArgs e)
    at Microsoft.Crm.BusinessEntities.ProcessAggregatesExtension.ProcessAggregateAttributes(BusinessEntity entity, AttributeMetadata attributeMetadata, Hashtable aggregateAttributes, ArrayList aggregateOfAttributes, ArrayList aggregateAttributesToClear)
    at Microsoft.Crm.BusinessEntities.BusinessProcessObject.PreCreateEventHandler.Invoke(Object sender, ExtensionEventArgs e)
    at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Create(IBusinessEntity entity, ExecutionContext context)
    at Microsoft.Crm.ObjectModel.GenericActivityServiceBase.Create(IBusinessEntity entityInterface, ExecutionContext context)
    at Microsoft.Crm.ObjectModel.TaskService.Create(IBusinessEntity entity, ExecutionContext context)

    [TargetInvocationException: Exception has been thrown by the target of an invocation.]
    at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
    at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle 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(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.RequestBase.Process(Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
    at Microsoft.Crm.Sdk.RequestBase.Process(CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
    at Microsoft.Crm.Sdk.CrmServiceInternal.Execute(RequestBase request, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId)
    at Microsoft.Crm.Sdk.InProcessCrmService.Execute(Object request)
    at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.ExecuteInternal()
    at Microsoft.Crm.Application.Platform.ServiceCommands.CreateCommand.Execute()
    at Microsoft.Crm.Application.Platform.DataSource.Create(Entity entity, Boolean performDuplicateCheck)
    at Microsoft.Crm.Application.Platform.EntityProxy.Create(Boolean performDuplicateCheck)
    at Microsoft.Crm.Application.Platform.EntityProxy.Create()
Note For performance reasons, the hotfix only allows views of rollup sub-account related records up to five sub-levels.For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
887283 Microsoft Business Solutions CRM software hotfix and update package naming standards

Properties

Article ID: 954917 - Last Review: January 20, 2012 - Revision: 3.3
APPLIES TO
  • Microsoft Dynamics CRM 4.0
Keywords: 
kbexpertiseinter kbautohotfix kbmbsmigrate kbqfe kbhotfixserver KB954917

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com