Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

Script for testing ODBC or OLE DB connection string without QlikView

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Bjorn_Wedbratt
Former Employee
Former Employee

Script for testing ODBC or OLE DB connection string without QlikView

Last Update:

Jul 5, 2021 8:08:37 AM

Updated By:

Sonja_Bauernfeind

Created date:

Sep 17, 2012 5:14:17 AM

Attachments
The attached vbs script can be used to open a ODBC or OLE DB connection without using QlikView.
This is useful for confirming or ruling out that a Database connection problem is QlikView related.
 

Environment:

 

Resolution:

 

First, you need to know which connection string to use. Examples can be found on https://www.connectionstrings.com/
 
To run the script:
 
  1. Download the attached testconnect.txt file
  2. Edit the script in notepad and change the strConnectionString variable into your own connection string
  3. Change the file ending from .txt to .vbs
  4. Run the script by double clicking on the file, testconnect.vbs
 
The script will attempt to open a connection with the supplied connection string and will display a message box that tells you the result.
Labels (1)
Contributors
Version history
Last update:
‎2021-07-05 08:08 AM
Updated by: