如何解决在 Enterprise Architect Sparx Systems 中导入包后出现的错误

发布于 2024-11-01 19:02:38 字数 176 浏览 0 评论 0原文

每次我想更改某个类中的某些属性时,我都会收到以下错误消息::

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

倾城花音 2024-11-08 19:02:38

即使这个问题很久以前就已经发布了:

我的项目中也会时不时地出现这个错误。
每次我尝试编辑 Enterprise Architect 项目中的特定元素时,我都会收到完全相同的错误消息。唯一的解决方案是完全删除该元素并重新创建它。

@汤姆奥:

当你导入一个包时,是从XMI导入还是导入源代码目录?

我仅通过 XMI 文件导入。

您使用什么作为存储库?

我正在使用基于 PostgreSQL-Server 的存储库,我通过 ODBC 驱动程序访问该存储库。

在 ODBC 数据源配置中,是否有“返回匹配的行而不是受影响的行”和“允许大结果集”。

可以指定在哪里可以找到这些选项吗?也许这已经过时了,因为我在 ODBC 驱动程序的“选项/数据源”菜单下找不到任何这些选项。

如果您从 XMI 导入,您是否在导入时剥离 GUID,如果您要复制模型中的现有文件夹,那么这始终是一个好主意,因为具有相同 GUID 的两个元素并不理想;-)

我剥离 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:

When you are importing a package, is this from XMI or are you import a source code directory?

I import only via XMI file.

What are you using as a repository?

I'm using a PostgreSQL-Server based repository, which I access via ODBC Driver.

In your ODBC Data Source Configuration do you have "Return matched rows instead of affected rows" and "Allow big result sets".

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.

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 strip GUIDs when I'm exporting and again when I'm importing XMI files.

I would really apprechiate any help concerning this topic.

二货你真萌 2024-11-08 19:02:38

如果可能的话,我可能需要更多信息。当你导入一个包时,这是从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!

晨敛清荷 2024-11-08 19:02:38

您是否将您的 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文