'/' 應用程式中發生伺服器錯誤。

並未將物件參考設定為物件的執行個體

描述: 在執行目前 Web 要求的過程中發生未處理的例外情形。請檢閱堆疊追蹤以取得錯誤的詳細資訊,以及在程式碼中產生的位置。

例外詳細資訊: System.NullReferenceException: 並未將物件參考設定為物件的執行個體

原始程式錯誤:


行 203:			{
行 204:				lc = new LiteralControl(TAG+"<A href='Life2.aspx?class="+objDoc.FClass+"&id="+objDoc.DL_ID+"' > "+obj.ForumName+" </A>");
行 205:				Page.Title=obj.ForumName + " TOP3" + Page.Title.Replace("TOP3 生活與休閒", "");
行 206:				forumName=obj.ForumName;
行 207:			}

原始程式檔: c:\Webhost\vhosts\top3.com.tw\httpdocs\Documents\LinkList.ascx    行: 205

堆疊追蹤:


[NullReferenceException: 並未將物件參考設定為物件的執行個體]
   ASP.documents_linklist_ascx.dealForumList(Boolean hadLink, Document3Info objDoc) in c:\Webhost\vhosts\top3.com.tw\httpdocs\Documents\LinkList.ascx:205
   ASP.documents_linklist_ascx.dealDoc_Link(Document3Info objDoc, String DL_ID, Boolean needNewDoc) in c:\Webhost\vhosts\top3.com.tw\httpdocs\Documents\LinkList.ascx:58
   ASP.documents_document_aspx.Page_Init(Object sender, EventArgs e) in c:\Webhost\vhosts\top3.com.tw\httpdocs\Documents\Document.aspx:190
   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.OnInit(EventArgs e) +99
   System.Web.UI.Page.OnInit(EventArgs e) +12
   System.Web.UI.Control.InitRecursive(Control namingContainer) +333
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378


版本資訊: Microsoft .NET Framework 版本:2.0.50727.3053; ASP.NET 版本:2.0.50727.3053