Access Violation If the LogFileDateFormat Registry Value Uses Long Date Format (265628)



The information in this article applies to:

  • Microsoft Proxy Server 2.0

This article was previously published under Q265628

SYMPTOMS

If the LogFileDateFormat registry value is configured in the long date format (for example, dddd/MMMM/yyyy), and you are using Proxy Server 2.0 Service Pack 1 or the hotfix that is referenced in Microsoft Knowledge Base article 228540, you may receive an access violation (AV) in Proxy Server.

CAUSE

This problem occurs because the Date/Time string variable that is used to store the string is not re-initialized each time the string changes. As a result, the string becomes too long and causes stack corruption.

RESOLUTION

To resolve this problem, do not use the long date format. Although the hotfix for 228540 allows for the four digit year (for example, d/M/yyyy), do not change the entire date format to the long format (dddd/MMMM/yyyy).

STATUS

Microsoft has confirmed that this is a problem in Proxy Server 2.0.

Modification Type:MajorLast Reviewed:10/16/2002
Keywords:kbbug kbDSupport kbQFE KB265628