Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL forum
Suggested answer

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

editSubscribe (0) ShareShare
ReportReport
Posted on by User Group Leader

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.

  • 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 User Group Leader 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 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…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Featured topics

Product updates

Dynamics 365 release plans