Server Error in '/' Application.

无法打开登录所请求的数据库 "cicc"。登录失败。
用户 'cicc' 登录失败。

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.Exception: 无法打开登录所请求的数据库 "cicc"。登录失败。
用户 'cicc' 登录失败。

Source Error:


Line 12: {
Line 13:     public int MenuID { get; set; }
Line 14:     public Dictionary<string, string> website = DbHelperSQL.QueryDic("SELECT * FROM Sys_WebSite WHERE Language='CN'");
Line 15:     
Line 16: 

Source File: d:\CICC2021\website\CTL\top.ascx.cs    Line: 14

Stack Trace:


[Exception: 无法打开登录所请求的数据库 "cicc"。登录失败。
用户 'cicc' 登录失败。]
   qianye.com.DbHelper.DbHelperSQL.QueryDic(String SQLString) in D:\www\202102\CICC\程序\qianyecms.com\QIANYECMS.COM.DbHelperSQL\DbHelperSQL.cs:531
   CTL_top..ctor() in d:\CICC2021\website\CTL\top.ascx.cs:14
   ASP.ctl_top_ascx..ctor() in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\483df94d\2e52203\App_Web_rjksklqh.0.cs:0
   ASP.news_detail_default_aspx.__BuildControltop() in d:\CICC2021\website\news\detail\Default.aspx:24
   ASP.news_detail_default_aspx.__BuildControlTree(news_detail_default_aspx __ctrl) in d:\CICC2021\website\news\detail\Default.aspx:1
   ASP.news_detail_default_aspx.FrameworkInitialize() in d:\CICC2021\website\news\detail\Default.aspx.cs:912308
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +72
   System.Web.UI.Page.ProcessRequest() +269
   System.Web.UI.Page.ProcessRequest(HttpContext context) +167
   ASP.news_detail_default_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\483df94d\2e52203\App_Web_puchpbxj.0.cs:0
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +625
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270


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