|
-
Dec 8th, 2001, 01:46 AM
#1
Thread Starter
Lively Member
error message
I am trying to add data to a database and I am getting this message:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/booking.asp, line 35
hese are the lines it refers to:
et Conn=Server.CreateObject("ADODB.Connection")
Conn.Open "DRIVER=Microsoft Access Driver (*.mdb) ;DBQ=" & Server.MapPath("HeenaA.mdb")
Please what have I done wrong
if at first you don't succeed, drink the rest of the bottle and loop to the same place tomorrow
-
Dec 8th, 2001, 01:59 AM
#2
PowerPoster
hi
Just a clarification - is the DB "heenaA.mdb" in the same directory as that of the file????
-
Dec 8th, 2001, 02:01 AM
#3
Thread Starter
Lively Member
if at first you don't succeed, drink the rest of the bottle and loop to the same place tomorrow
-
Dec 8th, 2001, 02:13 AM
#4
PowerPoster
I think perphaps ur ODBBC drivers are corrupted u can download and install them again from microsoft's site.
Alternatively u can try this :
Code:
Conn.Open "Provider=Microsoft.jet.oledb.4.0;Data source=" & Server.MapPath("HeenaA.mdb")
Hope this helps
-
Dec 8th, 2001, 02:17 AM
#5
Thread Starter
Lively Member
if at first you don't succeed, drink the rest of the bottle and loop to the same place tomorrow
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|