如何解决在 Enterprise Architect Sparx Systems 中导入包后出现的错误
每次我想更改某个类中的某些属性时,我都会收到以下错误消息::
Microsoft Cursor Engine [-2147217864] 无法找到要更新的行。自上次读取以来,某些值可能已更改。
ADODB.记录集[-2146825069] 在此情况下不允许进行操作。
我该如何解决它们?
Everytime I want to change some properties in some class I get the following error messages:
:Microsoft Cursor Engine [-2147217864]
Row cannot be located for updating. Some values may have been changed since it was last read.
ADODB.Recordset[-2146825069]
Operation is not allowed in this context.
How can I solve them??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
即使这个问题很久以前就已经发布了:
我的项目中也会时不时地出现这个错误。
每次我尝试编辑 Enterprise Architect 项目中的特定元素时,我都会收到完全相同的错误消息。唯一的解决方案是完全删除该元素并重新创建它。
@汤姆奥:
我仅通过 XMI 文件导入。
我正在使用基于 PostgreSQL-Server 的存储库,我通过 ODBC 驱动程序访问该存储库。
可以指定在哪里可以找到这些选项吗?也许这已经过时了,因为我在 ODBC 驱动程序的“选项/数据源”菜单下找不到任何这些选项。
我剥离 GUID当我导出时以及当我导入 XMI 文件时。
我真的很感谢有关此主题的任何帮助。
Even if this question was posted a long time ago:
Now and then this error occurs in my projects, too.
Every time I try to edit specific elements in Enterprise Architect projects i get exactly the same error messages. The only solution to this is to delete the element completely and create it again.
@TomO:
I import only via XMI file.
I'm using a PostgreSQL-Server based repository, which I access via ODBC Driver.
Could specify where I can find these options? Perhaps this is outdated, becaus I can't find any of these options under the Options/Datasource Menu in my ODBC driver.
I strip GUIDs when I'm exporting and again when I'm importing XMI files.
I would really apprechiate any help concerning this topic.
如果可能的话,我可能需要更多信息。当你导入一个包时,这是从XMI导入还是导入源代码目录?您使用什么作为存储库?鉴于错误,我假设它不是本地 EAP 文件。
在您的 ODBC 数据源配置中,您是否有“返回匹配的行而不是受影响的行”和“允许大结果集”
如果您正在从 XMI 导入,您是否在导入时剥离 GUID,如果您正在制作一个模型中现有文件夹的副本因为具有两个具有相同 GUID 的元素并不理想;-)
我还注意到您在 4 月 14 日提出了这个问题 - 抱歉,我花了这么长时间才找到您的请求。我希望这有帮助!
If possible i might need a little more information. When you are importing a package, is this from XMI or are you import a source code directory? What are you using as a repository? Given the error I am assuming it is not the local EAP file.
In your ODBC Data Source Configuration do you have "Return matched rows instead of affected rows" and "Allow big result sets"
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 ;-)
I have also noticed that you asked this on Apr 14th - sorry it has taken me so long to find your request. I hope this helps!
您是否将您的 ea 存储库作为云存储库访问?如果是这样,您可以尝试切换为以 odbc 数据源访问存储库,这个问题可能会得到解决。我认为这是Sparx企业架构师云服务的一个bug。
Are you accessing your ea repository as a cloud repository please? If so, you could try to switch to access the repository as an odbc datasource, and this problem might be solved. I think it is a bug of the Sparx enterprise architect cloud service.