简体   繁体   English

为应用程序部署SQLite的设置步骤是什么?

[英]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.

相关问题 与.NET应用程序一起部署SQLite时的清单 - Checklist when deploying SQLite with .NET application 使用安装程序部署使用Kinect的XNA应用程序 - Deploying XNA application which uses Kinect, using Setup Project 部署商业桌面.NET应用程序有哪些选择? - What are the options for deploying a commercial desktop .NET application? 在IIS6中使用免费SSL证书设置测试asp.net网站的详细步骤是什么? - what are the detailed steps to setup test asp.net site using free SSL certificate in IIS6? 部署网络GUI应用程序时会遇到什么问题(在winxp / vista / 7上) - what problems to expect when deploying net GUI application (on winxp/vista/7) 部署MVC2应用程序应该已经存在哪些DLL - Deploying MVC2 application what DLL's should be already present 为Web应用程序设置负载平衡环境的最佳/正确方法是什么? - What the best/correct way to setup a load balanced environment for a web application? 将现有 Angular 应用程序与现有 .net mvc 和 .net 核心应用程序集成需要哪些步骤? - What are the steps needed to integrate an existing Angular app with an existing .net mvc & .net core application? 从Visual Studio部署.NET应用程序以供公众使用的正确而完整的步骤是什么? - What are the proper and complete steps to deploy a .NET application from Visual Studio for public use? c#cplex api设置澄清步骤 - c# cplex api setup clarification steps
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM