Microsoft KB Archive/916572

= Error message when you complete Task activities in Microsoft Dynamics CRM 3.0: &quot;Microsoft CRM Unhandled Error Details: Server Error in '/' Application&quot; =

Article ID: 916572

Article Last Modified on 8/9/2006

-

APPLIES TO


 * Microsoft Dynamics CRM 3.0

-





SYMPTOMS
When you complete Task activities in Microsoft Dynamics CRM 3.0, you receive the following error message:

Microsoft CRM Unhandled Error Details:

Server Error in '/' Application.

Server was unable to process request.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.Services.Protocols.SoapException: Server was unable to process request.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[SoapException: Server was unable to process request.] System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +1491

System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +218

Microsoft.Crm.Platform.Proxy.TaskWebService.Retrieve(Guid id, ColumnSetBase columnSet) +100

Microsoft.Crm.Application.SMWrappers.Task.OMRetrieve(Guid id, ColumnSet columnSet) +54

Microsoft.Crm.Application.SMWrappers.ObjectBase.OMRetrieve(Guid id) +34

Microsoft.Crm.Application.SMWrappers.ObjectBase.InternalRetrieve(String id, String columnSet) +72

Microsoft.Crm.Application.Platform.ActivityBase.InternalRetrieve(String id, String columnSet) +25

Microsoft.Crm.Application.Platform.Entity.Retrieve(String columnSet) +126

Microsoft.Crm.Application.Platform.Entity.Retrieve +10

Microsoft.Crm.Web.Activities.BasicActivityPage.ChangeState(Object sender, DataEventArgs e) +253

Microsoft.Crm.Application.Forms.DataEventProcessor.Raise(FormEventId eventId, FormState state, User user, String objectId, Entity entity) +176

Microsoft.Crm.Application.Forms.AppForm.RaiseDataEvent(FormEventId eventId) +89

Microsoft.Crm.Application.Forms.EndUserForm.Initialize(Entity entity) +56

Microsoft.Crm.Application.Forms.CustomizableForm.Execute(Entity entity, String formId, String formType) +83

Microsoft.Crm.Application.Forms.CustomizableForm.Execute(Entity entity) +13

Microsoft.Crm.Web.Activities.BasicActivityPage.ConfigureForm +198

Microsoft.Crm.Application.Controls.AppPage.OnPreRender(EventArgs e) +30

System.Web.UI.Control.PreRenderRecursiveInternal +54

System.Web.UI.Page.ProcessRequestMain +1499

This problem occurs after you upgrade to Microsoft Dynamics CRM 3.0.



CAUSE
This problem occurs because of an error in the cfsdirectioncode field. The field is a picklist field, but there is no picklist value in the field metadata.

Note The cfsdirectioncode field must be present during the upgrade because the installation application must detect the data that is in the field to process Task activities. You can add data to the field by using the Microsoft CRM Software Development Kit (SDK). You cannot access the field by using the User Interface (UI).



RESOLUTION
To resolve this problem, delete the cfsdirectioncode picklist attribute. To do this, follow these steps.  Make sure that the cfsdirectioncode picklist attribute is not required. To do this, follow these steps:  In Microsoft CRM, click Settings, click Customization, and then click Customize Entities. In the Customization Entries dialog box, double-click Task. Click Forms and Views, and then double-click Form. If the cfsdirectioncode field does not appear on the form, go to step 2. Select the cfsdirectioncode field, and then click Change Properties.</li> Verify that the Lock the Field on the form check box is cleared.</li></ol> </li> Delete the cfsdirectioncode picklist attribute. To do this, follow these steps.

Note After you complete these steps, the data that is in the cfsdirectioncode field will be lost. <ol style="list-style-type: lower-alpha;"> On the Microsoft CRM client, click Settings, click Customization, and then click Customize Entities.</li> In the Customization Entries dialog box, double-click Task.</li> In the Entity:Task dialog box, click Attributes.</li> Select the cfsdirectioncode picklist attribute, and then click Delete.</li> Click Save and Close.</li> Click Publish.</li></ol> </li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbtshoot kberrmsg kbmbsmigrate kbprb KB916572

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.