KnowlegeZone.com, Share knowledge Gain knowledge
     

Home > ASP : Server Error in '/' Application.

Question By: Kabilan   Date: 6/24/2009

Server Error in '/' Application.

I have developed my application in asp.net 3.5. It is succesfully running in local host but when i publish in web i have the error which is given below. Please help me.

 

Server Error in '/' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

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.]
   Result.Page_Load(Object sender, EventArgs e) +128
   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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Share |

Comments.
Comment/Solution Posted By: Saqib    Date: 6/24/2009 3:19:00 PM
You should set <customErrors mode="Off"/> in your web.config to see the full error description.

web.config is located in the root of your application.

Also make sure in IIS your application is set to ASP.NET version 3.5.

- Saqib


Pages :
Post Comment or Solution   OR   Sign in using Google/Aol/Yahoo/Msn/OpenID
Your Name:  
Your Email:  
Comments:
 
Please Verify:
(Type Answer)