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

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.

  • 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

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,989 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans