[英]Can't connect to SQL server while making ADO.NET entity data model
I think that the picture below is self explanatory. 我认为下面的图片不言自明。 The problem is that I start adding a ADO.NET Entity data model with database first but whenever I try to do it, I don't get a connection string when I choose the type of connection. 问题是,我首先开始使用数据库添加ADO.NET实体数据模型,但是每当尝试这样做时,选择连接类型时都不会得到连接字符串。 Hope the picture will be of help because I don't know exactly how to describe the problem. 希望图片对您有所帮助,因为我不知道该如何描述问题。
you should, open the SQL Server Configuration Manager and 您应该打开“ SQL Server配置管理器”,然后
1) verify the sql server service is up
2) make sure the server and client protocols are set
3) verify your sql server instance NAME. for ex) . or .\SQLEXPRESS or something else
4) check your firewall
best of luck. 祝你好运。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.