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:


Line 30:     // defaultexec to default execute the default form
Line 31: 
Line 32:     OleDbConnection conn = new OleDbConnection(ConfigurationManager.AppSettings["DbNamemclssd"].ToString());
Line 33:     string SYSDIR = ConfigurationManager.AppSettings["DirNamemclssd"].ToString();
Line 34: 

Source File: g:\pleskvhosts\showdoctors.com\httpdocs\mcl\ssd\default.aspx.cs    Line: 32

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   _default..ctor() in g:\pleskvhosts\showdoctors.com\httpdocs\mcl\ssd\default.aspx.cs:32
   ASP.mcl_ssd_default_aspx..ctor() in g:\pleskvhosts\showdoctors.com\tmp\root\260ce769\890f934a\App_Web_yggmisjv.0.cs:0
   __ASP.FastObjectFactory_app_web_yggmisjv.Create_ASP_mcl_ssd_default_aspx() in g:\pleskvhosts\showdoctors.com\tmp\root\260ce769\890f934a\App_Web_yggmisjv.2.cs:0
   System.Web.Compilation.BuildResultCompiledType.CreateInstance() +31
   System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) +104
   System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33
   System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) +39
   System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +386
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +163


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0