指定的命名连接在配置中找不到、非计划用于 EntityClient 提供程序或者无效
2009-03-02 16:52
363 查看
需要在客户端配置文件的中增加connectionString节点,此节点描述了EntityClient的连接信息。
例如: <add name="AutoLifeEntityContainer" connectionString="metadata=res://*/AutoLifeBusinessEntity.csdl|res://*/AutoLifeBusinessEntity.ssdl|res://*/AutoLifeBusinessEntity.msl;provider=System.Data.SqlClient;provider connection string="Data Source=XXX;Initial Catalog=AutoLife;Persist Security Info=True;User ID=sa;Password=XXX;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient" />
例如: <add name="AutoLifeEntityContainer" connectionString="metadata=res://*/AutoLifeBusinessEntity.csdl|res://*/AutoLifeBusinessEntity.ssdl|res://*/AutoLifeBusinessEntity.msl;provider=System.Data.SqlClient;provider connection string="Data Source=XXX;Initial Catalog=AutoLife;Persist Security Info=True;User ID=sa;Password=XXX;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient" />
相关文章推荐
- dhl:指定的命名连接在配置中找不到、非计划用于 EntityClient 提供程序或者无效。
- WPF:指定的命名连接在配置中找不到、非计划用于 EntityClient 提供程序或者无效的解决方法
- 指定的命名连接在配置中找不到、非计划用于 EntityClient 提供程序或者无效
- 指定的命名连接在配置中找不到、非计划用于 EntityClient 提供程序或者无效
- 指定的命名连接在配置中找不到、非计划用于 EntityClient 提供程序或者无效
- 指定的命名连接在配置中找不到、非计划用于 EntityClient 提供程序或者无效
- 指定的命名连接在配置中找不到、非计划用于 EntityClient 提供程序或者无效
- 指定的命名连接在配置中找不到、非计划用于 EntityClient 提供程序或者无效
- 指定的命名连接在配置中找不到、非计划用于 EntityClient 提供程序或者无效
- 指定的命名连接在配置中找不到、非计划用于 EntityClient 提供程序或者无效
- 指定的命名连接在配置中找不到、非计划用于 EntityClient 提供程序或者无效
- ADO.NET Entity Framework 指定的命名连接在配置中找不到、非计划用于 EntityClient 提供程序或者无效
- 指定的命名连接在配置中找不到、非计划用于 EntityClient 提供程序或者无效。
- 指定的命名连接在配置中找不到、非计划用于 EntityClient 提供程序或者无效
- 错误 175: 指定的存储区提供程序在配置中找不到,或者无效。
- 错误 175: 指定的存储区提供程序在配置中找不到,或者无效。
- 错误175:指定的存储区提供程序在配置中找不到,或者无效 一些感想
- c# 指定的存储区提供程序在配置中找不到,或者无效
- 无法连接到WMI 提供程序 请注意,你只能使用SQL Server 配置管理器来管理SQL Server 2005服务器。找不到指定的模块。[0x8007007e]
- 无法连接到WMI提供程序。你没有权限或者该服务器无法访问。请注意你只能使用SQL SERVER 配置管理器来管理sql server 2005服务器