This is not a duplicate question. Differences: No solution on other question works. This is Azure SQL not SQL Server.
I have a stored procedure that runs fine in SQL Server Management Studio and it ran fine ten minutes ago from my C# page, but it's failing now with a time-out. Nothing on the C# page has been changed.
The stored procedure is a SELECT
statement that runs instantly. I assume it's the select field from the table.
Any ideas what the problem could be?
SqlCommand com = new SqlCommand("LoadGUIDs", sqlconn)
{
CommandType = CommandType.StoredProcedure
};
SqlDataReader data = com.ExecuteReader(); // << TIMES OUT
Other procedure calls from the web page work as expected.
If I comment out this section, the rest of the site loads data as expected. I've tried loading the web page from different servers as well. Same result.