Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

ThresholdDate in SystemState.xml might be set back after upgrade


View products that this article applies to.

Symptoms

Email router polls through the entire user’s inbox and processes all emails - even if they have been processed before.
This means a lot of redundant processing work is done. Dependent on the number of emails and users, it can take email router a while to finish the re-processing. Emails which have been deleted by CRM users before, might be brought back into the system.

This issue might be caused if the following conditions are both true:


1) Email Router is not started with security context of LocalSystem account but with a different account
2) Email Router was upgraded to version CRM 2011


↑ Back to the top


Cause

The ThresholdDate timestamp values of user profiles within the file SystemState.xml will be set back to "0001-01-01" during upgrade.

Note: You can find the SystemState.xml file here:

<drive>:\Program Files\Microsoft CRM Email\Service\Microsoft.Crm.Tools.EmailAgent.SystemState.xml


↑ Back to the top


Resolution

Use this workaround if you hit the issue described above.

1) Stop Email Router service after upgrade

2) Change log on account for Email Router service

3) Delete the file C:\Program Files\Microsoft CRM Email\Service\Microsoft.Crm.Tools.EmailAgent.SystemState.xml

4) Start Email Router service

This will allow Email Router to use the contents of the backup system state file of CRM 4.0 that was created during upgrade. It will then re-populate the StateXML values and thereby continuing to process the mails where it left off in CRM 4.0


↑ Back to the top


More Information

Issue applies to RTW (version 5.0.9688.32 or higher), but will be fixed in RTM version.

↑ Back to the top


Keywords: kbmbspartner, kbmbsmigrate, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 2491350
Revision : 1
Created on : 1/7/2017
Published on : 1/12/2011
Exists online : False
Views : 280