Home > Net >  System. The Data. SqlClient. SqlException: the column name "TypeID" is invalid. The column
System. The Data. SqlClient. SqlException: the column name "TypeID" is invalid. The column

Time:09-24



X80131904 [SqlException (0) : the column name "TypeID" null and void,
Column 'Title' invalid,
Column 'Content' is invalid,
Column 'Cover' invalid,
Column 'AddTime' invalid,]
System. The Data. SqlClient. SqlConnection. one rror (SqlException exception, Boolean breakConnection, Action ` wrapCloseInAction) 1 + 2573902
System. The Data. SqlClient. SqlInternalConnection. one rror (SqlException exception, Boolean breakConnection, Action ` wrapCloseInAction) 1 + 6015690
System. The Data. SqlClient. TdsParser. ThrowExceptionAndWarning (TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) + 297
System. The Data. SqlClient. TdsParser. TryRun (RunBehavior RunBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& DataReady) + 4291
System. The Data. SqlClient. SqlDataReader. TryConsumeMetaData () + 59
System. The Data. SqlClient. SqlDataReader. Get_MetaData () + 91
System. The Data. SqlClient. SqlCommand. FinishExecuteReader (SqlDataReader ds, RunBehavior RunBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) + 446
System. The Data. SqlClient. SqlCommand. RunExecuteReaderTds (CommandBehavior cmdBehavior, RunBehavior RunBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& Task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) + 2698
System. The Data. SqlClient. SqlCommand. RunExecuteReader (CommandBehavior cmdBehavior, RunBehavior RunBehavior, Boolean returnStream, String method, TaskCompletionSource ` 1 completion, Int32 timeout, Task& Task, Boolean& UsedCache, Boolean asyncWrite, Boolean inRetry) + 1540
System. The Data. SqlClient. SqlCommand. RunExecuteReader (CommandBehavior cmdBehavior, RunBehavior RunBehavior, Boolean returnStream, String method) + 65
System. The Data. SqlClient. SqlCommand. ExecuteReader (CommandBehavior behaviors, String method) + 251
System. The Data. SqlClient. SqlCommand. ExecuteDbDataReader (CommandBehavior behaviors) + 43
System.Data.Com mon. DbCommand command. ExecuteReader (CommandBehavior behaviors) + 12
System. Data. The Entity. Proceeds. Interception. & lt;> c. B__6_0 (DbCommand command t, DbCommandInterceptionContext ` 1 c) + 15
System. Data. The Entity. Proceeds. Interception. InternalDispatcher ` 1. Dispatch (TTarget target, Func ` 3 operation, TInterceptionContext interceptionContext, Action ` 3 executing, Action ` 3 executed) + 72
System. Data. The Entity. Proceeds. Interception. DbCommandDispatcher. Reader (DbCommand command command, DbCommandInterceptionContext interceptionContext) + 438
System. Data. The Entity. Internal. InterceptableDbCommand. ExecuteDbDataReader (CommandBehavior behaviors) + 166
System.Data.Com mon. DbCommand command. ExecuteReader (CommandBehavior behaviors) + 12
System. Data. The Entity. The Core. The Mapping. Update. Internal. DynamicUpdateCommand. Execute (Dictionary, 2 identifierValues ` List ` 1 generatedValues) + 234
System. Data. The Entity. The Core. The Mapping. Update. Internal. UpdateTranslator. The Update () + 136

[UpdateException: An error occurred while updating the entries. See the inner exception for details.)
System. Data. The Entity. The Core. The Mapping. Update. Internal. UpdateTranslator. The Update () + 318
System. Data. The Entity. The Core. The EntityClient. Internal. & lt;> c. B__21_0 UpdateTranslator (ut) + 11
System. Data. The Entity. The Core. The EntityClient. Internal. EntityAdapter. Update (T noChangesResult, Func ` updateFunction) 2 + 120
System. Data. The Entity. The Core. The EntityClient. Internal. EntityAdapter. The Update () + 89
System. Data. The Entity. The Core. The Objects. The ObjectContext. & lt; SaveChangesToStore> B__153_0 (+ 11)
System. Data. The Entity. The Core. The Objects. The ObjectContext. ExecuteInTransaction (Func ` 1 Func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) + 292
System. Data. The Entity. The Core. The Objects. The ObjectContext. SaveChangesToStore (SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) + 163
System. Data. The Entity. The Core. Objects. & lt;> C__DisplayClass148_0. & lt; SaveChangesInternal> B__0 () + 21
System. Data. The Entity. Essentially. DefaultSqlExecutionStrategy. Execute (Func ` 1 operation) + 163
System. Data. The Entity. The Core. The Objects. The ObjectContext. SaveChangesInternal (SaveOptions options, Boolean executeInExistingTransaction) + 198
System. Data. The Entity. The Core. The Objects. The ObjectContext. SaveChanges (SaveOptions options) + 7
System. Data. The Entity. Internal. InternalContext. SaveChanges () + 114

[DbUpdateException: An error occurred while updating the entries. See the inner exception for details.)
System. Data. The Entity. Internal. InternalContext. SaveChanges () + 199
System. Data. The Entity. Internal. LazyInternalContext. SaveChanges () + 26
System. Data. The Entity. The DbContext. SaveChanges () + 20
MvcWeb. Areas. Admin. Controllers. NewsController. AddSubmit (News News) in E: \ \ information system MvcWeb \ Areas \ Admin \ Controllers \ NewsController cs: 25
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related