OL98: Certain Date Format Causes Error on Specific Dates or Once Every 65 Seconds in Japan (265013)



The information in this article applies to:

  • Microsoft Outlook 98

This article was previously published under Q265013

SYMPTOMS

When you use a certain date format to find or restrict items in Outlook in a Japanese locale, the following error message may be displayed on specific dates (for example, September 29, 2000) and again every 256 day period, or once every 65 seconds (approximately):
Run-time Error '-2147352567 (80020009)': Type mismatch or the value "xx/xx/xx xx:xx" in the condition is not valid.
The date format that causes this problem may vary as follows.

Date FormatOperating SystemPeriod
yy/mm/dd HH:MMMicrosoft Windows 95256 days
yyyy/mm/dd HH:MMMicrosoft Windows NT 4.065 seconds

CAUSE

This problem can occur because in Outlook, the work space (stack) of the data format string is also used to acquire the current time, and the work space is reused without initialization.

If the Restrict method is used on January 17, 2000 or once every 65 seconds, the current time in internal form that is preserved in the work space is recognized as a part of the data format string when the work space is used again. As the result, the date that is specified with the Restrict method cannot be recognized properly, and an error occurs.

This problem occurs every 256 days in the period, for example, on June 12, 2001 and on September 29, 2000. This problem depends on the client's current time, and does not depend on the date that is specified with the Restrict method.

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix should have the following file attributes or later:
   Date          Time      Size        File name    Operating system
   -----------------------------------------------------------------
   15-Sep-2000   8:53:59   3,837,952   Update.exe   Windows
				
After the fix is installed, the following files will have the listed attributes or later:
   Date          Time      Version      Size        File name     Operating system
   -------------------------------------------------------------------------------
   15-Sep-2000   8:53:23   8.5.8114.0   6,627,328   Outllib.dll   Windows
				
NOTE: You must apply the Outlook Security Update before you apply this fix. For additional information about applying the Outlook Security Update, see the following Microsoft Web site:

WORKAROUND

Do not use the "yy/mm/dd HH:MM" or "yyyy/mm/dd HH:MM" format in the Restrict method.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Modification Type:MinorLast Reviewed:10/18/2005
Keywords:kbbug kberrmsg kbfix kbQFE KB265013