连接unidac 4.0.1与sqlite数据库时出错

发布于 2024-12-23 10:55:15 字数 289 浏览 5 评论 0原文

我是 delphi 用户,当尝试将 sqlite 与我的 unidac 4.0.1 组件连接时遇到问题。 我已经删除了 TUniConnection、Sqlite uniprovider,在规范属性处设置客户端库,但它总是引发错误:

文件已加密或不是数据库。

我用过 - 最新的sqlite3.dll - 德尔福XE - Unidac 4.0.1 - sqlite2009 Pro Enterprise(用于创建 sqlite 3 数据库文件)

谢谢。

I'm delphi user, i got problem when try to connect sqlite with my unidac 4.0.1 component.
I've dropped TUniConnection, Sqlite uniprovider, setting client library at specification property, but it always raised an error:

file is encrypted or is not database.

I've used
- lastest sqlite3.dll
- delphi xe
- unidac 4.0.1
- sqlite2009 Pro Enterprise (for creating sqlite 3 database file)

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

十年不长 2024-12-30 10:55:15

我猜你确实使用 Sqlite2009 Pro Enterprise 加密了文件。

标准sqlite3.dll没有实现加密。

您将需要 SQLite 加密扩展 (SEE),或者其他实现 (就像嵌入在wxcode中的)。

如果您的文件未加密,请尝试使用其他 SQLite3 查看器(例如 SQLiteSpy< /a> 或我们的 SynDBExplorer) 来猜测文件是否正确。

还要确保该文件不是在“C:\Program Files”文件夹中创建的,该文件夹由 UAC 设为“虚拟”。

I guess you did encrypt the file using Sqlite2009 Pro Enterprise.

The standard sqlite3.dll does not implement encryption.

You'll need either the SQLite Encryption Extension (SEE), either another implementation (like the one embedded in wxcode).

If your file is not encrypted, try to use another SQLite3 viewer (like SQLiteSpy or our SynDBExplorer) to guess if the file is correct.

Also ensure the file is not created in "C:\Program Files" folder, which is made "virtual" by the UAC.

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