Server Error in '/' Application.

The connection name 'strConn' was not found in the applications configuration or the connection string is empty.

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.InvalidOperationException: The connection name 'strConn' was not found in the applications configuration or the connection string is empty.

Source Error:


Line 377:</table>
Line 378:
Line 379:    <asp:SqlDataSource ID="SqlDataSourceLiving" runat="server" ConnectionString="<%$ ConnectionStrings:strConn %>"
Line 380:        SelectCommand="sc_sp_GetSuperCentenariansLivingAndVerifiedWithinOneYear" SelectCommandType="StoredProcedure">
Line 381:    </asp:SqlDataSource>

Source File: g:\pleskvhosts\supercentenarian-research-foundation.org\httpdocs\TableE.aspx    Line: 379

Stack Trace:


[InvalidOperationException: The connection name 'strConn' was not found in the applications configuration or the connection string is empty.]
   System.Web.Compilation.ConnectionStringsExpressionBuilder.GetConnectionString(String connectionStringName) +1561610
   ASP.tablee_aspx.__BuildControlSqlDataSourceLiving() in g:\pleskvhosts\supercentenarian-research-foundation.org\httpdocs\TableE.aspx:379
   ASP.tablee_aspx.__BuildControl__control2(Control __ctrl) in g:\pleskvhosts\supercentenarian-research-foundation.org\httpdocs\TableE.aspx:10
   System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +15
   System.Web.UI.UpdatePanel.CreateContents() +64
   System.Web.UI.UpdatePanel.set_ContentTemplate(ITemplate value) +50
   ASP.tablee_aspx.__BuildControlUpdatePanel1() in g:\pleskvhosts\supercentenarian-research-foundation.org\httpdocs\TableE.aspx:10
   ASP.tablee_aspx.__BuildControlContent1(Control __ctrl) in g:\pleskvhosts\supercentenarian-research-foundation.org\httpdocs\TableE.aspx:7
   System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +15
   System.Web.UI.MasterPage.InstantiateInContentPlaceHolder(Control contentPlaceHolder, ITemplate template) +90
   ASP.masterpagegrg_master.__BuildControlContentPlaceHolder1() in g:\pleskvhosts\supercentenarian-research-foundation.org\httpdocs\MasterPageGRG.master:30
   ASP.masterpagegrg_master.__BuildControlform1() in g:\pleskvhosts\supercentenarian-research-foundation.org\httpdocs\MasterPageGRG.master:17
   ASP.masterpagegrg_master.__BuildControlTree(masterpagegrg_master __ctrl) in g:\pleskvhosts\supercentenarian-research-foundation.org\httpdocs\MasterPageGRG.master:1
   ASP.masterpagegrg_master.FrameworkInitialize() in g:\pleskvhosts\supercentenarian-research-foundation.org\httpdocs\MasterPageGRG.master.cs:912308
   System.Web.UI.UserControl.InitializeAsUserControlInternal() +37
   System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +697
   System.Web.UI.Page.get_Master() +56
   System.Web.UI.Page.ApplyMasterPage() +15
   System.Web.UI.Page.PerformPreInit() +54
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +302


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