必须为VistaDB - Connection属性分配错误(VistaDB - Connection property must be assigned Error)

当我尝试更新我的vistadb中的一个表时,我收到以下错误。

VistaDB.Diagnostic.VistaDBSQLException was caught HResult=1011 Message= Error 1011 (Provider v. 5.0.4.1289): Connection property must be assigned Error #1011 Line #: 19; Column #: 5 Source=VistaDB.5.NET40 ErrorCode=1011 ErrorId=1011 LevelMessage=Error 1011 (Provider v. 5.0.4.1289): Connection property must be assigned Error #1011 Line #: 19; Column #: 5 ColumnNo=5 LineNo=19 StackTrace: at VistaDB.Engine.SQL.BatchStatement.CheckBatchExceptions() at VistaDB.Engine.SQL.BatchStatement.NextResult(VistaDBPipe pipe) at VistaDB.Provider.VistaDBDataReader.ExecQuery(Int64& affectedRows) at VistaDB.Provider.VistaDBCommand.ExecQuery(Int64& affectedRows) at VistaDB.Provider.VistaDBCommand.ExecuteNonQuery() at Motorola.Ardvarc.Data.Bases.Operations.BaseDBOperations

我在网上搜索这个错误,但无法找到任何答案。请帮助我对此有所了解。

谢谢Murali

I am getting the following error when I try to update one of the table in my vistadb.

VistaDB.Diagnostic.VistaDBSQLException was caught HResult=1011 Message= Error 1011 (Provider v. 5.0.4.1289): Connection property must be assigned Error #1011 Line #: 19; Column #: 5 Source=VistaDB.5.NET40 ErrorCode=1011 ErrorId=1011 LevelMessage=Error 1011 (Provider v. 5.0.4.1289): Connection property must be assigned Error #1011 Line #: 19; Column #: 5 ColumnNo=5 LineNo=19 StackTrace: at VistaDB.Engine.SQL.BatchStatement.CheckBatchExceptions() at VistaDB.Engine.SQL.BatchStatement.NextResult(VistaDBPipe pipe) at VistaDB.Provider.VistaDBDataReader.ExecQuery(Int64& affectedRows) at VistaDB.Provider.VistaDBCommand.ExecQuery(Int64& affectedRows) at VistaDB.Provider.VistaDBCommand.ExecuteNonQuery() at Motorola.Ardvarc.Data.Bases.Operations.BaseDBOperations

I searched online for this error but couldnt find any answers for this.Please help me with your thoughts on this.

Thanks Murali

最满意答案

我自己已经弄明白了这个问题。 问题是主键ID未设置为您尝试更新的条目。 但我不明白为什么VistaDB不能指出我是参照完整性错误。

I have figured out the issue myself. The problem is primary key ID is not set to the entry which you are trying to update. But I don't understand why VistaDB couldn't point me it is the referential integrity error.

必须为VistaDB - Connection属性分配错误(VistaDB - Connection property must be assigned Error)

当我尝试更新我的vistadb中的一个表时,我收到以下错误。

VistaDB.Diagnostic.VistaDBSQLException was caught HResult=1011 Message= Error 1011 (Provider v. 5.0.4.1289): Connection property must be assigned Error #1011 Line #: 19; Column #: 5 Source=VistaDB.5.NET40 ErrorCode=1011 ErrorId=1011 LevelMessage=Error 1011 (Provider v. 5.0.4.1289): Connection property must be assigned Error #1011 Line #: 19; Column #: 5 ColumnNo=5 LineNo=19 StackTrace: at VistaDB.Engine.SQL.BatchStatement.CheckBatchExceptions() at VistaDB.Engine.SQL.BatchStatement.NextResult(VistaDBPipe pipe) at VistaDB.Provider.VistaDBDataReader.ExecQuery(Int64& affectedRows) at VistaDB.Provider.VistaDBCommand.ExecQuery(Int64& affectedRows) at VistaDB.Provider.VistaDBCommand.ExecuteNonQuery() at Motorola.Ardvarc.Data.Bases.Operations.BaseDBOperations

我在网上搜索这个错误,但无法找到任何答案。请帮助我对此有所了解。

谢谢Murali

I am getting the following error when I try to update one of the table in my vistadb.

VistaDB.Diagnostic.VistaDBSQLException was caught HResult=1011 Message= Error 1011 (Provider v. 5.0.4.1289): Connection property must be assigned Error #1011 Line #: 19; Column #: 5 Source=VistaDB.5.NET40 ErrorCode=1011 ErrorId=1011 LevelMessage=Error 1011 (Provider v. 5.0.4.1289): Connection property must be assigned Error #1011 Line #: 19; Column #: 5 ColumnNo=5 LineNo=19 StackTrace: at VistaDB.Engine.SQL.BatchStatement.CheckBatchExceptions() at VistaDB.Engine.SQL.BatchStatement.NextResult(VistaDBPipe pipe) at VistaDB.Provider.VistaDBDataReader.ExecQuery(Int64& affectedRows) at VistaDB.Provider.VistaDBCommand.ExecQuery(Int64& affectedRows) at VistaDB.Provider.VistaDBCommand.ExecuteNonQuery() at Motorola.Ardvarc.Data.Bases.Operations.BaseDBOperations

I searched online for this error but couldnt find any answers for this.Please help me with your thoughts on this.

Thanks Murali

最满意答案

我自己已经弄明白了这个问题。 问题是主键ID未设置为您尝试更新的条目。 但我不明白为什么VistaDB不能指出我是参照完整性错误。

I have figured out the issue myself. The problem is primary key ID is not set to the entry which you are trying to update. But I don't understand why VistaDB couldn't point me it is the referential integrity error.