Skip to Content
avatar image
Former Member

Set value by Document_Lines.SerialNumbers.Quantity got System.AccessViolationException error

Hi Experts,

We have a .net program developed by DIAPI 8.8. It works well normally. But there was a customer said when they create Good Receipt PO they encountered System.AccessViolationException error. We check the error raised when set serial number quantity as below screen shot show.

Framework version:v4.0.30319

Description: The process was terminated due to an unhanded exception.

Exception Info: System.AccessViolationException

at SAPBobsCOM.SerialNumbersClass.set_Quantity(Double)

at Tc.Int.Platform.BSPSAPB1.BSPSAPB1.SetSerialNumber(System.String,SystemString.SAPbobsCOM.Document_Lines.Double)


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 31, 2018 at 01:56 PM

    Hi Sinon.

    I would get this kind of error when I reference incompatible DI API version to the installed client version.
    Also, re-installing the DI API in client PC might help, just to make sure the DI API is not corrupted.



    Add comment
    10|10000 characters needed characters exceeded