[英]What are the setup steps in deploying SQLite for an application?
I am lost in trying to figure out why sqlite on my development computer works and not on another system. 我迷失在试图弄清楚为什么我的开发计算机上的sqlite可以工作而不在另一个系统上工作的原因。
I do remember I had to take number of steps before I finally got it to work on my development computer. 我确实记得我必须采取一些步骤,才能最终在开发计算机上使用它。 I simply can't remember what they were.
我简直不记得他们是什么。
Right now, I am testing my software on a clean system, after preparing that system for a test - like installing SQLite engine 2.5/3.5 ADO.NET. 现在,在准备要进行测试的系统之后,我正在一个干净的系统上测试我的软件-例如安装SQLite引擎2.5 / 3.5 ADO.NET。 My program starts up and quits when it goes to use the database file.
我的程序在使用数据库文件时启动并退出。 Window error message does show - System.Data.Sqlite and System.IO.EntryPointNotFound.
窗口错误消息确实显示-System.Data.Sqlite和System.IO.EntryPointNotFound。
Does anybody know what that means? 有人知道这意味着什么吗?
Any help or hints will be greatly appreciated. 任何帮助或提示将不胜感激。
Thanks Sybkar. 感谢Sybkar。 I figured out why I was having problem with SQLite on the clean system.
我弄清楚了为什么我在干净的系统上遇到SQLite问题。 Even though the System.Data.Sqlite dlls in my project folder was exactly the same in name and version as the dll files in the program files/SQLite.NET/bin folder, somehow they were different.
即使我的项目文件夹中的System.Data.Sqlite dll在名称和版本上与程序files / SQLite.NET / bin文件夹中的dll文件完全相同,但它们还是有所不同。 Once I copied the dlls from SQLite.NET bin folder to my project folder, it worked on my clean system.
将dll从SQLite.NET bin文件夹复制到我的项目文件夹后,它就可以在我的干净系统上工作。
So, what you have to do is first if you are having problem similar to mine, download and install SQLite-1.0.66.0-setup.exe. 因此,如果您遇到与我的相似的问题,首先要做的是,下载并安装SQLite-1.0.66.0-setup.exe。 Then, make sure you copy the System.Data.SQLite dlls files from SQLite.NET/Bin Folder to your project or application folder on your testing or clean system.
然后,确保将System.Data.SQLite dlls文件从SQLite.NET/Bin文件夹复制到测试或干净系统上的项目或应用程序文件夹。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.