“/StudentSys”应用程序中的服务器错误。
--------------------------------------------------------------------------------用户 'sa' 登录失败。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.Data.OleDb.OleDbException: 用户 'sa' 登录失败。源错误:
行 148: //创建一个联结实例
行 149: Connection = new OleDbConnection(sConnectionString);
行 150: Connection.Open();
行 151:
行 152: }
源文件: c:\inetpub\wwwroot\studentsys\module\ccutility.cs 行: 150 堆栈跟踪:
[OleDbException (0x80040e4d): 用户 'sa' 登录失败。]
System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr)
System.Data.OleDb.OleDbConnection.InitializeProvider()
System.Data.OleDb.OleDbConnection.Open()
StudentSys.Module.CCUtility.DBOpen() in c:\inetpub\wwwroot\studentsys\module\ccutility.cs:150
StudentSys.Module.CCUtility..ctor(Object parent) in c:\inetpub\wwwroot\studentsys\module\ccutility.cs:68
StudentSys.Default.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\studentsys\default.cs:91
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()
--------------------------------------------------------------------------------用户 'sa' 登录失败。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.Data.OleDb.OleDbException: 用户 'sa' 登录失败。源错误:
行 148: //创建一个联结实例
行 149: Connection = new OleDbConnection(sConnectionString);
行 150: Connection.Open();
行 151:
行 152: }
源文件: c:\inetpub\wwwroot\studentsys\module\ccutility.cs 行: 150 堆栈跟踪:
[OleDbException (0x80040e4d): 用户 'sa' 登录失败。]
System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr)
System.Data.OleDb.OleDbConnection.InitializeProvider()
System.Data.OleDb.OleDbConnection.Open()
StudentSys.Module.CCUtility.DBOpen() in c:\inetpub\wwwroot\studentsys\module\ccutility.cs:150
StudentSys.Module.CCUtility..ctor(Object parent) in c:\inetpub\wwwroot\studentsys\module\ccutility.cs:68
StudentSys.Default.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\studentsys\default.cs:91
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货