I have just gotten a windows 7 new box and have SQL Server 2005 installed. I get the following error when trying to connect to my local instance using windows authentication:
Cannot connect to CHRISW70980.
Additional information:
Login failed for user ‘MPRINC.COM\chrisw’. (Microsoft SQL Server, Error: 18456)
I’ve looked online and turned off Windows 7 firewall, made sure the TCP was enabled on 1433 in the SQL Server configuration manager, and the SQL server configuration manager says the SQL Server (MSSQLSERVER) is running and set to automatic.
Oh yeah, the error dialog box happens to appear immediately too.
Any ideas?
If it’s local to your machine then firewall and TCP won’t have anything to do with it. Since the server is telling you the login failed you can obviously reach the database. My guess – you aren’t a member of a group who has access to the database instance.
If you can, put yourself in the local administrators group and try connecting again.