Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

System Message 10232, Assertion failure!, File: sqlapi.cpp, Line: 1112

(0) ShareShare
ReportReport
Posted on by

I have received a system message 10232 Assertion Failure! File: sqlapi.cpp Line: 1110 Expression: (*pcursor > 0) AND (*pcursor <= MAXCURSORS). Hit OK to stop program, and report the error to Microsoft Support, noting the failed expression, file name and line number.

This is on Dynamics SL 2011 FP1. All workstations are affected, as well as the server.

This is received in the screen of receipt PO (04.010.00.)

There are no customizations on the screen. Error is received even in standard mode. 

In the eventlog shows me the following:

System Message 6124: Process started: Tue Sep 30 05:00 P.M.

================================================================================
Processing: Batch Number: 013073 , Receipt Number: 002982
System Message 62: [Microsoft][SQL Server Native Client 11.0]Invalid cursor
state

Debugging info: SQLExecDirect
Cursor(C_APTran)
APTran_BatNbr_LineNbr '', -32768, 32767
Optional info:
SqlState = 24000 NativeError = 0 ErrorMsg = [Microsoft][SQL
Server Native Client 11.0]Invalid cursor state pcbErrorMsg =
62
ODBCRowNumber = -1 Column = -1 SSrvrLine = 0 SSrvrMsgState
= 0 SSrvrSeverity = 0 SSrvrProcname = SSrvrSrvname =

Can anyone provide any insight as to what else may be the issue?

Thank you

Isail Cordero V.

*This post is locked for comments

  • Community member Profile Picture
    2 on at
    System Message 10232, Assertion failure!, File: sqlapi.cpp, Line: 1112
    I am getting this error too. Did you ever figure out what caused it?
  • Community Member Profile Picture
    on at
    RE: System Message 10232, Assertion failure!, File: sqlapi.cpp, Line: 1112

    What message are you getting in the eventlog?

    You mentioned in your contact that this was a receipt batch, is it possible that this is actually a return batch in PO rather than a receipt?

  • Suggested answer
    Mark E Profile Picture
    6,437 on at
    RE: System Message 10232, Assertion failure!, File: sqlapi.cpp, Line: 1112

    You might want to take a look at this thread from a similar issue posted earlier this year from a SL 7.0 SP3 environment....

    community.dynamics.com/.../119061.aspx

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,884 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,760 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans