Server Error in '/' Application.

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

Source Error:


Line 56:             </div>
Line 57:             <div id="pleca">
Line 58:                 <asp:SqlDataSource ID="dataBlogs" runat="server" 
Line 59:                     ConnectionString="<%$ ConnectionStrings:TiendaLopMon %>" 
Line 60:                     SelectCommand="SELECT Blogs.ID_Blog, Usuarios.NombreUser, Blogs.Titulo, Blogs.Fecha FROM Usuarios INNER JOIN Blogs ON Usuarios.UserID = Blogs.Usu_ID ORDER BY Blogs.Fecha">

Source File: g:\pleskvhosts\legislacionmexicana.com\httpdocs\Blog.aspx    Line: 58

Stack Trace:


[InvalidOperationException: The connection name 'TiendaLopMon' was not found in the applications configuration or the connection string is empty.]
   System.Web.Compilation.ConnectionStringsExpressionBuilder.GetConnectionString(String connectionStringName) +1561610
   ASP.blog_aspx.__BuildControldataBlogs() in g:\pleskvhosts\legislacionmexicana.com\httpdocs\Blog.aspx:58
   ASP.blog_aspx.__BuildControlContent2(Control __ctrl) in g:\pleskvhosts\legislacionmexicana.com\httpdocs\Blog.aspx:8
   System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +15
   System.Web.UI.MasterPage.InstantiateInContentPlaceHolder(Control contentPlaceHolder, ITemplate template) +90
   ASP.masterpagec_master.__BuildControlContentPlaceHolder1() in g:\pleskvhosts\legislacionmexicana.com\httpdocs\MasterPageC.master:115
   ASP.masterpagec_master.__BuildControlform1() in g:\pleskvhosts\legislacionmexicana.com\httpdocs\MasterPageC.master:80
   ASP.masterpagec_master.__BuildControlTree(masterpagec_master __ctrl) in g:\pleskvhosts\legislacionmexicana.com\httpdocs\MasterPageC.master:1
   ASP.masterpagec_master.FrameworkInitialize() in g:\pleskvhosts\legislacionmexicana.com\httpdocs\MasterPageC.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