Solved

CREATERECORDSET (0X80004005) UNSPECIFIED ERROR

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

Industry Leaders: 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 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…
I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

688 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