![]() Note how the connection string includes a driver identifier, in this example that is SQL Server. ![]() ![]() Set db = Server.CreateObject("ADODB.Connection")ĭb.Open ConnectionString, SqlUsername, SqlPassword open() method called.įor example, take the following code: Dim SqlUsername : SqlUsername = "YOURSQLUSERNAME"ĭim SqlPassword : SqlPassword = "YOURSQLPASSWORD"ĭim ConnectionString : ConnectionString = "DRIVER= SERVER=YOURSERVERNAME DATABASE=YOURDATABASENAME UID=" & SqlUsername & " PWD=" & SqlPassword That error is nearly always caused by a bad connection string when an nnection object has its.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |