Fix problem with external SQL-Server