Server Error in '/' Application.

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

Source Error:


Line 23: 
Line 24: 
Line 25:     <asp:SqlDataSource ID="mySqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:mySqlDataSource %>"
Line 26:         ProviderName="<%$ ConnectionStrings:mySqlDataSource.ProviderName %>" SelectCommand="">
Line 27:     </asp:SqlDataSource>

Source File: d:\hst\biser-sale1_81fc2852\http\rushniki.aspx    Line: 25

Stack Trace:


[InvalidOperationException: The connection name 'mySqlDataSource' was not found in the applications configuration or the connection string is empty.]
   System.Web.Compilation.ConnectionStringsExpressionBuilder.GetConnectionString(String connectionStringName) +1561566
   ASP.rushniki_aspx.__BuildControlmySqlDataSource1() in d:\hst\biser-sale1_81fc2852\http\rushniki.aspx:25
   ASP.rushniki_aspx.__BuildControlform1() in d:\hst\biser-sale1_81fc2852\http\rushniki.aspx:17
   ASP.rushniki_aspx.__BuildControlTree(rushniki_aspx __ctrl) in d:\hst\biser-sale1_81fc2852\http\rushniki.aspx:1
   ASP.rushniki_aspx.FrameworkInitialize() in d:\hst\biser-sale1_81fc2852\http\rushniki.aspx.cs:912308
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +48
   System.Web.UI.Page.ProcessRequest() +76
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +24
   System.Web.UI.Page.ProcessRequest(HttpContext context) +62
   ASP.rushniki_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\2cf8f783\629146d5\App_Web_e3t2hq05.2.cs:0
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +195
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +73


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