相关疑难解决方法(0)

不支持关键字:'server'

我一直在尝试编辑我的连接字符串,以便将我的网站上传到服务器.
我对此并不十分熟悉.我遇到了这个例外:不支持关键字:'server'.
这是我的连接字符串:

<add name="AlBayanEntities" connectionString="Server=xx.xx.xxx.xxx,xxxx;Database=AlBayan;Uid=bayan;Password=xxxxx;" providerName="System.Data.EntityClient" />
Run Code Online (Sandbox Code Playgroud)

我已经尝试将此字符串嵌入到我的旧连接字符串中,该字符串在本地工作得非常好,但它不适合:S

asp.net ado.net entity-framework connection-string sql-server-2008

26
推荐指数
3
解决办法
3万
查看次数