连接unidac 4.0.1与sqlite数据库时出错
我是 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我猜你确实使用 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.