作者impassble (我要打球.)
看板C_Sharp
标题[问题] 帮朋友移机後..却无法执行.net的程式.error如下.
时间Mon Dec 12 02:30:29 2005
在原来的主机上跑的很正常...
但是把档案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
1F:推 kithe:有些元件没注册吧 12/12 13:05