Microsoft SQL Server Native Client 10.0 error '80040e14'

Incorrect syntax near ')'.

/MONTHLY/asplib/database.asp, line 46