I am getting the following error when i publish the website code.
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:
[No relevant source lines]
Source File: c:WINDOWSMicrosoft.NETFramework64v2.0.50727Temporary ASP.NET Filesdubs_test4fc875e9c05ca91aApp_Web_dataentry.aspx.cdcab7d2.v9c2efde.0.cs Line: 0
Stack Trace:
See Question&Answers more detail:os[NullReferenceException: Object reference not set to an instance of an object.] DataEntry..ctor() +96 ASP.dataentry_aspx..ctor() in c:WINDOWSMicrosoft.NETFramework64v2.0.50727Temporary ASP.NET Filesdubs_test4fc875e9c05ca91aApp_Web_dataentry.aspx.cdcab7d2.v9c2efde.0.cs:0 __ASP.FastObjectFactory_app_web_dataentry_aspx_cdcab7d2_v9c2efde.Create_ASP_dataentry_aspx() in c:WINDOWSMicrosoft.NETFramework64v2.0.50727Temporary ASP.NET Filesdubs_test4fc875e9c05ca91aApp_Web_dataentry.aspx.cdcab7d2.v9c2efde.1.cs:0 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +146
System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +62 System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +573
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +182 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +276