System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.InvalidOperationException: ExecuteReader requires an open and available Connection. The connection's current state is connecting.
at System.Data.SqlClient.SqlConnection.GetOpenConnection(String method)
at System.Data.SqlClient.SqlConnection.ValidateConnectionForExecute(String method, SqlCommand command)
at System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at moon.DAL.MikroregionyOBCEDALTableAdapters.MikorregionyOBCETableAdapter.GetDataByPrimaryKey(Int32 id_obce) in d:\inetpub\wwwroot\hotel-ubytovani.com\app_code\moon\DAL\MikroregionyOBCEDAL.Designer.cs:line 2970
at moon.BLL.MikroregionyOBCE.GetDataByPrimaryKey(Int32 id_obce) in d:\inetpub\wwwroot\hotel-ubytovani.com\app_code\moon\BLL\MikroregionyObceBLL.cs:line 1182
at moon.BLL.MikroregionyOBCE.GetByKey(Int32 id_obce) in d:\inetpub\wwwroot\hotel-ubytovani.com\app_code\moon\BLL\MikroregionyObceBLL.cs:line 1587
at VypisUbytovaniObce.Page_Load(Object sender, EventArgs e) in d:\inetpub\wwwroot\hotel-ubytovani.com\VypisUbytovaniObce.aspx.cs:line 62
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.vypisubytovaniobce_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\1da7abea\d3fa5113\App_Web_vypisubytovaniobce.aspx.cdcab7d2.zdbk5qwx.0.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) |
| HTTP_CACHE_CONTROL:no-cache
HTTP_CONNECTION:close
HTTP_PRAGMA:no-cache
HTTP_ACCEPT:text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_CHARSET:ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING:gzip
HTTP_ACCEPT_LANGUAGE:en-us,en;q=0.5
HTTP_COOKIE:ASP.NET_SessionId=bqlmel550xsaa2ugwqcob445
HTTP_HOST:www.hotel-ubytovani.com
HTTP_USER_AGENT:CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
HTTP_X_CC_ID:ccc01-01
|
| Cache-Control: no-cache
Connection: close
Pragma: no-cache
Accept: text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Encoding: gzip
Accept-Language: en-us,en;q=0.5
Cookie: ASP.NET_SessionId=bqlmel550xsaa2ugwqcob445
Host: www.hotel-ubytovani.com
User-Agent: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
x-cc-id: ccc01-01
|