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

Server Error in '/' Application.

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

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

Source Error:


Line 77:         {
Line 78:             ds.Dispose();
Line 79:             throw (ex);
Line 80:         }
Line 81:     }

Source File: d:\web\jb\jb1\lm2.aspx.cs    Line: 79

Stack Trace:


[SqlException (0x80131904): 无法打开登录所请求的数据库 "jb1"。登录失败。
用户 'sa' 登录失败。]
   Detail.GetDataSetOnePa(String cmdText, String name, SqlDbType tp, Object value) in d:\web\jb\jb1\lm2.aspx.cs:79
   Detail.bincookiebycid_() in d:\web\jb\jb1\lm2.aspx.cs:87
   Detail.Page_Load(Object sender, EventArgs e) in d:\web\jb\jb1\lm2.aspx.cs:15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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