Hi guys,
I have been trying to solve a problem for a client with timeouts on stored procedure calls. We are using LLBLGen (2.6, self servicing) to call stored procedures through
RetrievalProcedures.MyProc()
then using
IDataReader reader = dao.GetAsDataReader
Then using reader.Read(). This all works fine except for I cannot get the timeout to work with anything but the default 30 secs. I have even hard coded
DB.HelperClasses.DbUtils.CommandTimeOut = 120;
And can confirm it is correct in the debugger immediately before the procedure is called but still it times out after 30 seconds. Does the Timeout even work for stored procedures? or is it just for use on views or entities?
Regards,
Rich