C
C# beginner
I'm struggling with a timeout problem today.
ConnectionString = "Integrated
Security=true;Database=MyDatabase;Data Source=(local);
Connection Timeout = 180;";
My connection string is set as above. A stored proc in my
code takes about 50 secs. to execute and return. But, I
get a connection time out error as follows.
SqlException occurred when trying to execute stored proc
sp_DataSubs_NOxFlowParams. Timeout expired. The timeout
period elapsed prior to completion of the operation or the
server is not responding.
Can someone help me with this? Thanks a lot in advance.
P.S. I am positive that the same piece of code worked
correctly a couple weeks back in my box. What could have
changed? I'm puzzled.
ConnectionString = "Integrated
Security=true;Database=MyDatabase;Data Source=(local);
Connection Timeout = 180;";
My connection string is set as above. A stored proc in my
code takes about 50 secs. to execute and return. But, I
get a connection time out error as follows.
SqlException occurred when trying to execute stored proc
sp_DataSubs_NOxFlowParams. Timeout expired. The timeout
period elapsed prior to completion of the operation or the
server is not responding.
Can someone help me with this? Thanks a lot in advance.
P.S. I am positive that the same piece of code worked
correctly a couple weeks back in my box. What could have
changed? I'm puzzled.