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 > Database problems

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-12-03, 11:27
Poe Poe is offline
Registered User
 
Join Date: Mar 2003
Posts: 1
Database problems

I'm running a news ASP script on my server and I keep getting this error:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

Specified driver could not be loaded due to system error 126 (Microsoft Access Driver (*.mdb)).

/news/Admin.asp, line 87


The code uses Microsoft Jet OLE Provider, and in the past i've only been able to use things with a DBQ= But another provider might work just as well.

As far as I know, it's a Microsoft ISS cold fusion server, but ASP has worked on it before so I know it's installed. I'm just having trouble with it finding the driver as in the error snippet above.

Dim adoCon
Dim strCon

Set adoCon = Server.CreateObject("ADODB.Connection")
strCon = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("SpawnedDB_nw_db.mdb")
adoCon.Open strCon


thats where I bomb out.

thanks.
Reply With Quote
  #2 (permalink)  
Old 03-13-03, 11:09
Memnoch1207 Memnoch1207 is offline
Registered User
 
Join Date: Jan 2003
Location: Midwest
Posts: 138
check an make sure the latest version of the driver is installed...if it isn't then update it.

otherwise try uninstalling the driver and then reinstalling.
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