I installed SQL Server 2005 express on two computers. I installed SQL Server Management Studio Express on both computers. I ran each instance of Management Studio and connected to SQL Server using Windows authentication (one computer’s connection example: “A-63A9D4D7E7834\SQLEXPRESS”). I created a database named “test1” and created a few tables with data saved.
I did everything this site says: How to configure SQL Server 2005 to allow remote connections“, except that I have disabled the firewalls completely.
I connected to A-63A9D4D7E7834, started “SQL Server Management Studio Express” on computer A-63A9D4D7E7834:
sever name: “ALL-E425BE6C41D\SQLEXPRESS”
authentication: “windows authentication”
and hit ‘Connect’. I get the following error:
Cannot connect to
ALL-E425BE6C41D\SQLEXPRESS.ADDITIONAL INFORMATION:
Login failed for user
‘ALL-E425BE6C41D\Guest’. (Microsoft
SQL Server, Error: 18456)For help, click:
http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=18456&LinkId=20476
What can I do to resolve this?
Unless you have a login on the SQL Server for ALL-E425BE6C41D\Guest your login will fail. If you are using Windows Authentication, then log in to your machine and fire up SQL Server Management Studio Express under the account that has privileges on the SQL Server – usually the account you installed it under.