Exception error if database cnx lost

[expired user #6596]'s profile image [expired user #6596] posted 9 years ago in General Permalink
Hi,

If I click on a View/Table... when cnx to database is lost then I get an exception error "Operation not allowed object is closed", should it be handled by a normal dialog box telling you cannot do this because cnx to database has been lost instead of a "rude" MadExcept message ?

version : 9.3.0.4993
compiled with : Delphi XE5
madExcept version : 4.0.8.1
callstack crc : $12861c2c, $75a8f6c8, $7f8ff580
exception number : 1
exception class : EDatabaseError
exception message : SQL Error (0): Cette opération n'est pas autorisée si l'objet est fermé unknown.

main thread ($1d04):
0083d8b1 heidisql.exe dbconnection 2419 +47 TAdoDBConnection.Query
776a012e ntdll.dll KiUserExceptionDispatcher
7519c416 KERNELBASE.dll RaiseException
0084ee8a heidisql.exe dbconnection 5359 +3 TAdoDBQuery.Execute
008437e7 heidisql.exe dbconnection 3319 +20 TDBConnection.GetResults
008447f8 heidisql.exe dbconnection 3623 +1 TDBConnection.GetVar
00846dcd heidisql.exe dbconnection 4017 +5 TDBConnection.GetCurrentUserHostCombination
008b9946 heidisql.exe view 70 +4 TfrmView.Init
009655bc heidisql.exe Main 9619 +17 TMainForm.PlaceObjectEditor
0095f2ce heidisql.exe Main 7805 +69 TMainForm.DBtreeFocusChanged
0070f196 heidisql.exe VirtualTrees 19729 +2 TBaseVirtualTree.DoFocusChange
0071399c heidisql.exe VirtualTrees 22477 +262 TBaseVirtualTree.HandleMouseDown
0070b11c heidisql.exe VirtualTrees 17178 +6 TBaseVirtualTree.WMLButtonDown
007189c8 heidisql.exe VirtualTrees 25260 +19 TBaseVirtualTree.WndProc
005b4138 heidisql.exe Vcl.Controls TWinControl.MainWndProc
0053b624 heidisql.exe System.Classes StdWndProc
769b7885 USER32.dll DispatchMessageW
0068512f heidisql.exe Vcl.Forms TApplication.ProcessMessage
00685172 heidisql.exe Vcl.Forms TApplication.HandleMessage
006854ad heidisql.exe Vcl.Forms TApplication.Run
76ef3368 kernel32.dll BaseThreadInitThunk

main thread ($1d04), inner exception level 1:
>> EOleException, Cette opération n'est pas autorisée si l'objet est fermé
0083d6c2 heidisql.exe dbconnection 2392 +20 TAdoDBConnection.Query
0084ee8a heidisql.exe dbconnection 5359 +3 TAdoDBQuery.Execute
008437e7 heidisql.exe dbconnection 3319 +20 TDBConnection.GetResults
008447f8 heidisql.exe dbconnection 3623 +1 TDBConnection.GetVar
00846dcd heidisql.exe dbconnection 4017 +5 TDBConnection.GetCurrentUserHostCombination
008b9946 heidisql.exe view 70 +4 TfrmView.Init
009655bc heidisql.exe Main 9619 +17 TMainForm.PlaceObjectEditor
0095f2ce heidisql.exe Main 7805 +69 TMainForm.DBtreeFocusChanged
0070f196 heidisql.exe VirtualTrees 19729 +2 TBaseVirtualTree.DoFocusChange
0071399c heidisql.exe VirtualTrees 22477 +262 TBaseVirtualTree.HandleMouseDown
0070b11c heidisql.exe VirtualTrees 17178 +6 TBaseVirtualTree.WMLButtonDown
007189c8 heidisql.exe VirtualTrees 25260 +19 TBaseVirtualTree.WndProc
005b4138 heidisql.exe Vcl.Controls TWinControl.MainWndProc
0053b624 heidisql.exe System.Classes StdWndProc
769b7885 USER32.dll DispatchMessageW
0068512f heidisql.exe Vcl.Forms TApplication.ProcessMessage
00685172 heidisql.exe Vcl.Forms TApplication.HandleMessage
006854ad heidisql.exe Vcl.Forms TApplication.Run
76ef3368 kernel32.dll BaseThreadInitThunk

Please login to leave a reply, or register at first.