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

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

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

异常详细信息: System.Data.SqlClient.SqlException: 无法打开登录所请求的数据库 "newcement"。登录失败。
用户 'ICBM' 登录失败。

源错误:


行 38:         if (!IsPostBack)
行 39:         {
行 40:             QYDTList = bll.ZTQYDTList(10, "耐火");
行 41:             HYDTList = bll.ZTHYDTList(10, "耐火");
行 42:             ZHXXList = bll.ZTZHXXList(10, "耐火");

源文件: d:\web\zhuanti.ccement.com\zhuanti\naihuocl\Default.aspx.cs    行: 40

堆栈跟踪:


[SqlException (0x80131904): 无法打开登录所请求的数据库 "newcement"。登录失败。
用户 'ICBM' 登录失败。]
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +414
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +78
   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +196
   System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +146
   System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +16
   System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +94
   System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +110
   System.Data.SqlClient.SqlConnection.Open() +96
   Cement.Dal.SQLHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) in E:\Product\Ccement\ICement_Ccement\Cement.Dal\SQLHelper.cs:769
   Cement.Dal.NewsDal.GetTopList(Int32 num, String sqlWhere, String sqlOrder, SqlParameter[] objParams) in E:\Product\Ccement\ICement_Ccement\Cement.Dal\NewsDal.cs:326
   Cement.Bll.NewsBll.ZTQYDTList(Int32 count, String kword) in E:\Product\Ccement\ICement_Ccement\Cement.Bll\NewsBll.cs:648
   zhuanti_zhumojizt_Default.Page_Load(Object sender, EventArgs e) in d:\web\zhuanti.ccement.com\zhuanti\naihuocl\Default.aspx.cs:40
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +92
   System.Web.UI.Control.LoadRecursive() +54
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.34212
{ad.bottom}