Microsoft KB Archive/907974

= Event ID 7514 is logged in the Application log when you enable the custom word list feature in Intelligent Message Filter version 2 on a server that is running Exchange Server 2003 Service Pack 2 =

Article ID: 907974

Article Last Modified on 10/30/2007

-

APPLIES TO


 * Microsoft Exchange Server 2003 Service Pack 2

-





SYMPTOMS
Consider the following scenario. On a server that is running Microsoft Exchange Server 2003 Service Pack 2 (SP2), you create the MSExchange.UceContentFilter.xml file to enable the custom word list feature in Microsoft Exchange Intelligent Message Filter version 2. Additionally, you save the MSExchange.UceContentFilter.xml file in the :\Program Files\Exchsrvr\bin\MSCFV2 folder. Note that :\Program Files\Exchsrvr is the folder in which Exchange Server 2003 is installed. Then, you register the MSExchange.UceContentFilter.dll file. After you register the MSExchange.UceContentFilter.dll file, Intelligent Message Filter version 2 does not work. Additionally, an event that is similar to the following is logged in the Application log: Event Type: Error

Event Source: MSExchangeTransport

Event Category: SMTP Protocol

Event ID: 7514

Date: Date

Time: Time

User: N/A

Computer: Computer_Name

Description: An error occurred while loading Microsoft Exchange Intelligent Message Filter. The error code is 0x80004005.



CAUSE
By default, the MSExchange.UceContentFilter.xml file is saved in the ANSI format.



RESOLUTION
To resolve this problem, save the MSExchange.UceContentFilter.xml file in the Unicode format.

To verify that the file is saved in the ANSI format, follow these steps:  Open the MSExchange.UceContentFilter.xml file in Microsoft Internet Explorer. You will receive an error message that is similar to the following:

The XML page cannot be displayed

Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.

_________________________________________________________________

Switch from current encoding to specified encoding not supported. Error processing resource 'file:///C:/Program Files/Exchs...





To save the MSExchange.UceContentFilter.xml file in the Unicode format, follow these steps:
 * 1) Open the MSExchange.UceContentFilter.xml file in Notepad.
 * 2) On the File menu, click Save as.
 * 3) In the Encoding box, click Unicode, and then click Save.
 * 4) Quit Notepad.
 * 5) To verify that the MSExchange.UceContentFilter.xml file is in the correct format, open the MSExchange.UceContentFilter.xml file in Internet Explorer. The file will open without errors.



Steps to reproduce the problem
 Start Notepad. Type the following text in the Notepad document:

<?xml version=&quot;1.0&quot; encoding=&quot;UTF-16&quot;?>

<CustomWeightEntries xmlns=&quot;http://schemas.microsoft.com/2005/CustomWeight&quot;>

<CustomWeightEntry Type=&quot;SUBJECT&quot; Change=&quot;MAX&quot; Text=&quot;contoso&quot;/> </CustomWeightEntries>

</li> On the File menu, click Save as</li> In the File Name box, type MSExchange.UceContentFilter.xml, and then click Save. By default, ANSI encoding is displayed in the Encoding box.</li> Quit Notepad.</li> Copy the file to the bin\MSCFV2 folder. Note that  is the folder where Exchange is installed. If you have to, rename the existing word list file in the  folder.</li> If you have not registered the DLL, click Start, click Run, type regsvr32 Drive_letter:\Program Files\Exchsrvr\bin\MSCFV2\ MSExchange.UceContentFilter.dll, and then click OK. If you have already registered the DLL, go to step 9.</li> In the Services snap-in, restart the Simple Mail Transfer Protocol (SMTP) service.</li> Create a new e-mail message that contains the text  in the Subject box. Send the message to a user on the server that is running Exchange Server 2003 SP2.</li> The e-mail message is delivered to the recipient. Additionally, event 7514 is logged in the Application log.</li></ol>

Expected result

The e-mail message is not delivered to the recipient. Additionally, no error event is logged.

<div class="references_section">