Solved

Provider error '80004005'  in ASP

Posted on 2007-04-10
1
488 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
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/…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

690 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