Solved

Provider error '80004005'  in ASP

Posted on 2007-04-10
1
485 Views
Last Modified: 2012-05-05
I have an ASP page on my site, where users loggin to take a test. It recently stopped working and now I get an error.

Provider error '80004005'

Unspecified error

/clubs/AntiTobacco/includes/test_connect.asp, line 24

*******************************************************************
Here are lines 24 & 25 from test_connect.asp

 24 Set test_connector = Server.CreateObject("ADODB.Connection")
 25 test_connector.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath "./database/test.mdb")
0
Comment
Question by:dansagg
1 Comment
 
LVL 6

Accepted Solution

by:
dxz2 earned 500 total points
ID: 18882040
I googled and found this:

connStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="
connStr = cst & Server.MapPath("./database/test.mdb")
set test_connector = CreateObject("ADODB.Connection")
test_connector.mode = 3 ' adModeReadWrite
test_connector.open cst

"
this may be caused by the mode in which Access is opened. Unless otherwise specified, IIS opens Access databases with adModeUnknown... which has proven to cause random problems in certain configurations. You can overcome this by setting the mode to adModeReadWrite *before* opening the connection, such as:

"

http://access.databases.aspfaq.com/why-does-access-give-me-unspecified-error-messages.html

-dirar
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question