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

山猫直播洁西

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

异常详细信息: System.NullReferenceException: 山猫直播洁西

源错误:


行 15:         {
行 16:             ModelService<Hms_Menus> msvm = new ModelService<Hms_Menus>();
行 17:             Repeater1.DataSource(msvm.GetList("select * from Hms_Menus where ParentId=14 order by sort,id"));
行 18: 
行 19:             int id, pid;

源文件: d:\virtualhost\localuser\host2920379\www\Product.aspx.cs    行: 17

堆栈跟踪:


[NullReferenceException: 山猫直播洁西]
   System.Data.OleDb.OleDbConnection.ValidateTransaction(OleDbTransaction transaction, String method) +18
   System.Data.OleDb.OleDbCommand.ValidateConnectionAndTransaction(String method) +40
   System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +56
   System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior) +116
   AccessModels.DBHelper.ReaderSql(String sql) in E:\2011\LW_TFS_PRO\风驰卓越\Solution1\Solution1\AccessModels\DBHelper.cs:168
   AccessModels.ModelService`1.GetList(String sql) in E:\2011\LW_TFS_PRO\风驰卓越\Solution1\Solution1\AccessModels\ModelService.cs:46
   Product.Page_Load(Object sender, EventArgs e) in d:\virtualhost\localuser\host2920379\www\Product.aspx.cs:17
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


版本信息: Microsoft .NET Framework 版本:2.0.50727.6421; ASP.NET 版本:2.0.50727.6427