与SQL Server共存的问题 [英] Problem in coonect to SQL Server

查看:100
本文介绍了与SQL Server共存的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨我安装DNN并使用它但突然我的sql server不同意。请问一些身体请告诉我该怎么办?当我想要连接到db时显示此消息

hi I install DNN and work with it but suddenly my sql server is not conect. would some body please tell me what to do? this message is shows when I want to connect to d.b

TITLE: Connect to Server



ADDITIONAL INFORMATION:

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)

推荐答案

我从下面的链接解决问题:

HTTP://博客。 sqlauthority.com/2009/05/21/sql-server-fix-error-provider-named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server-microsoft-sql- server-error / [ ^ ]
I solve problem from below link:
http://blog.sqlauthority.com/2009/05/21/sql-server-fix-error-provider-named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server-microsoft-sql-server-error/[^]


您应该在SQL Server上启用网络,请参阅此处: http://technet.microsoft。 com / en-us / library / hh231672.aspx [ ^ ]
You should enable networking on your SQL Server, see here : http://technet.microsoft.com/en-us/library/hh231672.aspx[^]


以其他方式发送连接字符串

检查服务器名称和数据库名称
Send your connection string other wise
Check your server name and datbase name


这篇关于与SQL Server共存的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆