When you open, close or save a campaign in Microsoft Dynamics CRM 4.0, you may receive an error message that resembles the following error message:

crm2011

Microsoft Dynamics CRM has encountered an error. Please tell Microsoft about this problem.

View the data that will be sent to Microsoft

When you click the View the data that will be sent to Microsoft link, you receive the following messages:

Microsoft Dynamics CRM Error Report Contents <CrmScriptErrorReport> <ReportVersion>1.0</ReportVersion>

<ScriptErrorDetails>

<Message>’proposedend’ is undefined</Message> <Line>263</Line> <URL>/Roundstone/ma/campaignactivity/edit.aspx?id={50DC5192-C8DF-DC11-89DB-0003FF13B500}&_CreateFromType=4400&_CreateFromId=%7bD00B055A-C8DF-DC11-89DB-0003FF13B500%7d

</URL> <PageURL>/Roundstone/ma/campaignactivity/edit.aspx?id={50DC5192-C8DF-DC11-89DB-0003FF13B500}&_CreateFromType=4400&_CreateFromId=%7bD00B055A-C8DF-DC11-89DB-0003FF13B500%7d

</PageURL>

<Function>attachTimeControlEvents( )</Function> <CallStack> <Function>attachTimeControlEvents( )</Function> <Function>window.onload( )</Function> </CallStack> </ScriptErrorDetails> <ClientInformation> <BrowserUserAgent>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)</BrowserUserAgent>

<BrowserLanguage>en-us</BrowserLanguage>

<SystemLanguage>en-gb</SystemLanguage>

<UserLanguage>en-gb</UserLanguage>

<ScreenResolution>1240×896</ScreenResolution>

<ClientName>Web</ClientName>

</ClientInformation> <ServerInformation> <OrgLanguage>1033</OrgLanguage> <OrgCulture>1033</OrgCulture> <UserLanguage>1033</UserLanguage> <UserCulture>1033</UserCulture> <OrgID>{9925B344-669E-4A1F-A734-B9EC80718478}</OrgID>

<UserID>{1BDC4A69-20BA-DC11-87AF-0003FF13B500}</UserID>

<CRMVersion>4.0.7333.3</CRMVersion>

</ServerInformation>

</CrmScriptErrorReport>

CAUSE

This problem occurs because the Proposed End Date field and the Proposed Begin Date field are missing on the campaign entity form. These fields must be present although these fields are not listed as business required fields.

RESOLUTION

To resolve this problem, use one of the following methods:

Method 1: Add the Proposed End Date field and the Proposed Start Date field to the form To do this, follow these steps:

1.    Click Settings, click Customization, and then click Customize Entities.

2.    Double-click Campaign, click Forms and Views, and then double-click Form.

3.    Select the section where the fields should be added, and then click Add Fields.

4.    Click to select the Proposed End Date check box and the Proposed Start Date check box, and then click OK.

5.    If you do not have to edit the field on the form, double-click the fields, and then set the fields as read-only.

6.    Click Save and Close.

Method 2: Add a new tab to contain the Proposed End Date field and the Proposed Start Date field on the form To do this, follow these steps:

1.    Click Settings, click Customization, and then click Customize Entities.

2.    Double-click Campaign, click Forms and Views, and then double-click Form.

3.    Click Add a tab, type an appropriate name in the Name field, and then click OK.

4.    Click Add a Section to add a section, enter all required fields, and then click Add Fields.

5.    Click to select the Proposed End Date check box and the Proposed Start Date check box, and then click OK.

6.    Click Save and Close.

Avatar for Joe D365

Joe D365

Joe D365 is a Microsoft Dynamics 365 superhero who runs on pure Dynamics adrenaline. As the face of PowerObjects, Joe D365’s mission is to reveal innovative ways to use Dynamics 365 and bring the application to more businesses and organizations around the world.