>>
>>This error may indicate that you have SET EXCLUSIVE ON and Select tries to use some table, not open yet in the code. I would fix this problem, i.e. eliminate the error. TRY/CATCH is supposed to be used when error is more elusive, e.g. some network drive may exist or not, some import file is supposed to have specific format, etc.
>
>I don't think I have SET EXCLUSIVE ON in any part of my application. My suspicion is that the network or server sometimes has a delay in allowing files to be opened.
Maybe, it is a good idea to open all needed tables without relying on implicit opening by SQL-Select?
Edward Pikman
Independent Consultant