我复制并从一个服务器粘贴我的应用程序(正常工作)到另一台服务器(这是行不通的罚款)。.NET未处理的异常从母版
我得到这个新的服务器上,即使代码并没有改变:
Source Error:
An unhandled 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:
[NullReferenceException: Object reference not set to an instance of an object.]
MasterPagePS_Index.Page_Load(Object sender, EventArgs e) +117
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.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
调试完这个之后,你发现了什么,或者跟踪状态是什么? –
您需要逐步完成这一点,并确定哪些空引用的来源是 – JDandChips
它的作品在我的地方,我的旧服务器上的罚款,试图将此移动到新的一个 – cdub