“/”应用程序中的服务器错误。

lovebet真还是假的-爱博体育投注开户-lovebet 爱博体育

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.InvalidOperationException: lovebet真还是假的-爱博体育投注开户-lovebet 爱博体育

源错误:


行 19:         {
行 20:             string domain = Request.Url.Host.Split('.')[0];
行 21:             MgrSite ms = MgrSiteBll.GetByDomain(Request.Url.Host, domain);
行 22:             if (ms.SiteCode != "")
行 23:             {

源文件: d:\web\city\about\MasterPage.master.cs    行: 21

堆栈跟踪:


[InvalidOperationException: lovebet真还是假的-爱博体育投注开户-lovebet 爱博体育]
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +6322641
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +6322983
   System.Data.SqlClient.SqlConnection.Open() +258
   System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState) +53
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +188
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +573
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +166
   YgDal.DBHelper.GetTable(String sql, SqlParameter[] values) +291
   YgDal.Admin.MgrSiteDal.GetByDomain(String domain, String s_domain) +395
   YgBll.Admin.MgrSiteBll.GetByDomain(String domain, String s_domain) +60
   about_MasterPage.Page_Load(Object sender, EventArgs e) in d:\web\city\about\MasterPage.master.cs:21
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


版本信息: Microsoft .NET Framework 版本:2.0.50727.8000; ASP.NET 版本:2.0.50727.8001