I'm trying to login to my local SQL Server 2005 installed on Windows7 using SSMS using Windows authentication.
I tried using various server names like ., localhost, .\SQL, ANANTH-PC etc.
I get this error when I try . or localhost

And I get this error when I try .\SQL
.
I had gone for default instance and Windows authentication when I installed SQL Server.
I've checked the service in the SQL Server Configuration manager and find that MSSQLSERVER is running.
How can I find the server name that I should enter to login to SQL Server? Any help ?
Error is loged 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.



.is correct - just your user doesn't have any permission to log on..... I would try to log on to.with thesaaccount and the password you gave that account when installing.... the default instance of SQL Server can be accessed via.(or(local)) - if you installed SQL Server Express, the default instance name would be.\SQLEXPRESS(or again:(local)\SQLEXPRESS)Administrator?? That user account should automatically be granted access to the SQL Server instance, I believe