我有一个 ASP.NET MVC 应用程序,它通过实体框架使用 SQLite 数据库。一切都在 VS 2008 的本地开发网络服务器上运行。
但是,将 Web 应用程序部署到我的服务提供商会导致此错误:
[ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.]
System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName) +1308959
System.Data.EntityClient.EntityConnection.GetFactory(String providerString) +35
服务提供商评论说他们不支持 SQLite。我认为 SQLite 独立于服务提供商的设置,因为它是 App_Data 可部署的。
有没有人成功部署实体框架 + SQLite 的经验?
干杯,-pom-