Database connection error message ?????

Results 1 to 2 of 2

Thread: Database connection error message ?????

  1. #1
    Join Date
    Dec 1969

    Default Database connection error message ?????

    Could anyone please tell what the following error indicates.<BR><BR>Microsoft OLE DB Provider for ODBC Drivers error &#039;80004005&#039; <BR>[Microsoft][ODBC Driver Manager] Driver&#039;s SQLAllocHandle on SQL_HANDLE_DBC failed <BR><BR>It always happens at the same line of code. Which is below.<BR><BR>=========<BR><BR>SQLdetailsSUB = "SELECT * FROM LogDetailsSub WHERE LogDetailsID = &#039;"& rstdetails.fields("LogDetailsID") &"&#039;" <BR> <BR>Set rstdetailsSUB = Server.CreateObject("ADODB.Recordset") <BR><BR>rstdetailsSUB.Open SQLdetailsSUB, Connstring, 3, 3<BR><BR>=========<BR><BR>All I am doing is connecting to a database, and as far as I can see there is nothing wrong with the sql statement, it has worked before.<BR><BR>Thanks<BR><BR>Gazzer

  2. #2
    Join Date
    Dec 1969

    Default Is Connstring a connection

    object or is it really just a &#039;string&#039;?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts