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
Solved

CreateRecordset error '80041820' - Need Solution

Posted on 2004-10-15
8
1,457 Views
Last Modified: 2008-01-09
At the following line in my code:

Set rsQuery = objQuery.CreateRecordset("nonsequential")

I receive the following error:

CreateRecordset error '80041820'
Service is not running.

What service is this error referencing?
0
Comment
Question by:johnson00
  • 2
  • 2
  • 2
  • +1
8 Comments
 
LVL 3

Accepted Solution

by:
WhisperUK earned 250 total points
ID: 12319069
0
 
LVL 19

Expert Comment

by:peh803
ID: 12319103
I've not used objQuery.CreateRecordset before...

Have you tried this?
  set rsQuery = server.createobject("ADODB.Recordset")

Excuse me if you already know this or if it's not what you want, but this creates an adodb recordset which you can use to do all kinds of great stuff....

More on adodb recordset object here:

http://www.w3schools.com/ado/ado_ref_recordset.asp

HTH,
peh803
0
 
LVL 2

Author Comment

by:johnson00
ID: 12319186
peh -

unfortunately, I'm left managing code that's been written by someone else.  I haven't had a chance to rewrite all old functions, as I'm busy trying to create new functions.  This is a process that has been working in the past, and I believe the issue may be server related, as whisper has implied.

I appreciate the information on the recordset though.  I'm a novice at this stuff and can use all the resources I can get!

0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 28

Expert Comment

by:sybe
ID: 12319194
>> What service is this error referencing?

to Microsoft Indexserver
0
 
LVL 2

Author Comment

by:johnson00
ID: 12319196
Whisper -

Thanks for the suggestion.  I searched for that type of information before posting and didn't have any luck.  I have a call into the server administrator to check into whether or not indexing service is up and running.  That's the type of suggestion I was looking for though!

Stay tuned!
0
 
LVL 19

Expert Comment

by:peh803
ID: 12319217
@johnson00 -- sorry I could help further...  Good luck!

peh803
0
 
LVL 3

Expert Comment

by:WhisperUK
ID: 12319277
ah it was just a hunch so I went to M$ site to have a look. If that turns out to be your problem then it was a lucky guess on my part  :-D
0
 
LVL 28

Expert Comment

by:sybe
ID: 12319295
read this for more information about how to work with index server in ASP:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnproasp2/html/integratingmicrosoftindexserver.asp
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

790 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