SQL Server error '80040e23' Cursor operation conflict

Posted on 2004-10-30
Last Modified: 2012-08-13
The server has been stable for over 2 years, all of a sudden we get errors when updating data thru ADO that read:

SQL Server error '80040e23'
Cursor operation conflict

The row actually does get updated, but the script halts on the error. A simple 'on error resume next' will allow the user to complete their tasks, but of course I do not want to continue that as the error affects all the databases on the server, not just one and I now suspect my installation may be corrupt.

I can use EM and open the targeted tables and manually change data, no problem. I have gone so far as to move a database to another server and reconnect thru ADO, eliminating the error, thus confirming the SQL Server or IIS is to blame.

I have tried to re-install SP3 and get the 'unable to validate password' message, so I cannot try that route at this point.

I have ssen posts here that suggest a workaround using a different method of opening and updating recordsets but that is not an option as it would be quicker to re-install SQL Server and restore the databases.

Any suggestions greatly appreciated.

Question by:Raremethod

    Author Comment

    Problem resolved.

    Needed to Set NOCOUNT ON and change

    sp_configure "user options", 512


    sp_configure "user options", 0

    All works as before.

    Accepted Solution

    PAQed with points refunded (500)

    Community Support Moderator

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    The Complete Ruby on Rails Developer Course

    Ruby on Rails is one of the most popular web development frameworks, and a useful tool used by both startups and more established companies to build strong graphic user interfaces, and responsive websites and apps.

    Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

    933 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

    19 Experts available now in Live!

    Get 1:1 Help Now