每次我想更改某个类中的某些属性时,都会收到以下错误消息:
:Microsoft 光标引擎 [-2147217864]
无法定位要更新的行。自上次读取以来,某些值可能已更改。
ADODB.Recordset[-2146825069]
在这种情况下不允许操作。
我该如何解决它们??
最佳答案
即使这个问题是很久以前发布的:
我的项目中时不时会发生此错误。
每次我尝试编辑 Enterprise Architect 项目中的特定元素时,我都会收到完全相同的错误消息。唯一的解决方案是完全删除该元素并重新创建它。
@汤姆:
When you are importing a package, is this from XMI or are you import a source code directory?
我只通过 XMI 文件导入。
What are you using as a repository?
我正在使用基于 PostgreSQL-Server 的存储库,我通过 ODBC 驱动程序访问它。
In your ODBC Data Source Configuration do you have "Return matched rows instead of affected rows" and "Allow big result sets".
可以指定在哪里可以找到这些选项吗?也许这已经过时了,因为我在 ODBC 驱动程序的选项/数据源菜单下找不到任何这些选项。
If you are importing form XMI are you stripping the GUIDs on import, this is always a good idea if you are making a copy of an existing folder in your model as having two elements with the same GUID is not ideal ;-)
我在导出时和导入 XMI 文件时都会去除 GUID。
我真的很乐意提供有关此主题的任何帮助。
关于sql - 如何在 Enterprise Architect Sparx Systems 中导入包后解决错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5661060/