iqing - 2008-5-4 18:50:00

附件:
您所在的用户组无法下载或查看附件安装到最后一步时
http://localhost/Install/step3.aspx提示
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)
重新操作我电脑上另装了 appserv+PHP+SQL 但用的是81端口
iqing - 2008-5-4 18:50:00
请问什么原因
iqing - 2008-5-4 19:13:00
:default1: :default1:
jxspace - 2008-5-4 19:57:00
主要是SQL2005不支持远程连接,如远程连接端口关闭等情况!
jxspace - 2008-7-2 09:08:00
配置工具->sql server外围应用配置器->服务和连接的外围应用配置器->打开MSSQLSERVER节点下的Database Engine 节点,先择"远程连接",接下建议选择"同时使用TCP/IP和named pipes",确定后,重启数据库服务就可以了.
3.登陆设置改为,Sql server and windows Authentication方式同时选中,具体设置如下:
Management Studio管理器->windows Authentication(第一次用windows方式进去),->对象资源管理器中选择你的数据服务器--右键>属性> security>Sql server and windows Authentication方式同时选中.
4.设置一个Sql server方式的用户名和密码,具体设置如下:
Management Studio管理器->windows Authentication>new query>sp_password null,'sa123456','sa'
这样就设置了一个用户名为sa ,密码为:sa123456的用户,下次在登陆时,可以用Sql server方式,
用户名为sa ,密码为:sa123456的用户进数据库了.