Results 1 to 2 of 2
  1. #1
    ramjee is offline Novice
    Windows 7 64bit Access 2002
    Join Date
    Aug 2017
    Posts
    3

    Access 2010 with Classic ASP connection failed

    I am trying to connect Access 2010 with Classic ASP. I am getting following error. I have already installed MS Access driver. Here is my code

    ' 2010 ACCDB
    strConn="Provider=Microsoft.Jet.OLEDB.12.0;Data Source=c:\inetpub\wwwroot\msaccess2010.accdb;Persi st Security Info=False;"
    'Create the object
    Set objConn = server.CreateObject("ADODB.Connection")
    'Open the connection to the database
    objConn.ConnectionString = strConn
    objConn.Open
    It is showing error


    ADODB.Connection error '800a0e7a'
    Provider cannot be found. It may not be properly installed.
    /Updates/classicASP.asp, line 112

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    An accdb would use Ace, not Jet:

    https://www.connectionstrings.com
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. ODBC Connection to <dsn> failed
    By bazianm in forum Access
    Replies: 4
    Last Post: 06-30-2015, 08:48 AM
  2. Connection to SQL Server ODBC Failed
    By Historypaul in forum SQL Server
    Replies: 2
    Last Post: 01-05-2015, 01:50 PM
  3. ODBC Call Failed - ORA 01013 in Access 2010
    By kawi6rr in forum Import/Export Data
    Replies: 2
    Last Post: 06-22-2013, 09:49 PM
  4. Odbc connection to 'datasourcename' failed
    By nmcentire in forum Import/Export Data
    Replies: 1
    Last Post: 11-24-2010, 07:28 PM
  5. Replies: 2
    Last Post: 11-10-2009, 02:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums