keyword not supported data source 或者Keyword not supported: 'server'的问题解决办法
2012-09-04 23:45
357 查看
What you have is a valid ADO.NET connection string - but it's NOT a valid Entity Framework connection string.
The EF connection string would look something like this:
Inside this connection string, you'll find the
So here, you need to change your server name and possibly other settings.
The EF connection string would look something like this:
<add name="testEntities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string="data source=(local);initial catalog=test;integrated security=True;multipleactiveresultsets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />
Inside this connection string, you'll find the
provider connection string=attribute which is basically your ADO.NET connection string:
provider connection string="data source=(local);initial catalog=test;integrated security=True;multipleactiveresultsets=True;App=EntityFramework""
So here, you need to change your server name and possibly other settings.
data source=....stands for your server (you can also use
server=.....)
initial catalog=.....stands for your database (you can also use
database=....)
相关文章推荐
- keyword not supported data source 问题解决办法
- Windows下pip安装及更新出现“UnicodeEncodeError: 'ascii' codec can't encode character u'\u258c' in position 8: ordinal not in range(128)”问题解决办法
- Validation (): Element ' ' is not supported错误的解决办法
- jQuery在异步请求数据返回后,调用$("selector").html(data.content);之后因为一些特殊字符或者',"不能显示内容的问题解决办法
- 关于安装mysql 5.7时遇到的默认root无法登陆或者找不到data文件夹的问题的一些解决办法
- HSLab.exe 出现Requested data format is not supported问题的解决
- 解决swift实现的websocket与后台通信问题:websocket is disconnected: masked and rev data is not currently supported
- "Project facet Java version 1.7 is not supported"的问题解决的办法
- 'DirData' parameter (./data) does not exist问题的解决
- Maven错误 diamond operator is not supported in -source 1.5 (use -source 7 or higher to enable diamond operator)问题解决
- 使用mac gradle指令 打包安卓apk遇到$TERM not set问题解决办法
- 解决eclipse中web项目出现Project facet Java version 1.8 is not supported.的问题
- mysql4.1以上版本连接时出现Client does not support authentication protocol问题解决办法
- 解决lambda expressions are not supported at this language level的问题
- gen already exists but is not a source folder. Convert to a source folder or rename it 的解决办法
- 安装J2EE的SDK报错:could not find the required version of the Java(TM)2 Runtime Environment in '(null)'的解决办法。
- archive validationg failed with errors error description not available 上传不成功包解决办法 那么问题来了
- Python 3中套接字编程中遇到TypeError: 'str' does not support the buffer interface的解决办法
- Oracle.DataAccess 驱动使用因为SQL语句缓存报错问题解决办法
- oracle Plsql 执行update或者delete时卡死问题解决办法