473,396 Members | 1,927 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Unspecified Error (0x80004005)

Help please!

I set up a simple access 2000 database and I'm running IIS5.
The first time I try it, it works, then it seems like I have to wait for
some kind of time out for it to work again, because if I click the link that
goes to the page again I get this error...

Error Type:
Provider (0x80004005)
Unspecified error
/aspfile.asp, line 123

If I wait a few minutes before I try it again it works fine.

I have set up my data connection as follows

Set objDC = Server.CreateObject("ADODB.Connection")
objDC.ConnectionTimeout = 5
objDC.CommandTimeout = 10

objDC.Open "DBQ=" & Server.MapPath("database/database.mdb") &
";Driver={Microsoft Access Driver
(*.mdb)};DriverId=25;MaxBufferSize=8192;Threads=20 ;", "username", "password"

strSQL = "SELECT Table.* FROM Table

Set objRS = Server.CreateObject("ADODB.Recordset")

objRS.Open strSQL, objDC, adOpenForwardOnly, adLockReadOnly

I close the recordset and connection at the end of the page with:

objRS.Close
Set objRS = Nothing
objDC.Close
Set objDC = Nothing

I have set the permisions for Everone and IUSR_MachineID to Full Control for
the database directory and the database.

I have played around with the timeout values above and it seems to have no
effect.

Any help?

rh

Jul 19 '05 #1
2 57653

"rOadhOg" <ro*****@nospam.phreaker.net> wrote in message
news:u3**************@tk2msftngp13.phx.gbl...
Help please!

I set up a simple access 2000 database and I'm running IIS5.
The first time I try it, it works, then it seems like I have to wait for
some kind of time out for it to work again, because if I click the link that goes to the page again I get this error...

Error Type:
Provider (0x80004005)
Unspecified error
/aspfile.asp, line 123


maybe this can help:

http://www.aspfaq.com/show.asp?id=2413
d.
Jul 19 '05 #2
Just to let you all know I added the line
objDC.mode = 3 ' adModeReadWrite
and this seemed to fix all.

rh

"rOadhOg" <ro*****@nospam.phreaker.net> wrote in message
news:u3**************@tk2msftngp13.phx.gbl...
Help please!

I set up a simple access 2000 database and I'm running IIS5.
The first time I try it, it works, then it seems like I have to wait for
some kind of time out for it to work again, because if I click the link that goes to the page again I get this error...

Error Type:
Provider (0x80004005)
Unspecified error
/aspfile.asp, line 123

If I wait a few minutes before I try it again it works fine.

I have set up my data connection as follows

Set objDC = Server.CreateObject("ADODB.Connection")
objDC.ConnectionTimeout = 5
objDC.CommandTimeout = 10

objDC.Open "DBQ=" & Server.MapPath("database/database.mdb") &
";Driver={Microsoft Access Driver
(*.mdb)};DriverId=25;MaxBufferSize=8192;Threads=20 ;", "username", "password"
strSQL = "SELECT Table.* FROM Table

Set objRS = Server.CreateObject("ADODB.Recordset")

objRS.Open strSQL, objDC, adOpenForwardOnly, adLockReadOnly

I close the recordset and connection at the end of the page with:

objRS.Close
Set objRS = Nothing
objDC.Close
Set objDC = Nothing

I have set the permisions for Everone and IUSR_MachineID to Full Control for the database directory and the database.

I have played around with the timeout values above and it seems to have no
effect.

Any help?

rh

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: kate_cha | last post by:
Hello, I'm new to .net, so this may be a really easy question....I have been working on a .net application - each web page pulls information from a an access database and writes it to the screen. ...
5
by: Dave | last post by:
Hi All C# ADSI samples that I run cause unspecified errors. If I translate them into VB.NET they run fine. Here's an example: public string getEmail(string LDAPPath, string username) {...
2
by: Shihao Png via DotNetMonster.com | last post by:
Well, the problem I'am having now applies to web applications only. Therefore, I believe it has something to do with security settings. Here's the code: ...
1
by: Siegfried Heintze | last post by:
I'm using a third party hosting service. I presently have a Web Service on this hosting service's server that loads and executes a native mode DLL. This demonstrates that the hosting service has...
7
by: Jim McGivney | last post by:
ASPX page from VS.net-C# on host's computer using oleDataAdaptor to connect to Microsoft Access database. The page loads, but when connection to the database is attempted to fill a datagrid the...
0
by: mamin | last post by:
Hi! While running my asp application under Windows 2000 the following error appears: Microsoft JET Database Engine (0x80004005) Unspecified error I've installed MS Jet 4.0 SP1 and MDAC 2.8 SP1...
0
by: Yelena Varshal | last post by:
Hello, I am using ODBC to access Microsoft Access database. I use just generic ADO code. I don't have problems opening multiple connections from the same page on the development server but the...
3
subashini Thiyagarajan
by: subashini Thiyagarajan | last post by:
I am getting unspecified Error in my asp page(before this error i just opened the access table physically and closed it.) Generlly if i open the access table which has been coded in the programme...
2
by: javediq143 | last post by:
Hi all, I set up a simple access database.Earlier my ASP page was working fine,but dont know whats gone wrong that it started to give me this Err: Error Type: Provider (0x80004005) Unspecified...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.