Is there a simple way to test that a System DSN setup on Windows Server 2000/3 is configured and connects properly? ODBC Data Source Administrator doesn’t appear to have anything for this.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As Serapth suggested there is a test button in the last wizard step of ODBC data source administrator that will help you test the connectivity to the database. If you are looking for an easy way & would like to eliminate going through all those wizard steps, you may use the following vb script. However, be warned, this script requires the DSN to be configured with trusted connection. Also, this script was tested only with MSSQL server.
Please refer to Microsoft’s technet site for more scripting samples.