Server Error in '/' Application.
当 IDENTITY_INSERT 设置为 OFF 时,不能为表 'KS_Area' 中的标识列插入显式值。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: 当 IDENTITY_INSERT 设置为 OFF 时,不能为表 'KS_Area' 中的标识列插入显式值。
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): 当 IDENTITY_INSERT 设置为 OFF 时,不能为表 'KS_Area' 中的标识列插入显式值。] 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.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +6368189 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +6369890 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +538 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +689 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.CommonData.Insert(String tablename, Hashtable sqlparam, String condition) +988 Kesion.SqlDAL.CommonData.Insert(String tablename, Hashtable sqlparam) +22 Kesion.BLL.CommonData.Insert(String tablename, Hashtable param) +108 Kesion.NET.WebSite.Admin_System_Area.Foot2_Submit(Object sender, EventArgs e) +858 Kesion.Controls.Foot.OnSubmit(EventArgs e) +116 Kesion.Controls.Foot.qEZVUYwy1(Object , EventArgs ) +31 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +154 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3707 |