Microsoft KB Archive/262902

= XWEB: &quot;Your Current Password Is About to Expire in 0 Days&quot; Error in OWA =

Article ID: 262902

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Exchange Server 5.5 Service Pack 3
 * Microsoft Exchange Server 5.5 Service Pack 1
 * Microsoft Exchange Server 5.5 Service Pack 2
 * Microsoft Exchange Server 5.5 Standard Edition

-



This article was previously published under Q262902



SYMPTOMS
When you log on to an Exchange Server 5.5-based computer using the Outlook Web Access client, you may receive the following error message:

Your current password is about to expire in 0 days



CAUSE
The following articles reference possible causes of this error:

190433 XWEB: Err Msg: Current Password Is About to Expire in 0 Days

236909 XWEB: Current Password Is About to Expire in 0 Days Message Using OWA

238444 XWEB: OWA Current Password Is About to Expire in 0 Days Message After Installing Service Pack 3



RESOLUTION
To resolve this behavior, first attempt to use the resolutions that are suggested in the articles referred to in the &quot;Cause&quot; section of this article. If you are still unable to resolve the behavior, or if the articles to not apply to your particular situation, follow these steps:  Go to the C:\Exchsrvr\Webdata\USA folder.

Note This location assumes that Exchange Server 5.5 was installed on drive C, and that the default folder name of Exchsrvr was used. Open the Root.asp file, and then edit it:  Look for the line that reads:

if cint(days) < 0 then days = 10000

 Change the line to:

if cint(days) < 1 then days = 10000

  Save, and then close the file.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
The resolution described in this article is preferable to the &quot;constant.inc&quot; workaround that is described in Q190433, which disables clients' ability to change passwords from OWA.

The IF statement is included to filter out invalid values for the HTTP_REQ_PWD_EXPIRE variable. It is possible for this variable to always be returned with the value of 0, which is technically incorrect but not flagged because the original code is looking for values less than 0. So, by changing this value to 1, you are prompted to change your password starting on the 15th day (which is the default) until there is only one day left. When there are no days left, you are then forced to change your password.

Additional query words: zero

Keywords: kbprb KB262902

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.