Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Long Running SQL Server Queires
Message
De
18/09/2003 17:18:14
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Long Running SQL Server Queires
Divers
Thread ID:
00830488
Message ID:
00830488
Vues:
46
I'm trying to create a Windows Forms interface to launch end of month queries, each of which requires several minutes to generate results. I have a stored procedure (query) that requires app. 2-3 minutes running time in SQL Server. It runs fine in Query Manager, but when I run it directly from a C# app. in app. 30 seconds I get the error message: The timeout period elapsed prior to completion of the operation or the server is not responding.

My ConnectionString sets the timeout=0. Any idea on what other settings might be causing this problem?

Note: if I replace the stored procedure with a query that takes only a few seconds, I get my results and do NOT get the error message.

I'm using C# and the Mere Mortals .Net framework.

Tim
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform