![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a package launched trougth a my program. Sometimes, due to connection problem with a remote sql server, it hang on a query. I want from a my application to stop the package. I did not get error or any exception from the package, nor the OnCancelQuery is called. The only way I see to stop excecution is to start the package in a thread and then if locked call the TerminateThread, but this solution don't like me for a lot of connected problems. Any help? Thanks. |
#3
| |||
| |||
|
|
(grumble) As far as I know the only thing you could do is documented as being risky. There is no guaranteed clean way of dealing with this that I have been able to find after studying the issue for many hours. If you find a way, I would sure be interested in knowing. - Best regards - Lee Gillie |
![]() |
| Thread Tools | |
| Display Modes | |
| |