473,378 Members | 1,384 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Problems with Access

I get this error:

-------------------------------------------------------
ADODB.Connection error '800a0e7a'
Provider cannot be found. It may not be properly installed.

/inc/DBconnect.asp, line 6
-------------------------------------------------------

I have just set up a new server, Win 2003 Std x64 bit

It seems like the driver for connecting to the database does not work on x64
bit!?!

Is there any workarounds on this, or do I have to get myself a new Win
edition?

Best regards,

Christopher Brandsdal
May 10 '06 #1
12 11661
Christopher Brandsdal wrote:
I get this error:

-------------------------------------------------------
ADODB.Connection error '800a0e7a'
Provider cannot be found. It may not be properly installed.

/inc/DBconnect.asp, line 6
-------------------------------------------------------


There's your error: line 6.
--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
May 10 '06 #2
The code is in use on about 100 websites I have made, so the code is fine i
guess. It just seems that the provider is not supported in x64? I have
googled the problem, and it seems to be common among 64 bits...
This is the code it reacts on:

1: <%
2: ' Connection to the database / Datenbankverbindung
3: Dim ConnectString, conn
4: ConnectString = Application("AdoConnection")
5: Set conn = Server.CreateObject("ADODB.Connection")
6: conn.open ConnectString
7: %>
"Dave Anderson" <GT**********@spammotel.com> skrev i melding
news:Oc**************@TK2MSFTNGP04.phx.gbl...
Christopher Brandsdal wrote:
I get this error:

-------------------------------------------------------
ADODB.Connection error '800a0e7a'
Provider cannot be found. It may not be properly installed.

/inc/DBconnect.asp, line 6
-------------------------------------------------------


There's your error: line 6.
--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message.
Use of this email address implies consent to these terms.

May 10 '06 #3
Christopher Brandsdal wrote:
I get this error:

-------------------------------------------------------
ADODB.Connection error '800a0e7a'
Provider cannot be found. It may not be properly installed.

/inc/DBconnect.asp, line 6
-------------------------------------------------------

I have just set up a new server, Win 2003 Std x64 bit

It seems like the driver for connecting to the database does not work
on x64 bit!?!

Is there any workarounds on this, or do I have to get myself a new Win
edition?

Does this help?
http://www.aspfaq.com/show.asp?id=2340
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
May 10 '06 #4
I read an article about the same thing:
-----------------------------------------------------------
I'm using Windows XP Professional 64 bit with Access 2000.

Databases I've used for quite sometime, now error in the line strConn =
"DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" &
Server.MapPath("/db/sample.mdb")

I've tried using strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data
Source=" & Server.MapPath("/db/sample.mdb") but this results in an
'800a0e7a' error.

The first error is "Provider is not specified and there is no designated
default provider", the second is "Provider cannot be found. It may not be
properly installed."

I've tried downloading and installing MDAC 2.8 but it errors on this
platform??
------------------------------------------------------------------------

MDAC cannot be installed on x64. when I try to download it says that it's
only for 32 bit.
I guess I just have to get me a 32 bits win2k3... :(

"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> skrev i melding
news:e7****************@TK2MSFTNGP04.phx.gbl...
Christopher Brandsdal wrote:
I get this error:

-------------------------------------------------------
ADODB.Connection error '800a0e7a'
Provider cannot be found. It may not be properly installed.

/inc/DBconnect.asp, line 6
-------------------------------------------------------

I have just set up a new server, Win 2003 Std x64 bit

It seems like the driver for connecting to the database does not work
on x64 bit!?!

Is there any workarounds on this, or do I have to get myself a new Win
edition?

Does this help?
http://www.aspfaq.com/show.asp?id=2340
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

May 10 '06 #5
Christopher Brandsdal wrote:
I read an article about the same thing:
-----------------------------------------------------------
I'm using Windows XP Professional 64 bit with Access 2000.

Databases I've used for quite sometime, now error in the line strConn
= "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" &
Server.MapPath("/db/sample.mdb")

I've tried using strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data
Source=" & Server.MapPath("/db/sample.mdb") but this results in an
'800a0e7a' error.

The first error is "Provider is not specified and there is no
designated default provider", the second is "Provider cannot be
found. It may not be properly installed."

I've tried downloading and installing MDAC 2.8 but it errors on this
platform??
------------------------------------------------------------------------

MDAC cannot be installed on x64. when I try to download it says that
it's only for 32 bit.
I guess I just have to get me a 32 bits win2k3... :(

Did you try downloading and installing the Jet components? Those are
separate from the MDAC installation.

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
May 10 '06 #6
Christopher Brandsdal wrote:
I read an article about the same thing:
-----------------------------------------------------------
I'm using Windows XP Professional 64 bit with Access 2000.

Databases I've used for quite sometime, now error in the line strConn
= "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" &
Server.MapPath("/db/sample.mdb")

I've tried using strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data
Source=" & Server.MapPath("/db/sample.mdb") but this results in an
'800a0e7a' error.

The first error is "Provider is not specified and there is no
designated default provider", the second is "Provider cannot be
found. It may not be properly installed."

I've tried downloading and installing MDAC 2.8 but it errors on this
platform??
------------------------------------------------------------------------


Hmm, I've just been doing some googling myself and now see what you are
talking about: no x64 driver or provider for Jet.

Small consoloation, but according to this,
http://redmondmag.com/reports/articl...itorialsID=128, " ... JET is
getting x64 support ... "

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
May 10 '06 #7
Lol, i guess I don't have the time to sit around and wait! :-p

But thanks a bunch for helping me, Bob! :-)
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> skrev i melding
news:OG**************@TK2MSFTNGP03.phx.gbl...
Christopher Brandsdal wrote:
I read an article about the same thing:
-----------------------------------------------------------
I'm using Windows XP Professional 64 bit with Access 2000.

Databases I've used for quite sometime, now error in the line strConn
= "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" &
Server.MapPath("/db/sample.mdb")

I've tried using strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data
Source=" & Server.MapPath("/db/sample.mdb") but this results in an
'800a0e7a' error.

The first error is "Provider is not specified and there is no
designated default provider", the second is "Provider cannot be
found. It may not be properly installed."

I've tried downloading and installing MDAC 2.8 but it errors on this
platform??
------------------------------------------------------------------------


Hmm, I've just been doing some googling myself and now see what you are
talking about: no x64 driver or provider for Jet.

Small consoloation, but according to this,
http://redmondmag.com/reports/articl...itorialsID=128, " ... JET is
getting x64 support ... "

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

May 10 '06 #8
Christopher Brandsdal wrote:
I get this error:

Christopher! Are you still around? Check this out:
http://www.microsoft.com/downloads/d...DisplayLang=en
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
May 10 '06 #9
After alot of help from Bob Barrows, there is finally a solution! :-D

Here is a short summary:

If you run Windows 2003 64 bit verion and still want to run Jet engine,
Acces and FrontPage, you have to do the following steps:

1. Make shore you have SP1 installed on the server

2: Check to ensure that you have all the DLL's required in ypur system
folders
Here is a list of DLL files needed:
http://support.microsoft.com/?kbid=829558

"there's only a 32-bit Jet driver in WS2003 x64, so only a 32-bit
application will be able to access Jet.
In order for IIS to use 32-bit drivers, you must flip it from 64-bit to
32-bit."

3: Convert IIS to run in 32 bit mode:
http://support.microsoft.com/default...b;en-us;894435

Make sure that the status of ASP.NET version 2.0.40XXX is set to Allowed in
the Web service extension list in Internet Information Services Manager.

4. To run FrontPage server extensions, download and run:
http://www.microsoft.com/downloads/d...DisplayLang=en

Once again; thanks alot Bob! I have learned a great deal about 32/64 bit
software now ;-)
May 12 '06 #10
Christopher Brandsdal wrote:
3: Convert IIS to run in 32 bit mode:
http://support.microsoft.com/default...b;en-us;894435


This solution came from an MVP naned Steve Foster ,,, credit where credit is
due

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
May 12 '06 #11

"Christopher Brandsdal" <ch*********@valdres.no> wrote in message
news:%2********************@TK2MSFTNGP05.phx.gbl.. .
After alot of help from Bob Barrows, there is finally a solution! :-D

Here is a short summary:

If you run Windows 2003 64 bit verion and still want to run Jet engine,
Acces and FrontPage, you have to do the following steps:

1. Make shore you have SP1 installed on the server

2: Check to ensure that you have all the DLL's required in ypur system
folders
Here is a list of DLL files needed:
http://support.microsoft.com/?kbid=829558

"there's only a 32-bit Jet driver in WS2003 x64, so only a 32-bit
application will be able to access Jet.
In order for IIS to use 32-bit drivers, you must flip it from 64-bit to
32-bit."

3: Convert IIS to run in 32 bit mode:
http://support.microsoft.com/default...b;en-us;894435

Make sure that the status of ASP.NET version 2.0.40XXX is set to Allowed
in the Web service extension list in Internet Information Services
Manager.

4. To run FrontPage server extensions, download and run:
http://www.microsoft.com/downloads/d...DisplayLang=en

Once again; thanks alot Bob! I have learned a great deal about 32/64 bit
software now ;-)


b.t.w. it's better to avoid the ODBC compatibility driver. Your connection
string also loads through ODBC and you can load ole db for access (jet) more
directly by using this string...

Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\Data\mymdb.mdb;Mode=ReadWrite|Share Deny None;
May 14 '06 #12
It is also possible to run IIS in 32 bit mode. So it can use all the
database drivers

[url]http://support.microsoft.com/default.aspx?scid=kb;en-us;894435[/url
]

says to execute

cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET
W3SVC/AppPools/Enable32bitAppOnWin64 1

I used this and it is working fine.

*** Sent via Developersdex http://www.developersdex.com ***
May 22 '06 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: David | last post by:
Hi, I want to work with Access 2002. I will need to be able to distribute my application to users that may still have access 2000 on their computers. I know access 2002 has a function that...
1
by: jdola | last post by:
I have a customer that is using Access to create reports from FoxPro tables. We started noticing problems with the indexes on the FoxPro tables. It is to the point where we have to delete and...
2
by: Bill Engel | last post by:
Some computers in our office have Access 2000 and others have Access XP. The original database was written in Access 2000. Is there a reason that code has some problems while being run on the...
2
by: PatrickO | last post by:
Hi to you all, I have some questions. I just converted my Access 97 database to Access 2003. To let it still work i referenced the Jet 2.5/3.5 jet engine in my database. Is this oke?
26
by: jamesbeswick | last post by:
I've been using Access since version 97 and I've migrated to 2003. I've noticed a substantial number of strange ActiveX/OLE and code corruption problems when writing databases. The only solution...
10
by: BBFrost | last post by:
We just recently moved one of our major c# apps from VS Net 2002 to VS Net 2003. At first things were looking ok, now problems are starting to appear. So far ... (1) ...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
1
by: Duffman | last post by:
Hi, I have what seems to be a common problem, but the solutions I've found don't seem to work. I would like to use a web service to create a file at a UNC location in a shared file. Currently...
8
by: reema via AccessMonster.com | last post by:
Did any one faces any difficulties ,issuess or problems using Microsoft Access -- Message posted via http://www.accessmonster.com
3
by: Earl Anderson | last post by:
One of the users in our departmental db has Read/Write permissions to a particular form. He was able to access and edit the form at will until 2 weeks ago. His current problem was that he was not...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.