Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

Cannot Login into new created Login Name (SQL Server 2012)

$
0
0

Hi,

I can't login into my newly created Login in SQL.

Here is the scenario:

1. Created Login using SQL Server Authentication.

2. I entered the correct Server Name and Password.

3. Resulted into an error:

===================================

Cannot connect to MACHINE-NAME\SQLEXPRESS.

===================================

Login failed for user 'Login_Name'. (.Net SqlClient Data Provider)

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

------------------------------
Server Name: Machine_Name\SQLEXPRESS
Error Number: 18456
Severity: 14
State: 1
Line Number: 65536


------------------------------
Program Location:

   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
   at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin

I already used SQL Server during my college days but that was 3-4 years ago, It's my first time using it again after a long while. back then I was using SQL Server 2008.

When I created the Login Name, I checked the proper check box in the server roles options (dbcreator and sysadmin), I don't know what else is missing.

Thank you,


Viewing all articles
Browse latest Browse all 8428

Trending Articles