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

新万博app苹果版下载_万博体育app万博体育app_万博手机客户端苹果版

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

异常详细信息: System.InvalidOperationException: 新万博app苹果版下载_万博体育app万博体育app_万博手机客户端苹果版

源错误:


行 41:     {
行 42:         SiteConfig sc = (SiteConfig)Application["SiteConfig"];
行 43:         PubCar pc = PubCarBll.GetEnt(id);
行 44:         CarId = pc.Id.ToString();
行 45:         if (pc.Id < 1 || pc.PubTypeId != 2 || pc.StateTypeId != 1 || pc.IsDel != 0)//类型不为婚车,状态不为上线, 删除不为0

源文件: d:\web\city\pub\merryview.aspx.cs    行: 43

堆栈跟踪:


[InvalidOperationException: 新万博app苹果版下载_万博体育app万博体育app_万博手机客户端苹果版]
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +6322641
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +6322983
   System.Data.SqlClient.SqlConnection.Open() +258
   YgDal.DBHelper.GetReader(String sql, SqlParameter[] values) +243
   YgDal.CompanyUser.Pub.PubCarDal.GetEnt(Int32 id) +608
   YgBll.CompanyUser.Pub.PubCarBll.GetEnt(Int32 id) +48
   pub_merryview.SetCar(Int32 id) in d:\web\city\pub\merryview.aspx.cs:43
   pub_merryview.Page_Load(Object sender, EventArgs e) in d:\web\city\pub\merryview.aspx.cs:32
   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.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


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