[問題] 幫朋友移機後..卻無法執行.net的程式.error如下.
在原來的主機上跑的很正常...
但是把檔案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
C_Sharp 近期熱門文章
PTT數位生活區 即時熱門文章