I am upgrading a legacy azure site to use one of the current SQL azure tiers from the old web tier.
The site works fine on the website and locally but when I switch from web to basic or standard I get timeout errors.
The code that is timing out is legacy:
SqlConnection Conn;
Conn = new SqlConnection(StrConn);
Conn.Open();
try
{
SqlDataAdapter Cmd;
DataSet dtSet;
DataTable dtTable;
Cmd = new SqlDataAdapter(_sql, Conn);
dtSet = new DataSet();
Cmd.Fill(dtSet);
dtTable = new DataTable();
dtTable = dtSet.Tables[0];
Cmd = null;
return dtTable;
}
finally
{
Conn = null;
}
Connection strings are unchanged.
I can access the basic SQL database fine from Visual Studio.
Any suggestions?