Skip to Content

Powerbuilder .NET assembly

Feb 14, 2017 at 03:39 PM


avatar image
Former Member

We have created a .Net assembly with Powerbuilder 12.5.1 build 4541.This .NET assembly is used in a c# program.

When we try to save data to a SQL anywhere database using a datastore we get error.

System.AccessViolationException was unhandled HResult=-2147467261 Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Source=Sybase.PowerBuilder.DataWindow.Interop

StackTrace: at DataWindowInterop.SemanticFunctions.Update(IntPtr given_DW, Boolean AcceptData, Boolean ResetUpdateFlags) at Sybase.PowerBuilder.WinWebDataWindowCommon.PBDataStore.Update(PBBoolean a, PBBoolean c)

Retrieving data works fine.

This only occurs in the webservice. In a WinForm applications we don't see this error.

Anyone a idea why this error occurs

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers