【发布时间】:2014-01-05 13:18:53
【问题描述】:
我有一个带有语言环境数据库的应用程序。在我的开发电脑上一切正常,但是当我尝试在新电脑上运行我的应用程序时出现异常并且此消息“底层提供程序在打开时失败不支持”
我将 EntityModel 与这个 connectionString 一起使用:
<connectionStrings>
<add name="KinesotherapyEntities" connectionString="metadata=res://*/Database.Kinesotherapy.csdl|res://*/Database.Kinesotherapy.ssdl|res://*/Database.Kinesotherapy.msl;provider=System.Data.SqlServerCe.3.5;provider connection string="Data Source=|DataDirectory|\Database\kinesotherapy.sdf"" providerName="System.Data.EntityClient" />
【问题讨论】:
-
你在那台电脑上也安装了数据库吗?
-
Wich connectionString?
-
我没有在另一台电脑上安装sql server
标签: c# sql-server-ce dataprovider