开发者

Running my application on another machine gives me an error [duplicate]

This question already has answers here: Closed 12 years ago.

Possible Duplicate:

C# Failed to find or load the registered .Net Data Provider error

My application is a C# Winforms Entity Framework/SQLite driven desktop app. (buzzwords!)

When I run the application on my machine, it works correctly without a problem. But when creating the installation package and running it on another machine开发者_运维问答, I get this errro:

System.ArgumentException: The specified store provider cannot be found in the configuration, or is not valid. ---> System.ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.

How can I 'package' the data provider for SQLite? The only thing I installed on my dev machine was this: http://sqlite.phxsoftware.com/

Any suggestions?


Set the sqlite reference to copy local then include it in your package

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜