I just install a SQL Server 2008 R2 on a VM. As I try to login, I got the following error message. I check the Task Manager (See file attached). SQL Server is running. Does anyone can tell me what is the problem?
Thanks.
==========================
=========
Cannot connect to TempoTangoSQL.
==========================
=========
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
--------------------------
----
For help, click:
http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=53&LinkId=20476
--------------------------
----
Error Number: 53
Severity: 20
State: 0
--------------------------
----
Program Location:
at System.Data.SqlClient.SqlI
nternalCon
nection.On
Error(SqlE
xception exception, Boolean breakConnection)
at System.Data.SqlClient.TdsP
arser.Thro
wException
AndWarning
(TdsParser
StateObjec
t stateObj)
at System.Data.SqlClient.TdsP
arser.Conn
ect(Server
Info serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject)
at System.Data.SqlClient.SqlI
nternalCon
nectionTds
.AttemptOn
eLogin(Ser
verInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
at System.Data.SqlClient.SqlI
nternalCon
nectionTds
.LoginNoFa
ilover(Str
ing host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
at System.Data.SqlClient.SqlI
nternalCon
nectionTds
.OpenLogin
Enlist(Sql
Connection
owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlI
nternalCon
nectionTds
..ctor(DbC
onnectionP
oolIdentit
y identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlC
onnectionF
actory.Cre
ateConnect
ion(DbConn
ectionOpti
ons options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
at System.Data.ProviderBase.D
bConnectio
nFactory.C
reateNonPo
oledConnec
tion(DbCon
nection owningConnection, DbConnectionPoolGroup poolGroup)
at System.Data.ProviderBase.D
bConnectio
nFactory.G
etConnecti
on(DbConne
ction owningConnection)
at System.Data.ProviderBase.D
bConnectio
nClosed.Op
enConnecti
on(DbConne
ction outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlC
onnection.
Open()
at Microsoft.SqlServer.Manage
ment.SqlSt
udio.Explo
rer.Object
ExplorerSe
rvice.Vali
dateConnec
tion(UICon
nectionInf
o ci, IServerType server)
at Microsoft.SqlServer.Manage
ment.UI.Co
nnectionDl
g.Connecto
r.Connecti
onThreadUs
er()
Capture01.PNG
In SSMS, the Properties page for the server let you set Enable Remote Connections and on the Security tab, you can enable SQL Authentication.