SQLEXP 2008 Install

The first time that SQLExp 2008 get installed, client connection (from either VS2010 or SQLServer Management Studio) always failed.

 

Possible Reason

1. "Allow Remote connection" not get ticked when SQLServer startsup.

    Solution: in "Management Studio"=>Engine properties=>"Connections"=>"Allow Remote Connection to this server"

    PS: by default, it's get ticked on.

 

2. "TCP/IP" not enabled for the "SQL Server".

    Solution: By default, only "Shared Memory" is enabled. Go to "Configuration Manager" => "Network Configuration" => "Protocals for [InstanceName]" => Enable TCP/IP.

 

3. "Firewall". Firewall is open and the service gets blocked.

    Solution: Fully open firewall or add Service into "unblock" list.

 

PS: SQLEXPR_x86_ENU (SQL Engine) vs SQLEXPRWT_x86_ENU (with management tools)

PS: How to see all the active ports? netstat -ano

PS: Different instances are listened on the same port which is hosted by "sqlservr.exe" Process, the port by default is 1433.

 

Reference:

1. http://blogs.msdn.com/b/walzenbach/archive/2010/04/14/how-to-enable-remote-connections-in-sql-server-2008.aspx

2. http://www.javaeye.com/wiki/topic/365162   如何查看本机某个端口被哪个进程 ...

    [转]在windows命令行窗口下执行:>netstat -aon|findstr "8000"TCP 127.0.0.1:8000 0.0.0.0:0 LISTENING 4292看到了吗,端口被进程号(PID)为4292的进程占用,继续执行下面命令:>tasklist|findstr "4292" python.exe*32 然后打开任务管理器,杀掉他就好了
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值