I am trying to log in to my local SQL Server 2005 installed on Windows7 using SSMS using Windows authentication.
I tried using different server names, for example . , localhost ANANTH-PC .\SQL , ANANTH-PC , etc.
I get this error when trying . or localhost

and I get this error when trying .\SQL
. 
I retired for the default instance and Windows authentication when installing SQL Server.
I checked the service in SQL Server Configuration Manager and found that MSSQLSERVER working.
How can I find the server name that I must enter to log in to SQL Server? Any help?
The error is logged as
2012-01-26 15:07:16.02 Logon Login failed for user 'Ananth-PC\Ananth'. [CLIENT: <local machine>] 2012-01-26 15:08:51.06 Logon Error: 18456, Severity: 14, State: 11.
source share