Microsoft SQL Server Native Client 11.0 error '800a0046'

Incorrect syntax near ')'.

/monthly/asplib/functions.asp, line 577