Quantcast
Channel: Classic ASP
Viewing all articles
Browse latest Browse all 488

Access 2010 with Classic ASP connection failed

$
0
0
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;Persist 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

IIS Settings:

.Net Framework (I have tried all options) v2.0 or v4.0 or 'no managed code' (v2.0 is recent)

Enable 32 bit (none work) true or false (true is recent)

Load user profile: (none work) true or false (false is recent)


Viewing all articles
Browse latest Browse all 488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>