Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 unable to connect to sql server 2008

Author  Topic 

sparrow37
Posting Yak Master

148 Posts

Posted - 2010-06-26 : 08:31:53
Hi All,

I have just installed the SQL server 2008 on my computer and mistakingly deleted the login 'machinename\loginname' which I think is used to login for windows authentication in sql server 2008. Now when i select windows autthentication in sql server and try to connect, I get following error.

TITLE: Connect to Server------------------------------Cannot connect to CHRISU\ASIFMSSQLSERVER.------------------------------ADDITIONAL INFORMATION:Login failed for user 'CHRISU\asif'. (Microsoft SQL Server, Error: 18456)For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=18456&LinkId=20476------------------------------BUTTONS:OK------------------------------
TITLE: Connect to Server

------------------------------



Cannot connect to CHRISU\ASIFMSSQLSERVER.



------------------------------

ADDITIONAL INFORMATION:



Login failed for user 'CHRISU\asif'. (Microsoft SQL Server, Error: 18456)



For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=18456&LinkId=20476



------------------------------

BUTTONS:



OK

------------------------------

I am unable to connect using windows autehntication. I have not created any user so I cant connect using sql server authentication. Please help me how can i login or I need to install sql server again?

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-06-26 : 10:41:25
If you don't have any other Windows account with local admin, then you'll need to reinstall the product.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -