Server Error in '/' Application.

Object reference not set to an instance of an object.

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: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 40:         {
Line 41:             YSY.Model.Newstype model = bll_type.GetModel(Convert.ToInt32(type));
Line 42:             int? ptype = model.parentid;
Line 43:             typename = model.typename;
Line 44: 

Source File: d:\wwwroot\sdgs\wwwroot\newslist.aspx.cs    Line: 42

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   newslist.Page_Load(Object sender, EventArgs e) in d:\wwwroot\sdgs\wwwroot\newslist.aspx.cs:42
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +780


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2117.0
友情链接:博乐彩票  迅雷彩票官网  万利彩票官网  博乐彩票  98彩票  

免责声明: 本站资料及图片来源互联网文章,本网不承担任何由内容信息所引起的争议和法律责任。所有作品版权归原创作者所有,与本站立场无关,如用户分享不慎侵犯了您的权益,请联系我们告知,我们将做删除处理!