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

竞技宝app ios-竞技宝app苹果-竞技宝app苹果ios下载

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

异常详细信息: System.Data.SqlClient.SqlException: 竞技宝app ios-竞技宝app苹果-竞技宝app苹果ios下载

源错误:


行 17:         strcurrentpage = HttpContext.Current.Request.FilePath.Substring(HttpContext.Current.Request.FilePath.LastIndexOf("/") + 1).Trim();
行 18: 
行 19:         SqlDataReader drseo = seo.SelectSeoByWebpage(strcurrentpage);
行 20:         if (drseo.Read())
行 21:         {

源文件: d:\web\yuebaokeji_mbd7\china\index.aspx.cs    行: 19

堆栈跟踪:


[SqlException (0x80131904): 无法打开登录所请求的数据库 "yuebaochina"。登录失败。
用户 'NT AUTHORITY\SYSTEM' 登录失败。]
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +350
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +156
   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +268
   System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +314
   System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +204
   System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +245
   System.Data.SqlClient.SqlConnection.Open() +130
   Eseo.SelectSeoByWebpage(String webpage) +274

[Exception: 无法打开登录所请求的数据库 "yuebaochina"。登录失败。
用户 'NT AUTHORITY\SYSTEM' 登录失败。]
   Eseo.SelectSeoByWebpage(String webpage) +382
   index.Page_Load(Object sender, EventArgs e) in d:\web\yuebaokeji_mbd7\china\index.aspx.cs:19
   System.Web.UI.Control.OnLoad(EventArgs e) +103
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3811


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