日期:2014-05-18  浏览次数:20440 次

Sql server2005的問題,連不上本機的數據庫,怎麼辦(100分)
TITLE:   Connect   to   Server
------------------------------

Cannot   connect   to   MATTHEW\SQLEXPRESS.

------------------------------
ADDITIONAL   INFORMATION:

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)   (Microsoft   SQL   Server,   Error:   -1)

For   help,   click:   http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------


------解决方案--------------------
还全是E文的?请问兄台,在什么地方连接不上SQL?服务有没有启动?实例名\数据库\用户\
密码是否正确?
------解决方案--------------------
提示远程连接没有开启.进配置工具里面.启动sqlserver服务.
外围应用程序配置器-database engine -本地连接和远程连接-仅使用tcp/ip
试一下
------解决方案--------------------
装上SQLExpress2005,出现了下面的错误: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)

花了偶1天多时间试试了,改实例名等等,在网上找了半天讲的是连接SQL express 2005的,要知道偶连接的是SQL2k,所以开始的时候没想到在SQLExpress2005上的设置,后来修改其Remote Connection enable,就可以使用了