Skip to Content
0
Former Member
Jul 02, 2009 at 01:25 PM

Add-On issues with SAP Business One 2007 A PL 49

35 Views

Hi All,

I created an add-on using B1DE 1.3 & VS 2005 which runs fine on SAP Business One 2007 A PL 47. But the same add-on is not running on PL 49. The add-on installs fine; but when it tried to add dictionary it fails and doesnu2019t goes beyond that. I suspect it is failing on referring company object. Here is the snippet of errors.

Message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Function Name: .AddFields

Exception Detail Message:

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

at SAPbobsCOM.CompanyClass.GetBusinessObject(BoObjectTypes Object)

at TB1AddOn1.TB1AddOn1.TB1AddOn1.AddFields(String sTableName, String sName, String sDescription, BoFieldTypes oType, Int32 iEditSize, BoFldSubTypes oSubType)

I used another test system with latest updates i.e.; SAP Business One 2007 A SP01 and add-on runs fine over there without any modifications.

Finally I created an add-on using B1DE 2.0 & VS 2005; again it is failing in PL 49 version.

Are there any issues with PL 49? Kindly assist as my client is on PL 49 and need to fix the issues.

Regards

Jennifer.