Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Transaction timeout on CLR stored procedure

 
   Database Forums (Home) -> Connect RSS
Next:  Get Icon Data  
Author Message
Rob

External


Since: Jun 16, 2007
Posts: 1



(Msg. 1) Posted: Fri Feb 01, 2008 3:00 am
Post subject: Transaction timeout on CLR stored procedure
Archived from groups: microsoft>public>sqlserver>connect (more info?)

Hi,



I have a CLR stored procedure that times out after approximately the same
duration each time give or take a couple of seconds. It times out at about
the 11 mins, 12 secs mark, which I'm executing directly from SQL Management
Studio. I've not had any issues with timeouts until now, but I've not had a
transaction run this long until now either.



The stored procedure performs a large number of queries, updates, deletes
etc as part of a single transaction. In the transaction options, I've
specified the timeout period to 1 hour as follows:



options.Timeout = New TimeSpan(1, 0, 0)



I have tried setting the Query Wait parameter to both -1 and a ridiculously
large number, with no effect.

I've tried setting the Remote Query timeout to 0 (endless) and another
ridiculously large number, with no effect.



The fact that I'm running this from directly within Server Management Studio
eliminates any restrictions being placed by outside influences such as
ASP.NET



Nothing appears in either the SQL Server logs or event logs.

Interestingly, the transaction seems to get the 'timeout' on the same query
each time. I removed the record that it was crashing on to see if it would
continue, thinking that it may have been maxing out some kind of query
limit. Instead, it failed on the record prior.



Any suggestions on what else may be causing this timeout?

 >> Stay informed about: Transaction timeout on CLR stored procedure 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
how to return a value in a stored procedure? - Hi, i use a stored procedure for my asp.net application which must return a value: (number of items). How can i do that? I tried this but don't know how to giive te found value back. Thansk Chris ALTER PROCEDURE [dbo].[mysp] AS declare @returnValue....

Calling an Oracle Stored Procedure from a Sql Server 2000 .. - Hi, I'm trying to call an Oracle stored procedure from Sql server and I have this error message Could not execute procedure 'INTEGRE_INTERNET' on remote server 'ORA_DEV1'. [OLE/DB provider returned message: One or more errors occurred during processing...

in sql server is it possible to get the amount of memory u.. - in sql server is it possible to get the amount of memory used by a stored procedure? e.g. memory usage statistics per stored procedure?

in sql server 2000+ is there some stored procedure that sh.. - in sql server 2000+ is there some stored procedure that shows your current disk space usage?

DISTRIBUTED TRANSACTION PROBLEM - I have 2 SQL server on 2 different servers. (both sql server 2005) I linked one to another with EXEC sp_addlinkedserver @server='AV1', @srvproduct='Av1', @provider='SQLOLEDB', @datasrc='88.247.124.178\ALISVERISSAATI' My other sql instance....
   Database Forums (Home) -> Connect All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]