oracle ORA-01019 无法在 Windows 7 上的 ADO 程序中在用户端分配内存
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12081734/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
ORA-01019 unable to allocate memory in the user side in ADO program on Windows 7
提问by Agnes Cabrera
I converted our Delphi 7 BDE programs to use ADO so they can run on Windows 7. But I get the error ORA-01019 unable to allocate memory in the user side. I made myself part of a group with create global object rights and the program runs. But we do not want to grant the standard user this right. I also created a customized manifest where the execution level is "requireAdministrator" and placed it in the project folder. I still get the same error.
我将我们的 Delphi 7 BDE 程序转换为使用 ADO,以便它们可以在 Windows 7 上运行。但我收到错误 ORA-01019 无法在用户端分配内存。我使自己成为具有创建全局对象权限的组的一部分并且程序运行。但是我们不想授予标准用户这个权利。我还创建了一个自定义清单,其中执行级别为“requireAdministrator”,并将其放置在项目文件夹中。我仍然遇到同样的错误。
回答by da-soft
- Try to use Microsoft OLEDB provider for Oracle (
MSDAORA
), Oracle OLEDB provider (OraOLEDB
) or even Oracle ODBC. One of them should work without adjusting user rights. - ADO is not the best choice for Oracle data access.
MSDAORA
usesOCI7
, and gets number of limitations, like cannot work with BLOB's.OraOLEDB
uses new OCI, but has some issues too, like fails to edit some query results, etc. Finally ADO (dbGo, more precisely) is slow (more). - Consider to migrate to 3d party products. The BDE -> 3d party way is simple with many data access libraries, including our product - AnyDAC(more). Also, they does not have such issues.
- 尝试将 Microsoft OLEDB 提供程序用于 Oracle (
MSDAORA
)、Oracle OLEDB 提供程序 (OraOLEDB
) 甚至 Oracle ODBC。其中之一应该可以在不调整用户权限的情况下工作。 - ADO 不是 Oracle 数据访问的最佳选择。
MSDAORA
使用OCI7
,并获得一些限制,例如不能与 BLOB 一起使用。OraOLEDB
使用新的 OCI,但也有一些问题,比如无法编辑某些查询结果等。最后,ADO(更准确地说是 dbGo)很慢(更多)。 - 考虑迁移到 3d 派对产品。BDE -> 3d 派对方式很简单,有许多数据访问库,包括我们的产品 - AnyDAC(更多)。此外,他们没有这样的问题。