[問題] 幫朋友移機後..卻無法執行.net的程式.error如下.

看板C_Sharp (C#)作者 (我要打球.)時間20年前 (2005/12/12 02:07), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/1
在原來的主機上跑的很正常... 但是把檔案co到另外依台主機上面. 也灌了.net的環境了.但是執行時就會出現下面的error.. 我想應該是跟程式本身沒有關係..應該是和我架的環境有關. 請各位先知告訴該如何處裡...thx~~~~~orz error如下 Server error in '/' Application --------------------------------------------------------------------------- Object reference not set to an instance of an object Description:An unhanded exception occurred during the execution of web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details:System.NullRerenceException:Object reference not set to an instance of an object Source Error: An unhanded exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [NullRerenceException:Object reference not set to an instance of an object.] Interwiseweb.Web.Main.MainIndex.setNew() Interwiseweb.Web.Main.MainIndex.setContent() Interwiseweb.Web.Main.MainIndex.InitialPage() Interwiseweb.Web.Main.MainIndex.Page_Load(Object sender,eventarg s) System.Web.UI.Control.OnLoad(EventArg e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Page.ProcessRequestMain() +731 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.229.198.122

12/12 13:05, , 1F
有些元件沒註冊吧
12/12 13:05, 1F
文章代碼(AID): #13d6hmlC (C_Sharp)
文章代碼(AID): #13d6hmlC (C_Sharp)