Discuz!NT官方社区

首页 » Discuz!NT交流与讨论 » 数据转换 » 数据转换后错误,请帮忙
丝路飞鸿 - 2006-12-5 19:46:00
“/”应用程序中的服务器错误。 未将对象引用设置到对象的实例。 说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.NullReferenceException: 未将对象引用设置到对象的实例。

源错误:

行 293:    Response.Write("    if (!document.getElementById(\"trTopicFollow\" + topicid)){\r\n");行 294:    Response.Write("        var tr = document.getElementById(\"trTopic\" + topicid);\r\n");行 295:    Response.Write("        var table = document.getElementById(\"category_" + forum.Fid.ToString().Trim() + "\");\r\n");行 296:    Response.Write("        \r\n");行 297:    Response.Write("            tr = table.insertRow(tr.rowIndex+1);\r\n");

源文件: D:\web\公网网站\discuz\aspx\1\showforum.aspx    行: 295

堆栈跟踪:

[NullReferenceException: 未将对象引用设置到对象的实例。]  ASP.showforum_aspx.OnInit(EventArgs e) in D:\web\公网网站\discuz\aspx\1\showforum.aspx:295  System.Web.UI.Control.InitRecursive(Control namingContainer) +241  System.Web.UI.Page.ProcessRequestMain() +197

版本信息: Microsoft .NET Framework 版本:1.1.4322.2300; ASP.NET 版本:1.1.4322.2300
1
查看完整版本: 数据转换后错误,请帮忙