?
Solved

Microsoft OLE DB Provider for SQL Server error '80040e14'  Could not find prepared statement with handle -1

Posted on 2011-10-12
2
Medium Priority
?
493 Views
Last Modified: 2012-05-12
I get this error intermittently on this page that loads a table off SQL.
Sometimes it comes up sometimes it doesn't.
No change in data, just refresh the page after initially seeing the error on occasion.
Refresh then error goes away and then refresh or initially land on page error may comes back up.

Experts please help?

Thank you in advance,

ERROR:

Microsoft OLE DB Provider for SQL Server error '80040e14'
Could not find prepared statement with handle -1.
line 167


163  ' reset the cursor to the beginning
164 If (MM_rs.CursorType > 0) Then
165  MM_rs.MoveFirst
166 Else
167   MM_rs.Requery
168   End If
0
Comment
Question by:colonelblue
2 Comments
 
LVL 15

Accepted Solution

by:
Eyal earned 2000 total points
ID: 36959416
well... somehow the sql query is not saved in the MM_rs so you will need to provide it again or find where it is getting lost
0
 

Author Closing Comment

by:colonelblue
ID: 37042668
Thank you!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Suggested Courses

829 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