locked
CRM 2011 - Phone Call Distribution - Throwing Error RRS feed

  • Question

  • Hi All,

    I am upgrading from CRM 4.0 to 2011. Having issue on Phone call "Distribute Campaign Activity". In CRM 4.0, status reason value "Completed" (6) from the campaign activity entity has been remove because of that I am getting below error in CRM 2011. Let me know if anyone having idea to restore the value (6) or overcome this issue.

    Its working fine in CRM 4.0 envirnoment.

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: 6 is not a valid status code on campaignactivity.Detail: 
    <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
    <ErrorCode>-2147187704</ErrorCode>
    <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
    <Message>6 is not a valid status code on campaignactivity.</Message>
    <Timestamp>2014-02-17T06:15:39.297219Z</Timestamp>
    <InnerFault>
    <ErrorCode>-2147187704</ErrorCode>
    <ErrorDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
    <Message>6 is not a valid status code on campaignactivity.</Message>
    <Timestamp>2014-02-17T06:15:39.297219Z</Timestamp>
    <InnerFault>
    <ErrorCode>-2147220970</ErrorCode>
    <ErrorDetails xmlns:d4p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
    <Message>System.ArgumentException: 6 is not a valid status code on campaignactivity.
    Parameter name: statusCode</Message>
    <Timestamp>2014-02-17T06:15:39.297219Z</Timestamp>
    <InnerFault i:nil="true" />
    <TraceText i:nil="true" />
    </InnerFault>
    <TraceText i:nil="true" />
    </InnerFault>
    <TraceText i:nil="true" />
    </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.Asynchronous.ActivityPropagationOperation.CleanupBulkOperation(Guid bulkOperationId)
    at Microsoft.Crm.Asynchronous.ActivityPropagationOperation.InternalExecute(AsyncEvent asyncEvent)
    at Microsoft.Crm.Asynchronous.AsyncOperationCommand.Execute(AsyncEvent asyncEvent)
    at Microsoft.Crm.Asynchronous.PoolHandler.ProcessAsyncEvent(IGenericEventData eventData)


    Prabhu G



    Wednesday, February 19, 2014 12:01 PM

All replies

  • Hi

    How are you upgrading it ? 

    Is it Organization import?

    Wednesday, February 19, 2014 12:32 PM
  • I don't have any issues on crm up-gradation.

    After CRM 2011 upgradation, I am getting above error when i distribute the phone call activity.



    Prabhu G

    Wednesday, February 19, 2014 12:53 PM
  • Hi

    Did you check the campaign activity status reason values. Might be its not there in the list.

    Removed or updated.

    Wednesday, February 19, 2014 1:23 PM