Object reference not set to an instance of an object
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.]
KD.Admin.Web.ListKDToolsAllSemesters.InitializeComponent()
KD.Admin.Web.ListKDToolsAllSemesters.OnInit(EventArgs e)
System.Web.UI.Control.InitRecursive(Control namingContainer) +233
System.Web.UI.Page.ProcessRequestMain() +197
________________________________________
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
I spent almost 2 hours to check and debug the error. It turned out that our project deployment was not updated. If I tell you why the error was generated, you might get shocked. The aspx file version is not updated or the old copy of the ListKDToolsAllSemesters.aspx was deployed rather than a latest one!!!!! Enjoy the fun and sadness of the computer world!!!
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.]
KD.Admin.Web.ListKDToolsAllSemesters.InitializeComponent()
KD.Admin.Web.ListKDToolsAllSemesters.OnInit(EventArgs e)
System.Web.UI.Control.InitRecursive(Control namingContainer) +233
System.Web.UI.Page.ProcessRequestMain() +197
________________________________________
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
I spent almost 2 hours to check and debug the error. It turned out that our project deployment was not updated. If I tell you why the error was generated, you might get shocked. The aspx file version is not updated or the old copy of the ListKDToolsAllSemesters.aspx was deployed rather than a latest one!!!!! Enjoy the fun and sadness of the computer world!!!