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.

XWEB: "Your Current Password Is About to Expire in 0 Days" Error in OWA


View products that this article applies to.

This article was previously published under Q262902

↑ Back to the top


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

↑ Back to the top


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

↑ Back to the top


Resolution

To resolve this behavior, first attempt to use the resolutions that are suggested in the articles referred to in the "Cause" 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:
  1. 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.
  2. Open the Root.asp file, and then edit it:
    1. Look for the line that reads:
      if cint(days) < 0 then days = 10000
    2. Change the line to:
      if cint(days) < 1 then days = 10000
  3. Save, and then close the file.

↑ Back to the top


More information

The resolution described in this article is preferable to the "constant.inc" 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.

↑ Back to the top


Keywords: KB262902, kbprb

↑ Back to the top

Article Info
Article ID : 262902
Revision : 6
Created on : 10/27/2006
Published on : 10/27/2006
Exists online : False
Views : 449