Server Error in '/' Application.

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

Source Error:


Line 59:   </div>
Line 60:   </ItemTemplate></asp:Repeater>
Line 61:   <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:cmslincjobsConnectionString %>" SelectCommand="select * from careerpostjob where id !=(select top 1 id from careerpostjob order by id desc) order by id desc">
Line 62:             
Line 63:         </asp:SqlDataSource>

Source File: f:\225 hosting spaces backup\zexton.com\career.aspx    Line: 61

Stack Trace:


[InvalidOperationException: The connection name 'cmslincjobsConnectionString' was not found in the applications configuration or the connection string is empty.]
   System.Web.Compilation.ConnectionStringsExpressionBuilder.GetConnectionString(String connectionStringName) +1905777
   ASP.career_aspx.__BuildControlSqlDataSource1() in f:\225 hosting spaces backup\zexton.com\career.aspx:61
   ASP.career_aspx.__BuildControlContent1(Control __ctrl) in f:\225 hosting spaces backup\zexton.com\career.aspx:3
   System.Web.UI.MasterPage.InstantiateInContentPlaceHolder(Control contentPlaceHolder, ITemplate template) +108
   ASP.masterpage2_master.__BuildControlContentPlaceHolder1() in f:\225 hosting spaces backup\zexton.com\MasterPage2.master:230
   ASP.masterpage2_master.__BuildControlf1() in f:\225 hosting spaces backup\zexton.com\MasterPage2.master:112
   ASP.masterpage2_master.__BuildControlTree(masterpage2_master __ctrl) in f:\225 hosting spaces backup\zexton.com\MasterPage2.master:1
   ASP.masterpage2_master.FrameworkInitialize() in f:\225 hosting spaces backup\zexton.com\MasterPage2.master.cs:912308
   System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +1322
   System.Web.UI.Page.get_Master() +66
   System.Web.UI.Page.ApplyMasterPage() +19
   System.Web.UI.Page.PerformPreInit() +65
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +335


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