Executing SQL Stored Procedures in VB

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SQLusername
    New Member
    • Jul 2007
    • 3

    Executing SQL Stored Procedures in VB

    I am having trouble executing a series of 4 stored procedures from VB. The connection code connects and the first 3 stored procedures run through, although the 4th procedure stops running mid execution. No errors are reported to VB. When I run the series of procedures in the SQL Server Query Analyzer everything completes as it should. Anyone have any suggestions on what could be the problem?
  • ck9663
    Recognized Expert Specialist
    • Jun 2007
    • 2878

    #2
    Originally posted by SQLusername
    I am having trouble executing a series of 4 stored procedures from VB. The connection code connects and the first 3 stored procedures run through, although the 4th procedure stops running mid execution. No errors are reported to VB. When I run the series of procedures in the SQL Server Query Analyzer everything completes as it should. Anyone have any suggestions on what could be the problem?

    tons of reasons, check for these possibilities:
    1. object locking
    2. the fourth stored proc is not returning anything
    3. your server is configured to time-out after a certain time.

    Comment

    • SQLusername
      New Member
      • Jul 2007
      • 3

      #3
      Originally posted by ck9663
      tons of reasons, check for these possibilities:
      1. object locking
      2. the fourth stored proc is not returning anything
      3. your server is configured to time-out after a certain time.
      Can you descibe what object locking is and how to remedy it? Also using SQL Server Enterprise Manager where can I edit time-out settings?

      Comment

      Working...