单个删除,提示成功,但删不掉,
批量删除直接报错;
Server Error in '/' Application.
对象名 'KS_AgentShop' 无效。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: 对象名 'KS_AgentShop' 无效。
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[SqlException (0x80131904): 对象名 'KS_AgentShop' 无效。] System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +404 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() +412 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1363 System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) +2884268 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +504 System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +327 Kesion.DataBase.DBHelper.ExecuteNonQuery(DbConnection connection, CommandType commandType, String commandText, DbParameter[] commandParameters) +353 Kesion.DataBase.DBHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, DbParameter[] commandParameters) +296 Kesion.DataBase.DBHelper.ExecuteNonQuery(CommandType commandType, String commandText, DbParameter[] commandParameters) +84 Kesion.SqlDAL.DataFactory.ExecuteNonQuery(String commandText) +17 Kesion.BLL.DataFactory.ExecuteNonQuery(String commandText) +101 Kesion.NET.WebSite.Admin_User.FPZGvlQGhk(String ) +156 Kesion.NET.WebSite.Admin_User.ExecuteButton_Click(Object sender, EventArgs e) +219 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +154 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3707 |