protected void Application_BeginRequest(Object sender, EventArgs e)
{
.
.
.
try
{
string ent = SPUZ.classes.Globals.ent();
conString = Globals.Decrypt(conString, ent);
SqlConnection con = new SqlConnection(conString);
con.Open();
HttpContext.Current.Items.Add("con", con);
SqlCommand command = con.CreateCommand();
command.CommandText = "SET DATEFORMAT ymd";
command.ExecuteNonQuery();
}
catch (Exception ex)
{
sometimes I get :
Timeout expired. The timeout period elapsed prior to completion of the
operation or the server is not responding.
but at this time the server is up and running.
Can someone help me to find what is going on ?
thanks
miso
http://www.kbalertz.com/Feedback_914277.aspx
--
Andrew J. Kelly SQL MVP
Solid Quality Mentors
"Michal Valent" <val...@spirit.sk> wrote in message
news:4D09B2A4-88DB-4461...@microsoft.com...
"Andrew J. Kelly" <sqlmvpn...@shadhawk.com> wrote in message
news:uHilaqlf...@TK2MSFTNGP04.phx.gbl...
--
Andrew J. Kelly SQL MVP
Solid Quality Mentors
"Michal Valent" <val...@spirit.sk> wrote in message
news:ePR$A7lfKH...@TK2MSFTNGP02.phx.gbl...
"Andrew J. Kelly" <sqlmvpn...@shadhawk.com> wrote in message
news:epge7mof...@TK2MSFTNGP06.phx.gbl...
--
Andrew J. Kelly SQL MVP
Solid Quality Mentors
"Michal Valent" <val...@spirit.sk> wrote in message
news:OrcXe8uf...@TK2MSFTNGP04.phx.gbl...
"Andrew J. Kelly" <sqlmvpn...@shadhawk.com> wrote in message
news:%23i$UmgyfK...@TK2MSFTNGP02.phx.gbl...