DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 955452 - Last Review: January 20, 2012 - Revision: 3.3

Hotfix Download Available
View and request hotfix downloads
 

SYMPTOMS

When you send an e-mail message that uses an e-mail template to render data that has line feeds in Microsoft Dynamics CRM 4.0, the line feeds that are included in the data are not used. Instead, the data in the e-mail message is concatenated together. The data does not appear on separate lines.

For example, you create a contact type e-mail template that contains the {!Contact:Description;} code. When you try to send an e-mail message that uses the e-mail template for a contact record, the e-mail message should display a description as follows:
Line 1
Line 2
Line 3
However, the e-mail message displays the description without line feeds, as follows:
Line 1Line 2Line 3
This problem occurs if the e-mail template renders data that merges the nvarchar data type and the ntext data type.

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  (http://support.microsoft.com/kb/949256/ ) Microsoft Dynamics CRM 4.0 updates and hotfixes

Installation information

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756  (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows
Install this cumulative update rollup on computers that are running the Microsoft Dynamics CRM 4.0 server components

Use the following registry keys to enable the fix:
  • On the Microsoft Dynamics CRM Server, locate the following registry subkey:
    SOFTWARE\Microsoft\MSCRM\SDKEmailTemplateHTMLLineBreak = 1
  • On the Microsoft Dynamics CRM client for Outlook, locate the following registry key:
    SOFTWARE\Microsoft\MSCRMClient\SDKEmailTemplateHTMLLineBreak = 1

Prerequisites

No prerequisites are required.

Restart requirement

If you are prompted, restart the computer after you install the cumulative update rollup.

STATUS

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

MORE INFORMATION

For more information about the terminology that is used to describe Microsoft software updates, click the following article numbers to view the articles in the Microsoft Knowledge Base:
824684  (http://support.microsoft.com/kb/824684/ ) Description of the standard terminology that is used to describe Microsoft software updates
887283  (http://support.microsoft.com/kb/887283/ ) Microsoft Business Solutions CRM software hotfix and update package naming standards

APPLIES TO
  • Microsoft Dynamics CRM 4.0
Keywords: 
kbexpertiseinter kbfix kbautohotfix kbmbsmigrate kbqfe kbhotfixserver KB955452
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support