Server Error in '/' Application.

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

Source Error:


Line 94:         </asp:Repeater>
Line 95:     </table>
Line 96:     <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:AwamiBrutalitydbConnectionString %>"
Line 97:         SelectCommand="SELECT [HrId], [HrHeading], [EditDate], [HrDetail] FROM [AwamiBrHumanRight] WHERE ([HrId] = @HrId)">
Line 98:         <SelectParameters>

Source File: g:\pleskvhosts\itanywhereaz.com\httpdocs\AWAMIBRUTALITY\HumanRightDetail.aspx    Line: 96

Stack Trace:


[InvalidOperationException: The connection name 'AwamiBrutalitydbConnectionString' was not found in the applications configuration or the connection string is empty.]
   System.Web.Compilation.ConnectionStringsExpressionBuilder.GetConnectionString(String connectionStringName) +2515954
   ASP.humanrightdetail_aspx.__BuildControlSqlDataSource1() in g:\pleskvhosts\itanywhereaz.com\httpdocs\AWAMIBRUTALITY\HumanRightDetail.aspx:96
   ASP.humanrightdetail_aspx.__BuildControlContent2(Control __ctrl) in g:\pleskvhosts\itanywhereaz.com\httpdocs\AWAMIBRUTALITY\HumanRightDetail.aspx:59
   System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +12
   ASP.abclientmasterpage_master.__BuildControlContentPlaceHolder1() in g:\pleskvhosts\itanywhereaz.com\httpdocs\AWAMIBRUTALITY\ABClientMasterPage.master:133
   ASP.abclientmasterpage_master.__BuildControlform1() in g:\pleskvhosts\itanywhereaz.com\httpdocs\AWAMIBRUTALITY\ABClientMasterPage.master:68
   ASP.abclientmasterpage_master.__BuildControlTree(abclientmasterpage_master __ctrl) in g:\pleskvhosts\itanywhereaz.com\httpdocs\AWAMIBRUTALITY\ABClientMasterPage.master:1
   ASP.abclientmasterpage_master.FrameworkInitialize() in g:\pleskvhosts\itanywhereaz.com\tmp\root\017d9ff1\906fb982\App_Web_wotiyaly.1.cs:0
   System.Web.UI.UserControl.InitializeAsUserControlInternal() +35
   System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +8774095
   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.9061; ASP.NET Version:2.0.50727.9062