thexder1
13 years agoContributor
jscript will not connect to database
I am trying to run some scripts that I made for running a queries on a database. I am using the correct login information and can connect to the database using other methods like the Microsoft SQL Server Management Studio, but when I run the script it just says SQL Server does not exist or access denied.
Here is what I have for my connection string.
Here is what I have for my connection string.
Data Source=<sql server>; Provider=SQLOLEDB; uid=<username>; pwd=<password>