"TimeSpan overflowed" Error After You Install Update Rollup 2 for Exchange Server 2007 SP2
Applies to: Exchange Server 2007 SP2
Topic Last Modified: 2010-02-03
This topic provides information about how to troubleshoot a problem in which you use public folders in your Exchange Server 2007 organization, and you also have set the retention period on the public folder database to be greater than 123 days. After you install Update Rollup 2 for Exchange Server 2007 Service Pack 2 (SP2), and then you try to access the public folder database by using the Exchange Management Console, you receive the following error message:
TimeSpan overflowed because the duration is too long
If you try to access Exchange by using Outlook Web Access, you receive the following error message:
This problem occurs because of an existing issue in Exchange Server 2007. In this case, the value of the database item retention limit for the public folder in Active Directory is configured in seconds instead of in days. The Exchange Store expects this value in days. Therefore messages may never expire.
This problem is fixed in Update Rollup 2 for Exchange Server 2007 SP2 by using days instead of seconds. However, if a public folder database retention limit is set to greater than 123 days in Exchange Server 2007, and if you apply Update Rollup 2 for Exchange Server 2007, you receive an exception error. This error occurs when you try to access the public folder store by using either the Exchange Management Console or Outlook Web Access.
If you are using public folders, and if you have set the retention period on the public folder database to be less than or equal to 123 days, you receive a warning message. However, Exchange Server 2007 continues to function correctly.
Regardless of the value setting, if you receive this error message or warning message, you can use the following steps in the "Procedure" section to fix the problem.
To resolve this problem, change the msExchOverallAgeLimit value by using ADSIEdit.To Change the msExchOverallAgeLimit Value
Click Start, type adsiedit.msc in the Start Search box, and then press ENTER.
In the ADSIEdit snap-in, Click Action, and then click Connect to.
From the Well-known naming context list, select Configuration.
Expand the following list item and sub-items in order:
- CN=Services|CN=Microsoft Exchange
- CN=Administrative Groups
- CN=Information Store
- CN= Second Storage Group
Double-click CN=Public Folder Database.
Change the existing value from seconds to days by dividing the existing value by 86,400.
|You must repeat these steps on all Public Folder Databases in the Exchange 2007 environment.|
For more information about Update Rollup 2 for Exchange Server 2007 SP2, see Description of Update Rollup 2 for Microsoft Exchange Server 2007 Service Pack 2.
For more information about this issue, see The "age limits" function of a public folder do not work as expected in an Exchange Server 2007 environment.