SQL Server connection fix