Page 1 of 1

[Resolved] Having "Operation Canceled" during form close with ChangeNotification component

Posted: Wed 30 Jul 2014 07:29
by pigbbong
I'm having the following message during terminate my application from Delphi. But this 3 message wont show after I build it into exe.

https://www.dropbox.com/s/ue05srwj7vjclt2/error.png

Message:
1) Operation canceled.
2) OLE DB error occurred. code 80040E4Eh.
3) OLE DB error occurred. code 80040E4Eh, Operation canceled.

I using Delphi 2007, my DB is MSSQL 2008 and SDAC version is 6.10.19.

Re: Having "Operation Canceled" during form close with ChangeNotification component

Posted: Wed 30 Jul 2014 13:59
by azyk
Thank you for the information. Such behavior occurs on incorrect closing of dataset with the ChangeNotification property being set. It is due to our internal errors, that we handle by ourselves. This is correct behavior, and a user won't see these errors in a working application.

Re: Having "Operation Canceled" during form close with ChangeNotification component

Posted: Wed 30 Jul 2014 14:58
by pigbbong
Have this been fixed in version 6.10.20?

Re: Having "Operation Canceled" during form close with ChangeNotification component

Posted: Fri 01 Aug 2014 11:47
by azyk
This is correct behavior, and a user won't see these errors in a working application. We do not see possibility to change it.

Re: Having "Operation Canceled" during form close with ChangeNotification component

Posted: Mon 04 Aug 2014 01:57
by pigbbong
Ok thanks for your clarification. :D

Re: [Resolved] Having "Operation Canceled" during form close with ChangeNotification component

Posted: Thu 17 Jan 2019 13:01
by OlliWW
I'm having this issue too.
Any news on this topic?
Its very confusing in a project with many developers, since you need to tell everybody "no no that's fine, just ignore that" :(

Re: [Resolved] Having "Operation Canceled" during form close with ChangeNotification component

Posted: Wed 23 Jan 2019 14:54
by Stellar
As we wrote before, this behavior is correct. When closing the data set with the installed ChangeNotification property, exceptions may occur. These exceptions are internal and are not transmitted into an application.
The generation of errors when they occur is standard practice in Delphi.