October 19, 2015 at 11:20 am
We're trying to troubleshoot a timeout issue, so it was requested that I add a WAITFOR statement (1 hour) in a certain stored proc our application uses. I added it and confirmed that it was working by executing the stored proc in SSMS.
However, when our application (using Entity Framework) calls the stored proc, the WAITFOR statement is ignored. Any ideas what might be causing this?
October 19, 2015 at 11:23 am
Could it be that EF is using 2 different connections? One for the WAITFOR and one for the other code.
Or is it inside a stored procedure that's being called from EF?
October 19, 2015 at 11:32 am
It's inside a stored proc being called by EF.
October 19, 2015 at 11:34 am
It would help if we could see the code from the stored procedure.
For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]
October 19, 2015 at 11:42 am
Problem solved. Was given the wrong stored proc to modify. Ugh.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply