Skip to main content
Microsoft Dynamics SL forum
Suggested answer

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

editSubscribe (0) ShareShare
ReportReport
Posted on by Microsoft Employee

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.

Attachments
  • 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
    Community Member Microsoft Employee 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
    Mark E 6,405 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

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Demystifying Copilot with Sundar Raghavan

Sundar explains how Copilot for Service is meant to function separately...

Business Process Guidance Badges and New…

The Microsoft Success by Design is the framework for implementing Dynamics 365…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,266 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,978 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans