Skip to Content
avatar image
Former Member

Powerbuilder .NET assembly

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers