哪个手机app买球

“/”应用程序中的服务器错误。

在应用程序配置中未找到连接名“LocalSqlServer”或者连接字符串为空。

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.InvalidOperationException: 在应用程序配置中未找到连接名“LocalSqlServer”或者连接字符串为空。

源错误:


行 93:         }
行 94:     </script>
行 95:     <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:LocalSqlServer %>"
行 96:         SelectCommand="select title,'/images/'+imageurl as imageurl from certificate where id%4=1 and catalog=1">
行 97:     </asp:SqlDataSource>

源文件: d:\virtualhost\localuser\host5604923\www\about\CERTIFICATE.aspx    行: 95

堆栈跟踪:


[InvalidOperationException: 在应用程序配置中未找到连接名“LocalSqlServer”或者连接字符串为空。]
   System.Web.Compilation.ConnectionStringsExpressionBuilder.GetConnectionString(String connectionStringName) +2511562
   ASP.about_certificate_aspx.__BuildControlSqlDataSource1() in d:\virtualhost\localuser\host5604923\www\about\CERTIFICATE.aspx:95
   ASP.about_certificate_aspx.__BuildControlContent1(Control __ctrl) in d:\virtualhost\localuser\host5604923\www\about\CERTIFICATE.aspx:4
   System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +12
   ASP.about_master.__BuildControlsubcontent() in d:\virtualhost\localuser\host5604923\www\about.master:85
   ASP.about_master.__BuildControlContent2(Control __ctrl) in d:\virtualhost\localuser\host5604923\www\about.master:6
   System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +12
   ASP.site_master.__BuildControlContentPlaceHolder1() in d:\virtualhost\localuser\host5604923\www\site.Master:133
   ASP.site_master.__BuildControlform1() in d:\virtualhost\localuser\host5604923\www\site.Master:39
   ASP.site_master.__BuildControlTree(site_master __ctrl) in d:\virtualhost\localuser\host5604923\www\site.Master:1
   ASP.site_master.FrameworkInitialize() in c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\6d3608d5\b0af6047\App_Web_mpfaahsl.0.cs:0
   System.Web.UI.UserControl.InitializeAsUserControlInternal() +35
   System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +8764591
   System.Web.UI.MasterPage.get_Master() +39
   System.Web.UI.MasterPage.ApplyMasterRecursive(MasterPage master, IList appliedMasterFilePaths) +18
   System.Web.UI.Page.ApplyMasterPage() +8796073
   System.Web.UI.Page.PerformPreInit() +45
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +282


版本信息: Microsoft .NET Framework 版本:2.0.50727.6421; ASP.NET 版本:2.0.50727.6427