Solved

CREATERECORDSET (0X80004005) UNSPECIFIED ERROR

Posted on 2001-09-07
1
246 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
[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 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Select2 jquery help 9 100
Classic ASP - problem with MS SQL Select Query? 10 61
Cannot open file from ASP if user is "logged in" 13 32
Read text on Table 7 26
I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

756 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