Solved

CreateRecordset error '80041820' - Need Solution

Posted on 2004-10-15
8
1,452 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
 
LVL 28

Expert Comment

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

to Microsoft Indexserver
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
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…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now