0x80004005 Error!!

Results 1 to 2 of 2

Thread: 0x80004005 Error!!

  1. #1
    Join Date
    Dec 1969

    Default 0x80004005 Error!!

    I&#039;m trying to set up a DSN-less connection but i keep getting the error: Microsoft OLE DB Provider for ODBC Drivers (0x80004005)<BR>[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified. <BR><BR>The connection code Im using is below...any help would be great!!Thanks<BR><BR><BR>Dim strCon<BR>Dim my_Conn<BR><BR>set my_Conn= Server.CreateObject("ADODB.Connection")<BR>Set RS = Server.CreateObject("ADODB.Recordset")<BR><BR><BR> strCon = "DRIVER = {Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("Databases/Inventory.mdb")<BR>my_Conn.Open strCon<BR><BR>MySql="Select * from Customer Where trim(Customer_UName)=&#039;" & trim(request.form("txtUserName")) & "&#039;;"<BR><BR>Set RS = my_Conn.execute (MySql)<BR>

  2. #2
    Join Date
    Dec 1969

    Default Connection string site..

    Your best bet is to make sure your connection string is correct. Check this site for an OLEDB Jet connection:<BR>http://www.able-consulting.com/ado_conn.htm

Posting Permissions

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