add error handler for sqlserver.connection