2017 Feb 14 3:39 PM - edited 2024 Feb 03 7:44 PM
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
Request clarification before answering.
User | Count |
---|---|
86 | |
9 | |
9 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.