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

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

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

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

原始程式錯誤:


行 38: 
行 39: 		string[] stringSeparators = new string[] { "TOP3" };
行 40: 		Page.Title=Title + " " + Page.Title.Split(stringSeparators, StringSplitOptions.None)[0];
行 41: 		//this.ImgURL = objDoc.ImgURL;
行 42: 		this.setImgURL(objDoc.CreUser);

原始程式檔: c:\Webhost\vhosts\top3.com.tw\httpdocs\forums\Main_Discuss.ascx    行: 40

堆疊追蹤:


[NullReferenceException: 並未將物件參考設定為物件的執行個體]
   ASP.MainDiscuss.SetDiscussDoc(Document3Info objDoc, UserInfo2 fUser) in c:\Webhost\vhosts\top3.com.tw\httpdocs\forums\Main_Discuss.ascx:40
   ASP.forums_discuss_aspx.dealFlist_In_Doc(String FClass, String ParentID, Boolean isBoardManager, Int32 page) in c:\Webhost\vhosts\top3.com.tw\httpdocs\forums\Discuss.aspx:282
   ASP.forums_discuss_aspx.Page_Init(Object sender, EventArgs e) in c:\Webhost\vhosts\top3.com.tw\httpdocs\forums\Discuss.aspx:130
   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