Skip to main content

Notifications

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

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

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Blog subscriptions now enabled!

Follow your favorite blogs

TechTalk: How Dataverse and Microsoft Fabric powers ...

Explore the latest advancements in data export and integration within ...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,860 Moderator

#2
Ludwig Reinhard Profile Picture

Ludwig Reinhard Microsoft Employee

#3
Martin Dráb Profile Picture

Martin Dráb 225,155 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans