Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
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.
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?