Server Error in '/' Application.

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

Source Error:


Line 47:                     </Columns>
Line 48:                 </asp:GridView>
Line 49:                 <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:CIPConnectionString %>"
Line 50:                     SelectCommand="SELECT * FROM [EmploymentOpportunity]"></asp:SqlDataSource>
Line 51:             </td>

Source File: E:\web\castinpl\Employment.aspx    Line: 49

Stack Trace:


[InvalidOperationException: The connection name 'CIPConnectionString' was not found in the applications configuration or the connection string is empty.]
   System.Web.Compilation.ConnectionStringsExpressionBuilder.GetConnectionString(String connectionStringName) +2516258
   ASP.employment_aspx.__BuildControlSqlDataSource1() in E:\web\castinpl\Employment.aspx:49
   ASP.employment_aspx.__BuildControlContent1(Control __ctrl) in E:\web\castinpl\Employment.aspx:2
   System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +12
   ASP.masterpage_master.__BuildControlContentPlaceHolder1() in E:\web\castinpl\MasterPage.master:48
   ASP.masterpage_master.__BuildControlform1() in E:\web\castinpl\MasterPage.master:12
   ASP.masterpage_master.__BuildControlTree(masterpage_master __ctrl) in E:\web\castinpl\MasterPage.master:1
   ASP.masterpage_master.FrameworkInitialize() in E:\web\castinpl\MasterPage.master.vb:912308
   System.Web.UI.UserControl.InitializeAsUserControlInternal() +35
   System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +8774255
   System.Web.UI.Page.get_Master() +51
   System.Web.UI.Page.ApplyMasterPage() +15
   System.Web.UI.Page.PerformPreInit() +45
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +282


Version Information: Microsoft .NET Framework Version:2.0.50727.8974; ASP.NET Version:2.0.50727.8974