Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

I can not connect to local SQL2008 server locally by sqlcmd.

$
0
0

I use win2008R2 and SQL2008R2.

I can not connect to local SQL2008 server locally   by sqlcmd -E -S localhost\MSSQLSERVER.

The result was HResult 0x35.

I saw the link below and made sure that

instance name is MSSQLSERVER

in MSSQLSERVER shared memory , named pipe, TCP/IP is enabled

in SQL native client 32bit/64bit shared memory , named pipe, TCP/IP is enabled

http://stackoverflow.com/questions/360141/how-to-connect-to-local-instance-of-sql-server-2008-express

http://serverfault.com/questions/11745/i-cannot-connect-to-my-local-sql-server-2008

How could I resolve the problem ?


Viewing all articles
Browse latest Browse all 8428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>