|
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.
Back to the top
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).
Back to the top
RESOLUTION
To resolve this problem, delete the cfsdirectioncode picklist
attribute. To do this, follow these steps.
1. Make sure that the cfsdirectioncode picklist attribute is
not required. To do this, follow these steps:
a. In Microsoft CRM, click Settings, click Customization, and
then click Customize Entities.
b. In the Customization Entries dialog box, double-click Task.
c. Click Forms and Views, and then double-click Form.
d. If the cfsdirectioncode field does not appear on the form,
go to step 2.
e. Select the cfsdirectioncode field, and then click Change
Properties.
f. Verify that the Lock the Field on the form check box is
cleared.
2. 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.
a. On the Microsoft CRM client, click Settings, click
Customization, and then click Customize Entities.
b. In the Customization Entries dialog box, double-click Task.
c. In the Entity:Task dialog box, click Attributes.
d. Select the cfsdirectioncode picklist attribute, and then
click Delete.
e. Click Save and Close.
f. Click Publish.
|