为什么,我装的Microsoft SQL server Management Studio Express连接不上服务器呢?我用的是windows 身份验证,服务器是本地服务器
以下是错误信息:
一===================================无法连接到 CGTY-28B0BB6800\SQLEXPRESS。===================================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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (.Net SqlClient Data Provider)------------------------------
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1&LinkId=20476------------------------------
Error Number: -1
Severity: 20
State: 0

解决方案 »

  1.   

    msdn中是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: SQL Network Interfaces, error: 28 - Server doesn't support requested protocol) (Microsoft SQL Server, Error: -1)
      

  2.   

    the default settings SQL Server does not allow remote connections. 
    -----------------
    开启远程连接.
    使用配置工具来打开.
      

  3.   

    可能你安装SQL的时候 命名实例定义错误了最好重新安装下 
    我以前碰到过
      

  4.   

    程序—Microsoft SQL Server 2005—配置工具—SQL Server 外围应用配置器—服务和连接的外围应用配置器—
    1、MSSQLserver(实例名)—DataBase Engine—远程连接—(设置选项)在下方选项
    2、SQL Server Browser—服务(停止时只本机访问)
    SQL Server 浏览器程序以服务的形式在服务器上运行。SQL Server 浏览器侦听对 Microsoft SQL Server 资源的传入请求,并提供计算机上安装的 SQL Server 实例的相关信息。SQL Server 浏览器可用于执行下列三种操作:
    注:
    浏览可用服务器
    连接到正确的服务器实例
    连接到专用管理员连接 (DAC) 端点
    SQL Server Browser 服务 (sqlbrowser) 为数据库引擎 和 SSAS 的每个实例提供实例名称和版本号。SQL Server 浏览器随 Microsoft SQL Server 2005 一起安装,为该计算机上运行的早期版本的 SQL Server(从 Microsoft SQL Server 7.0 开始)提供此服务