S10008 Error From SQL Server 6.5 Running VB 5.0 Stored Procedures 
Author Message
 S10008 Error From SQL Server 6.5 Running VB 5.0 Stored Procedures

Anyone,

I'm having a real problem running some stored procedures on a SQL Server 6.5
(SP5)platform using VB 5.0 (SP3) and ODBCDirect calls.  My stored procedures
consist of multiple select statements, batch updates, etc... and generally a
return code and/or several input parameters.  There is some very simple
control logic in all my stored procedures.  I am stuck with ODBCDirect and
DAO/Jet because I don't have access to VB5.0 Enterprise.

If I break out these stored procedures to individual text queries and call
them using DAO/Jet they work fine.  If I run the stored procedures directly
from Enterprise Manager, they run fine.  It is only when I attempt to call
them as stored procedures via ODBCDirect that I am having problems.  The odd
thing is I am running about 20 stored procedures and over half work.

Generally, when I attempt to run large queries that access 50,000+ records
from a table containing about 4,000,000 records using the current work date
as my selection criteria I encounter an error "S10008 - Operation Canceled"
from the server.  I am trying to extract records from an archive table into
a production table and am using an INSERT INTO SELECT FROM command to get
these records.   The error comes back withing 30 seconds after launch.  I
also see the error during subsequent bulk updates to the same table.

I'm assuming this error is due to some of my queries bumping into one
another at some level, or possibly an ODBC problem.  I'm thinking it could
be some kind of timing issue.  When I run the queries on empty tables, or
tables with minimal records they complete as expected.  I've actually got
one client machine that can run the processes to completion.  the rest fail
with the s10008 error.

Has anyone seen this problem before?  Am I making some obvious errors here?
I'd appreciate any help anyone could offer.

Thanks,

Kevin Black




Fri, 21 Sep 2001 03:00:00 GMT  
 S10008 Error From SQL Server 6.5 Running VB 5.0 Stored Procedures
If anyone is interested, the problem turned out to be my ODBCTimeout
setting.  It had been changed by another application.  The error was a
message from the client indicating it had cancelled the query when it timed
out.  the error seems a little ambiguous, but makes sense.  I was unable to
find references to this in any Microsoft publications.  Hope my pain will
help someone else!

Thanks,

Kevin Black

Quote:

>Anyone,

>I'm having a real problem running some stored procedures on a SQL Server
6.5
>(SP5)platform using VB 5.0 (SP3) and ODBCDirect calls.  My stored
procedures
>consist of multiple select statements, batch updates, etc... and generally
a
>return code and/or several input parameters.  There is some very simple
>control logic in all my stored procedures.  I am stuck with ODBCDirect and
>DAO/Jet because I don't have access to VB5.0 Enterprise.

>If I break out these stored procedures to individual text queries and call
>them using DAO/Jet they work fine.  If I run the stored procedures directly
>from Enterprise Manager, they run fine.  It is only when I attempt to call
>them as stored procedures via ODBCDirect that I am having problems.  The
odd
>thing is I am running about 20 stored procedures and over half work.

>Generally, when I attempt to run large queries that access 50,000+ records
>from a table containing about 4,000,000 records using the current work date
>as my selection criteria I encounter an error "S10008 - Operation Canceled"
>from the server.  I am trying to extract records from an archive table into
>a production table and am using an INSERT INTO SELECT FROM command to get
>these records.   The error comes back withing 30 seconds after launch.  I
>also see the error during subsequent bulk updates to the same table.

>I'm assuming this error is due to some of my queries bumping into one
>another at some level, or possibly an ODBC problem.  I'm thinking it could
>be some kind of timing issue.  When I run the queries on empty tables, or
>tables with minimal records they complete as expected.  I've actually got
>one client machine that can run the processes to completion.  the rest fail
>with the s10008 error.

>Has anyone seen this problem before?  Am I making some obvious errors here?
>I'd appreciate any help anyone could offer.

>Thanks,

>Kevin Black





Sun, 23 Sep 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. S10008 Error From SQL Server 6.5 Running VB 5.0 Stored Procedures

2. S10008 Error From SQL Server 6.5 Running VB 5.0 Stored Procedures

3. VB 5.0 & Stored Procedure (SQL Server 6.5)

4. executing SQL Server 6.5 stored procedure using VB 5

5. Stored Procedures with VB5/SQL Server 6.5

6. sending parameters from VB 6 to SQL 6.5 stored procedure

7. sending parameters from VB 6 to SQL 6.5 stored procedure

8. VB 5.0 and SQL Server 6.5 Contract

9. LONDON - VB 5.0/Sql-Server 6.5/ NT 4 - Developers - Derivatives Trading Systems

10. LONDON - VB 5.0/Sql-Server 6.5/ NT 4.0 - Developers - Derivatives Trading Systems

11. VB 5.0, SQL Server 6.5

12. Help SQL SERVER 6.5/VB 5.0

 

 
Powered by phpBB® Forum Software