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 15: {
Line 16:     ClsCommonOperations clscomm = new ClsCommonOperations();
Line 17:     string ReceiverId = ConfigurationSettings.AppSettings["ReceiverEmailId"].ToString();
Line 18:     string mailbody;
Line 19:     protected void Page_Load(object sender, EventArgs e)

Source File: g:\pleskvhosts\winningedgelearning.com\davbedkarnal\aspxpages\feedback\Feedback.aspx.cs    Line: 17

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   aspxpages_feedback_Feedback..ctor() in g:\pleskvhosts\winningedgelearning.com\davbedkarnal\aspxpages\feedback\Feedback.aspx.cs:17
   ASP.aspxpages_feedback_feedback_aspx..ctor() in g:\pleskvhosts\winningedgelearning.com\tmp\root\8ed33884\6e662cd5\App_Web_6vy6ui2q.0.cs:0
   __ASP.FastObjectFactory_app_web_6vy6ui2q.Create_ASP_aspxpages_feedback_feedback_aspx() in g:\pleskvhosts\winningedgelearning.com\tmp\root\8ed33884\6e662cd5\App_Web_6vy6ui2q.2.cs:0
   System.Web.Compilation.BuildResultCompiledType.CreateInstance() +32
   System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +119
   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) +37
   System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +307
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155


Version Information: Microsoft .NET Framework Version:2.0.50727.9061; ASP.NET Version:2.0.50727.9062