ODBC connection

Results 1 to 2 of 2

Thread: ODBC connection

  1. #1
    SuperDave Guest

    Default ODBC connection

    This is my code: <BR><BR>if(!(this.RSConnection.State & 1/*adStateOpen*/))<BR>{<BR> FileSpec = Server.MapPath(this.filename);<BR> ConnStr = "driver={Microsoft Access Driver *.mdb)};dbq=" + FileSpec;<BR> this.RSConnection.Open(ConnStr);<BR>}<BR><BR><BR>a nd this is my error... <BR><BR>Microsoft OLE DB Provider for ODBC Drivers error &#039;80004005&#039; <BR><BR>[Microsoft][ODBC Microsoft Access 97 Driver] Can&#039;t open database &#039;(unknown)&#039;. It may not be a database that your application recognizes, or the file may be corrupt. <BR><BR>/log/certificatlogin.asp, line 61 <BR><BR><BR>help me please... . ;o)

  2. #2
    Join Date
    Dec 1969

    Default use OLEDB instead

    there&#039;s an article on how to go about this on http://www.infinitemonkeys.ws/<BR><BR>j

Posting Permissions

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