Jump to content

Error Opening Database! (80004005) (Openqueue)


rick

Recommended Posts

Sorry, I just figured, that you are talking about the little demo website.


 


If you can't connect via integrated security just create another login to the SQL server which grants read/write access to the OpenQueue database and which uses SQL Authentication (username/password).


 


In this case you have to modify the connect string according this scheme:



oConn.Open "Provider=sqloledb;" & _
"Data Source=myServerName;" & _
"Initial Catalog=myDatabaseName;" & _
"User Id=myUsername;" & _
"Password=myPassword"
Link to comment
Share on other sites


Const oConn.Open    "Provider              =sqloledb;" & _

                                   "Data Source       =WIN-4NLA0S4DFT0;" & _

                                   "Initial Catalog     =OpenQueue;" & _

                                   "User Id               =openqueue;" & _

                                   "Password           =Rick123;"

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.