ADO Connection String
Posted by on 09 March 2011 04:33 PM
|
|
For Microsoft Access Data Projects ( adp files ) or other ADO connections from clients (remote and local):
For clients signed up after April 5th, 2012, the instance name for your server is most likely not "SQLEXPRESS". Instead, it is "MSSQLSERVER":
In some cases, the instance name may need to be excluded like this:
| |
|
Set adoCon = Server.CreateObject ("ADODB.Connection")
Set objRec = Server.CreateObject ("ADODB.Recordset")
adoCon.Open = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("databases/reviews.mdb")
and compare that to filling:
adoCon.Open = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("databases/reviews.mdb")
It is likely going to be as simple as in our variables and replacing everything after the equals. That being said, I'm not 100% sure. I can only advise using our example and providing it to your developer in order to have him check it to be sure. If you run into any errors, turning on detailed errors may assist as well.
What is the connection string to connect to a postgresql database 7.4.5 ???