Maybe you've error handler in place that eats all errors?
>I even rebooted the computer and still no error. I also added an no existing alias line :
>
>select FSDFDS
>
>
>And the code goes over this line like no problem. I also inserted some lines that create token files so that I know that the code runs in this stored procedure. The token files are created. But no error message on line that try to open non-existing alias.
>I just don't know what to try ...
--sb--