Server Error in '/' Application.

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

Source Error:


Line 32:     </asp:GridView>
Line 33: 
Line 34:     <asp:SqlDataSource ID="sdsMiscItems" runat="server" ConnectionString="<%$ ConnectionStrings:RayHURL_ConnString%>"
Line 35:         SelectCommand="Select * from Misc_Items where ItemType = 'StockCert' order by ItemDesc">
Line 36:         

Source File: G:\PleskVhosts\rayharwood.com\httpdocs\Topics\StockCerts.aspx    Line: 34

Stack Trace:


[InvalidOperationException: The connection name 'RayHURL_ConnString' was not found in the applications configuration or the connection string is empty.]
   System.Web.Compilation.ConnectionStringsExpressionBuilder.GetConnectionString(String connectionStringName) +1561610
   ASP.topics_stockcerts_aspx.__BuildControlsdsMiscItems() in G:\PleskVhosts\rayharwood.com\httpdocs\Topics\StockCerts.aspx:34
   ASP.topics_stockcerts_aspx.__BuildControlContent3(Control __ctrl) in G:\PleskVhosts\rayharwood.com\httpdocs\Topics\StockCerts.aspx:7
   System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +15
   System.Web.UI.MasterPage.InstantiateInContentPlaceHolder(Control contentPlaceHolder, ITemplate template) +90
   ASP.com_root_master.__BuildControlMainBody() in G:\PleskVhosts\rayharwood.com\httpdocs\COM-Root.master:24
   ASP.com_root_master.__BuildControlContent5(Control __ctrl) in G:\PleskVhosts\rayharwood.com\httpdocs\COM-Root.master:23
   System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +15
   System.Web.UI.MasterPage.InstantiateInContentPlaceHolder(Control contentPlaceHolder, ITemplate template) +90
   ASP.masterpage_master.__BuildControlMainBody() in G:\PleskVhosts\rayharwood.com\httpdocs\MasterPage.master:37
   ASP.masterpage_master.__BuildControlform1() in G:\PleskVhosts\rayharwood.com\httpdocs\MasterPage.master:13
   ASP.masterpage_master.__BuildControlTree(masterpage_master __ctrl) in G:\PleskVhosts\rayharwood.com\httpdocs\MasterPage.master:1
   ASP.masterpage_master.FrameworkInitialize() in G:\PleskVhosts\rayharwood.com\httpdocs\MasterPage.master.vb:912308
   System.Web.UI.UserControl.InitializeAsUserControlInternal() +37
   System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +697
   System.Web.UI.MasterPage.get_Master() +44
   System.Web.UI.MasterPage.ApplyMasterRecursive(MasterPage master, IList appliedMasterFilePaths) +21
   System.Web.UI.Page.ApplyMasterPage() +142
   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