cancel
Showing results for 
Search instead for 
Did you mean: 

Powerbuilder .NET assembly

eric_verhorstert
Explorer
0 Kudos
214

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

Accepted Solutions (0)

Answers (0)