|
为了不扰乱会员对源码的测试,有问题咨询右侧客服不要直接回复,否则视为非法信息屏蔽会员ID! 鉴赏完毕!
发布房源后出现:
“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------
用户 'fangjukeall' 登录失败。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.Data.SqlClient.SqlException: 用户 'fangjukeall' 登录失败。
源错误:
行 33: SqlConnection connall = new SqlConnection("Server=61.129.47.6,1433\\SQL2005;database=fangjukeall;Uid=fangjukeall;Pwd=@ty2008fangjukeall2008; Max Pool Size=512 ");
行 34: SqlCommand cmdall = new SqlCommand("select top 1 id,wzmc,wz,gsmc,szcs,lxr,lxdh,fjksjkmc,fjksjkzh,fjksjkmm,fjksjkip,fjksjksl,fjksjkdk,khsjkmc,khsjkzh,khsjkmm,khsjkip,khsjksl,khsjkdk from wzjk where wz='" + pub.strwebsite + "' ", connall);
行 35: connall.Open();
行 36: SqlDataReader drall = cmdall.ExecuteReader();
行 37: SqlConnection tempconn = new SqlConnection();
源文件: e:\wwwroot\hzfwq\web0414020\wwwroot\App_Code\API.cs 行: 35
堆栈跟踪:
[SqlException (0x80131904): 用户 'fangjukeall' 登录失败。]
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4846887
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2392
System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) +35
System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) +144
System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +342
System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +221
System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +189
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +185
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +31
System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +433
System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +499
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +65
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117
System.Data.SqlClient.SqlConnection.Open() +122
API.ConnFangjuke() in e:\wwwroot\hzfwq\web0414020\wwwroot\App_Code\API.cs:35
API.GetResultFangjuke(String strsql) in e:\wwwroot\hzfwq\web0414020\wwwroot\App_Code\API.cs:51
user_admin_renthouse_pub.Getlpzdid(String mcstr) in e:\wwwroot\hzfwq\web0414020\wwwroot\shop\admin\renthouse_pub.aspx.cs:126
user_admin_renthouse_pub.btn_submit_Click(Object sender, EventArgs e) in e:\wwwroot\hzfwq\web0414020\wwwroot\shop\admin\renthouse_pub.aspx.cs:272
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565 |
|