Server Error in '/' Application.

万博体育投注

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Castle.ActiveRecord.Framework.ActiveRecordException: 万博体育投注

Source Error:


Line 19:         if (id != StringUtil.DefaultValue)
Line 20:         {
Line 21:             model = BLL.BllBase<Model.T_News>.GetId(id);
Line 22:             if (model != null)
Line 23:             {

Source File: d:\1\v0062780\wwwroot\content.aspx.cs    Line: 21

Stack Trace:


[ActiveRecordException: 万博体育投注]
   Castle.ActiveRecord.ActiveRecordBase.EnsureInitialized(Type type) in c:\TeamCity\buildAgent\work\e41ee5ead2eba140\src\Castle.ActiveRecord\Framework\ActiveRecordBase.cs:55
   Castle.ActiveRecord.ActiveRecordBase.FindByPrimaryKey(Type targetType, Object id, Boolean throwOnNotFound) in c:\TeamCity\buildAgent\work\e41ee5ead2eba140\src\Castle.ActiveRecord\Framework\ActiveRecordBase.cs:1168
   Castle.ActiveRecord.ActiveRecordBase`1.Find(Object id) in c:\TeamCity\buildAgent\work\e41ee5ead2eba140\src\Castle.ActiveRecord\Framework\ActiveRecordBase.Generic.cs:440
   DAL.DalHelper`1.ext_GetId(Int32 id) in E:\项目\PX12580\DAL\DalHelper.cs:46
   BLL.BllBase`1.GetId(Int32 id) in E:\项目\PX12580\BLL\BllBase.cs:30
   content.Page_Load(Object sender, EventArgs e) in d:\1\v0062780\wwwroot\content.aspx.cs:21
   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) +91
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1040