asp.net - NullReferenceException in Page_Load -


I have developed my project in asp.net 3.5. It works fine in the local host, when I work fine in the web sometimes works, but sometimes I get the following error. I think there is some error while talking to the server but I do not know at all. .. Please help me to fix this

'Server Error in Applications' / 'Application'

Object Reference is not set for an instance of an object

Description: Existing An unrestricted exception occurred during the web request execution. For more information about the error, review the stack trace and where this code is born

Exception Details:. System.NullReferenceException :. Object references are not set for an instance of an object

Source error:

An unrestricted exception occurred during the execution of existing web requests. Information about the origin and location of the exception can be identified using the exception stack trace below.

Stack trace:.

[NullReferenceException: Object references are not set for an instance of an object. ] Result. Page _load (object sender, EventArgues E) +128 system. Web. Usage. Calleherer EntierFunction Caller (Integrant FP, Object O, Object T, EventArgues E) +14 System. Web.outlineclientindustandhairdelegatepricks Callback (Object Sender, EventArgs E) 35 System.Web.UI.Control.OnLoad (EventArgs E) 99 System.Web.UI.Control.LoadRecursive () +50 System.Web.UI.Page.ProcessRequestMain (Boolean includedStagesBeforeAsyncPoint, Boolean IncludeStageAfterAsyncPoint) + 627

debugging in your web.config file enabled (debug =" this is true ") And turn on "RemoteErrors =". This will provide a much more detailed error message so that you can find that NullReferenceException is throwing. Once resolved, remember to reset these configurations.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -