modified code to accept the MS SQL connection testing (first configuration page)