Microsoft SQL Server Native Client 11.0 error '80040e14'

Incorrect syntax near '#'.

/risultati.asp, line 1159