通过局域网连接数据库 [英] Connecting to database through lan

查看:77
本文介绍了通过局域网连接数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我正在使用sql server2005.昨天所有工作正常,但是今天我得到了错误

{System.Data.SqlClient.SqlException:建立与服务器的连接时发生错误.连接到SQL Server 2005时,此失败可能是由于以下事实导致的:在默认设置下,SQL Server不允许远程连接. (提供者:命名管道提供者,错误:40-无法打开与SQL Server的连接)

我没有对数据库进行任何更改

Hello,

I am using sql server 2005.All working fine yesterday,but today i got error

{System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

i not made any changes in database

Thanks!

推荐答案

只需探索sql server配置管理器,并启用命名管道等功能即可.尝试一下
Just explore sql server configuration manager, and enable features like named pipes and other....give it a try


这篇关于通过局域网连接数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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