Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 26th, 2005, 11:15 AM
Authorized User
 
Join Date: Oct 2004
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sql Query call does not work.

From my csharp web app I have a dynamic query that i need to execute and put that information in a datagrid. When the query runs I wait a bit for the page to load and I get this error when I try to put data in the dataset for the datasource.

ERROR [HY008] [IBM][CLI Driver][DB2/AIX64] SQL0952N Processing was cancelled due to an interrupt. SQLSTATE=57014
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.Odbc.OdbcException: ERROR [HY008] [IBM][CLI Driver][DB2/AIX64] SQL0952N Processing was cancelled due to an interrupt. SQLSTATE=57014

I think that the query is either timing out or my transaction log is running out of space. How would I go about increasing these numbers in csharp?

I used the debugger to get the query that was created and I used something equivilant to the microsoft sql query analyzer and it ran fine and returned data in about 1.5 minutes.

thanks
Michael Hsu






Similar Threads
Thread Thread Starter Forum Replies Last Post
Call to a member function query() on a non-object Boszky Pro PHP 0 November 15th, 2007 09:37 AM
how to call xml using javascript then query Apocolypse2005 Javascript 0 January 11th, 2006 10:53 AM
call resultset in join query zaman1111 JSP Basics 2 November 5th, 2004 08:44 AM
Using a Pass-Through Query to call an Oracle SP Richelou Access VBA 1 September 17th, 2004 04:56 AM
not work in sql query like '%[%' vincentc SQL Server 2000 2 October 9th, 2003 03:34 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.