Certain Condition Fragments Cause VBScript Compilation Error '800a03ee'

ID: Q188275


The information in this article applies to:


SYMPTOMS

When you use Rule Builder to establish a rule using the "user property equals date/time" or "user property is in date/time range" condition fragments, you may receive an error message. The error can occur when you clear the "Time:" check box or when you clear the "On or After:" or "On or Before:" check boxes. The error message that appears when you access your site is as follows:

Microsoft VBScript compilation error '800a03ee'


   Expected ')'
   <rule file path and line number>
   If  ((  ( DateDiff("d",  CDate( User.birthDate  ) ),"12:00:00
   AM") <= 0 )

    ---------------------------------------------------^
   AND ( DateDiff("s",  CDate( User.birthDate  ) , "<date>") >= 0
   )  ))  Then" 


CAUSE

When Rule Builder builds the rules file, it misconfigures the parenthesis in the condition.


RESOLUTION

To resolve this problem, apply the latest Site Server 3.0 service pack.


STATUS

Microsoft has confirmed this to be a problem in Site Server version 3.0. This problem has been corrected in the latest U.S. service pack for Microsoft Site Server version 3.0. For information on obtaining the service pack, query on the following word in the Microsoft Knowledge Base (without the spaces):

S E R V P A C K

Additional query words: sp


Keywords          : Ss3Sp1fix 
Version           : WINNT:3.0
Platform          : winnt 
Issue type        : kbbug 

Last Reviewed: July 15, 1999