If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > ADODB.Connection error '800a0e7a'

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-04-02, 01:47
alteredst8 alteredst8 is offline
Registered User
 
Join Date: Nov 2002
Posts: 2
ADODB.Connection error '800a0e7a'

keep gettin this error msg - its sposed to list
items from an access database.

Im using windows 98
ms PWS
and have mdac 2.7 installed

im not sure what else i can do to fix it
thanks for any help


ADODB.Connection error '800a0e7a'

Provider cannot be found. It may not be properly installed.

/db.asp, line 34



Dim dbc
Dim strConn
Dim strpath

'this procedure is called wherever a connection is needed. Returns 'dbc' as active connection
sub openConn()
'use appropriate connection string
strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & server.MapPath("admin/scart.mdb")

Set dbc = Server.CreateObject("ADODB.Connection")
dbc.open strConn (**line 34**)
end sub

sub closeConn()
if isobject(dbc) then
if dbc.State = adStateOpen then
dbc.Close
end if
set dbc = nothing
end if
end sub
%>
Reply With Quote
  #2 (permalink)  
Old 11-04-02, 12:44
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Try to register the driver you are using - I believe you are using the "MS Jet 4 ole db provider" -- if so, find the msjetoledb40.dll and register it manually. If this fails, reinstall mdac.
Reply With Quote
  #3 (permalink)  
Old 11-04-02, 22:32
alteredst8 alteredst8 is offline
Registered User
 
Join Date: Nov 2002
Posts: 2
i didnt even have that dll but tracked down MS Jet containing that dll and installed it - now works

thanks
Reply With Quote
  #4 (permalink)  
Old 11-04-02, 22:45
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Happy to help.
Reply With Quote
  #5 (permalink)  
Old 11-04-02, 22:46
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
FYI - If you continue having problems, reinstall mdac - this may be a result of an incomplete installation and might cause you more problems in the future.
Reply With Quote
  #6 (permalink)  
Old 12-01-02, 22:46
seokkhoon seokkhoon is offline
Registered User
 
Join Date: Dec 2002
Posts: 3
Question

I have the same problem as what rnealejr had. I tried to reinstall msjetoledb40.dll but i dont know how. I never installed any MDAC software. It comes with .net server or sql server i presume. Could anyone please tell me what i should do in order to solve this problem?

ADODB.Connection error '800a0e7a'

Provider cannot be found. It may not be properly installed.

/connect.inc, line 3

Thanks.
Reply With Quote
  #7 (permalink)  
Old 12-01-02, 22:56
seokkhoon seokkhoon is offline
Registered User
 
Join Date: Dec 2002
Posts: 3
oh..i forgot to mention that i do find msjetoledb40.dll in my computer. PLease let me know what are the steps to solve my problem. Thanks.
Reply With Quote
  #8 (permalink)  
Old 12-02-02, 15:36
JonathanB JonathanB is offline
Registered User
 
Join Date: Feb 2002
Location: North Wales, UK
Posts: 114
To install MDAC you can either use WindowsUpdate.com or download the file manually here http://www.microsoft.com/data/download.htm
__________________
J^ - web | email
newsASP Developer
Reply With Quote
  #9 (permalink)  
Old 12-03-02, 15:47
seokkhoon seokkhoon is offline
Registered User
 
Join Date: Dec 2002
Posts: 3
Got it! thank you so much!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On