Solved

CREATERECORDSET (0X80004005) UNSPECIFIED ERROR

Posted on 2001-09-07
1
243 Views
Last Modified: 2008-03-03
Hi,

I have a databse running on SQL server on Machine 1.

When I try to access the ASP which queries this databse from the same machine, I SOMETIMES get the above error. This is resolved by restarting IIS on my machine.

Secondly when i try to access the same from database from Machine 2 on my network I SOMETIMES get the above error while at other times I get (0X80004007)

Any clues as to why this is happening??

I need to automate certain tasks but cannot do so without getting these errors rectified.

Apprecial suggestions at the earliest!

Thanks,
Pranu

0
Comment
Question by:pranu
1 Comment
 
LVL 3

Accepted Solution

by:
phuctran earned 150 total points
ID: 6465680
SYMPTOMS
Within your MDAC 2.0 or MDAC 2.1 code, you have multiple recordsets with the same recordset object that are created off of the same command and are also pointing to the same connection. The first recordset that is opened contains multiple recordsets within that same object. Before calling NextRecordset on that object, open another Recordset (new recordset object) and point the ActiveConnection property to the same command and connection to which at the other recordset object was pointing. This causes the following error when the Set rs = rs.NextRecordset is executed:

error '80004005' Unspecified error
This error occurs in MDAC 2.0 and MDAC 2.1 and does not occur in MDAC 1.5.



RESOLUTION
Make sure that the ActiveConnection property of the Command object for the first recordset is set only once throughout the page (especially if it contains multiple physical recordsets within the same recordset object) if the same connection is still being used.

0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

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…
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…
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…

821 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