I know this topic has already been discussed in the past.
I (hopefully) read all the posts here and at Microsofts and tried whatever solution was mentioned (see below).
Unfortunately nothing helped.
An apology forwarded - some of the informational stuff (screenshots etc) is German cause I'm German.
Problem:
In this part of code "FObjMgr.Save(konfig);" produces the exception:
What happens if you try to use SQL Server Native Client? Does it work?
Why do you know the Wert field is causing the issue?
As you might have probably seen in the other topics, we could never reproduce such issue at our side. Are you able to do so in a clean environment and if yes, could you help us reproduce the issue? Things we need:
Thanks, I only miss the Delphi application you use (source code). Ideally a full compilable test application, but at the very least the Aurelius mapped entities, including TKonfig class.
I found out something interessting:
The error occurs only if one of the varchar fields (name,wert) is an empty string. Setting both fields to <>'' it works.
This is true for inserting and updating records.
Except when I change 'wert' to varchar(max), then both operations result in an error again.
Thank you very much for the detailed information. With it we were able to reproduce the problem, it has been fixed. Next version will address this issue.