D
Dave
I've got a script that sets up a publisher on a msde database. Runs fine
from Query Analyzer. I run it from my program and get two warnings (class
10 sqlExceptions). The second warning causes problems. When the script is
executed from the application the second warning occurs and the sql process
gets hung in a networkio wait type. When I step through the application, I
see the second warning occur, continue to step through and everything works
fine (no networkio wait type). I've tried inserting pauses, disposing of
the sqlCommand object and recreating it, closing and re-opening the
sqlConnection when these warnings occur but nothing seems to change the
networkio wait type when run from the application (not stepping through).
Anyone seen this before? Have any ideas what else I can try?
TIA,
Dave
from Query Analyzer. I run it from my program and get two warnings (class
10 sqlExceptions). The second warning causes problems. When the script is
executed from the application the second warning occurs and the sql process
gets hung in a networkio wait type. When I step through the application, I
see the second warning occur, continue to step through and everything works
fine (no networkio wait type). I've tried inserting pauses, disposing of
the sqlCommand object and recreating it, closing and re-opening the
sqlConnection when these warnings occur but nothing seems to change the
networkio wait type when run from the application (not stepping through).
Anyone seen this before? Have any ideas what else I can try?
TIA,
Dave