Hello friends,
I got this error so i m not getting ouput.What should i do?
Thanks in adavance.
Server Error in '/DSSProjectScheduling' 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:
Line 21: int t_ModelID = 0;
Line 22: t_ModelID = Convert.ToInt32(Session["t_ModelID"]);
Line 23: m_ProjectString =Convert.ToString(Session["t_ProjectString"].ToString());
Line 24: m_ModelID = t_ModelID;
Line 25: LabelReport.Text = ProjectList.m_SerialOptimalSolution;
Source File: c:\Users\Suresh\Documents\Visual Studio 2005\WebSites\DSSProjectScheduling\WebSitePages\OptimalReport.aspx.cs Line: 23
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
OptimalReport.Page_Load(Object sender, EventArgs e) in c:\Users\Suresh\Documents\Visual Studio 2005\WebSites\DSSProjectScheduling\WebSitePages\OptimalReport.aspx.cs:23
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
________________________________________
Version Information: Microsoft .NET Framework Version:2.0.50727.1434; ASP.NET Version:2.0.50727.1434