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

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

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

异常详细信息: System.Exception: 无法打开登录所请求的数据库 "demo_hqbwy_tuzhisen_com"。登录失败。
用户 'sa' 登录失败。

源错误:


行 36:         if (id > 0)
行 37:         {
行 38:             modProduct = Ins.bllProduct.UiGetModel(Work.SiteFilter("DEFAULT",true)+string.Format(" TYPE='{0}' AND ID={1} ", Keys.PRODUCT,id));
行 39:             //modProduct = Ins.bllProduct.UiGetModel(string.Format(" TYPE='{0}' AND TITLE LIKE '%{1}%' ", Keys.PRODUCT, Utils.ReplaceString(title, "-", " ")));
行 40:             if (modProduct != null && modProduct.ID > 0)

源文件: d:\www\demo.tuzhisen.com\hqbwy.tuzhisen.com\cn\collection_info.aspx.cs    行: 38

堆栈跟踪:


[Exception: 无法打开登录所请求的数据库 "demo_hqbwy_tuzhisen_com"。登录失败。
用户 'sa' 登录失败。]
   WebSite.DBUtility.DbHelperSQL.Query(String SQLString) in H:\Project\华侨博物院\WebSite.DBUtility\DbHelperSQL.cs:680
   WebSite.DAL.Dal_Product.GetModel(String strWhere) in H:\Project\华侨博物院\WebSite.DAL\Dal_Product.cs:897
   WebSite.BLL.Bll_Product.UiGetModel(String strWhere) in H:\Project\华侨博物院\WebSite.BLL\Bll_Product.cs:105
   cn_collection_info.Page_Load(Object sender, EventArgs e) in d:\www\demo.tuzhisen.com\hqbwy.tuzhisen.com\cn\collection_info.aspx.cs:38
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.4087.0