ado.net:在配置中找不到指定的命名连接,不打算与EntityClient提供程序一起使用,或者无效

时间:2014-06-15 17:32:14

标签: c# asp.net sql ado.net web-config

关于这个问题有很多主题,但是所有这些主题都表明主项目与web.config在一个单独的地方,在我的情况下它不是......我在框架4中使用了ado.net我正在使用的连接字符串是:

<add name="db_parspooshEntities" connectionString="metadata=res://*/db_ParsPoosh.csdl|res://*/db_ParsPoosh.ssdl|res://*/db_ParsPoosh.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=.;initial catalog=db_parspoosh;user id=myid;password=mypassword;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" /> 

这是我第一次遇到这个问题......连接字符串是否存在错误? 或者这是数据库问题?...

............................................

编辑:这是我正在使用的结构的图片:

this is the picture of the structure I'm using:

0 个答案:

没有答案