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 7:  
Line 8:  <script runat="server">
Line 9:      SqlConnection DBCon = new SqlConnection(ConfigurationManager.ConnectionStrings["AskconstructionUpdate"].ConnectionString);
Line 10: 
Line 11:     protected void Page_Load(object sender, EventArgs e)

Source File: d:\inetpub\vhosts\amigasap-68.package\asappmedia.com\wwwroot\CMS\AdvertiserMailers\Full.aspx    Line: 9

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.cms_advertisermailers_full_aspx..ctor() in d:\inetpub\vhosts\amigasap-68.package\asappmedia.com\wwwroot\CMS\AdvertiserMailers\Full.aspx:9
   __ASP.FastObjectFactory_app_web_nrb5rsa0.Create_ASP_cms_advertisermailers_full_aspx() in d:\inetpub\vhosts\amigasap-68.package\tmp\root\0c9465dd\2a65cf6b\App_Web_nrb5rsa0.10.cs:0
   System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) +157
   System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +46
   System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +641
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +219
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +133


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