SQL 2005 Express远程连接问题 [英] SQL 2005 Express remote connection problem

查看:72
本文介绍了SQL 2005 Express远程连接问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的导师,

我正在使用以下连接字符串连接我的数据库服务器-
数据源=" 192.168.2.172 \ SQLEXPRESS,2301;初始目录= BMDA;集成安全性= SSPI;超时= 60;"

当我从同一台PC连接时,效果很好.但是,当我尝试从LAN上的远程PC连接时,它显示"...用户MYCOMP \ Guest ...登录失败",

我已在sql上启用了tcp/ip.

我想念什么吗?

请指导我.

SKPaul

Dear mentors,

I am using the following connection string to connect my database server-
"Data Source=''192.168.2.172\SQLEXPRESS,2301''; Initial Catalog=BMDA; Integrated Security=SSPI; Timeout=60;"

when i am connecting from the same PC it works nice. But when i try to connect from remote pc on LAN, it shows "... Login failed foruser MYCOMP\Guest... ",

i have enabled tcp/ip on sql.

am i missing something?

Please guide me.

SKPaul

推荐答案

SQL Server Express默认情况下不接受远程连接.您必须在SQL Server计算机上启用该功能.如果您验证它也会接受TCP/IP连接,这也可能会有所帮助.

^ ]
SQL Server Express does not accept remote connections by default. You have to enable that on the SQL Server machine. It may also help if you verified it will accept TCP/IP connections too.

SQL Server Express Remote Connections[^]


您在这里

解决SQL连接问题的步骤 [ ^ ]

SQL Server 2005连接性问题疑难解答-第一部分 [对SQL Server 2005中的连接问题进行故障排除-第二部分 [ ^ ]

对SQL Server 2005中的连接问题进行故障排除-第III部分 [ ^ ]

顺便说一句,我也给了你这堆,以防将来出错.
Here you go

Steps to troubleshoot SQL connectivity issues[^]

SQL Server 2005 Connectivity Issue Troubleshoot - Part I[^]

Troubleshoot Connectivity Issue in SQL Server 2005 - Part II[^]

Troubleshoot Connectivity Issue in SQL Server 2005 - Part III[^]

BTW I gave you this bunch also for future errors.


这篇关于SQL 2005 Express远程连接问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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