<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/b/sql_protocols/archive/2006/02/21/536201.aspx</link><description>In continuing with the theme of understanding error messages I'll discuss the "login failed" messages that are surfaced by the client and written to the server's error log ( if the auditlevel is set to log failures on login which is the default) in the</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/b/sql_protocols/archive/2006/02/21/536201.aspx#10419693</link><pubDate>Fri, 17 May 2013 15:59:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10419693</guid><dc:creator>flobi</dc:creator><description>&lt;p&gt;What about state 1? &amp;nbsp;I&amp;#39;m getting error 18456 state 1 (severity 14)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10419693" width="1" height="1"&gt;</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/b/sql_protocols/archive/2006/02/21/536201.aspx#10415341</link><pubDate>Wed, 01 May 2013 11:47:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10415341</guid><dc:creator>Robert</dc:creator><description>&lt;p&gt;I have installed sql server 2005 yesterday,after that i restored all my &amp;nbsp;databases ,today i am traying to opening sql but &amp;nbsp; i am unable to login with WINDOWS AUTHENTICATION and &amp;nbsp;SQLSERVER AUTHENTICATION &lt;/p&gt;
&lt;p&gt;could you please suggest me.....&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Robert&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10415341" width="1" height="1"&gt;</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/b/sql_protocols/archive/2006/02/21/536201.aspx#10401595</link><pubDate>Tue, 12 Mar 2013 13:57:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10401595</guid><dc:creator>login error with user Sa</dc:creator><description>&lt;p&gt;===================================&lt;/p&gt;
&lt;p&gt;Cannot connect to NAGARAJU-PC.&lt;/p&gt;
&lt;p&gt;===================================&lt;/p&gt;
&lt;p&gt;A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)&lt;/p&gt;
&lt;p&gt;------------------------------&lt;/p&gt;
&lt;p&gt;------------------------------&lt;/p&gt;
&lt;p&gt;Error Number: 2&lt;/p&gt;
&lt;p&gt;Severity: 20&lt;/p&gt;
&lt;p&gt;State: 0&lt;/p&gt;
&lt;p&gt;------------------------------&lt;/p&gt;
&lt;p&gt;Program Location:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Data.SqlClient.SqlConnection.Open()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ObjectExplorer.ValidateConnection(UIConnectionInfo ci, IServerType server)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10401595" width="1" height="1"&gt;</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/b/sql_protocols/archive/2006/02/21/536201.aspx#10396548</link><pubDate>Sun, 24 Feb 2013 14:20:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10396548</guid><dc:creator>vikash tyagi</dc:creator><description>&lt;p&gt;right click on the sql server manager studio and select run as administrator becose it treat your system name as subuser of administrator&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10396548" width="1" height="1"&gt;</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/b/sql_protocols/archive/2006/02/21/536201.aspx#10392271</link><pubDate>Fri, 08 Feb 2013 20:06:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10392271</guid><dc:creator>Yah</dc:creator><description>&lt;p&gt;LOL I just got this error message of 1. &amp;nbsp;Out of the blue. &amp;nbsp;No idea why this is happening . But Thank You microsoft for providing a such dog&amp;amp;hit error messages. &amp;nbsp;Gawd I hate M$&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10392271" width="1" height="1"&gt;</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/b/sql_protocols/archive/2006/02/21/536201.aspx#10391801</link><pubDate>Thu, 07 Feb 2013 10:23:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10391801</guid><dc:creator>Krishantha</dc:creator><description>&lt;p&gt;how to &amp;nbsp;pix Error code sq l server 18456&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10391801" width="1" height="1"&gt;</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/b/sql_protocols/archive/2006/02/21/536201.aspx#10389632</link><pubDate>Wed, 30 Jan 2013 20:42:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10389632</guid><dc:creator>Ryan</dc:creator><description>&lt;p&gt;For users with State 11 or State 12:&lt;/p&gt;
&lt;p&gt;This will allow your Windows Login (with admin priv) to access the SQL server!&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/dd207004.aspx"&gt;msdn.microsoft.com/.../dd207004.aspx&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10389632" width="1" height="1"&gt;</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/b/sql_protocols/archive/2006/02/21/536201.aspx#10371471</link><pubDate>Mon, 26 Nov 2012 04:47:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10371471</guid><dc:creator>MIchael</dc:creator><description>&lt;p&gt;I have the problem in sql server 2008&lt;/p&gt;
&lt;p&gt;error:18456&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10371471" width="1" height="1"&gt;</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/b/sql_protocols/archive/2006/02/21/536201.aspx#10367336</link><pubDate>Fri, 09 Nov 2012 20:51:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10367336</guid><dc:creator>dee</dc:creator><description>&lt;p&gt;sql server 2005 has error 18456 severity 14 state 16 login failed for user &amp;#39;NT AUTHORITY\SYSTEM&amp;#39; - this user has sysadm and everything else, why is there an error several times a minute? &amp;nbsp;Ive checked security / roles / ... All is in place. &amp;nbsp;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10367336" width="1" height="1"&gt;</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/b/sql_protocols/archive/2006/02/21/536201.aspx#10366792</link><pubDate>Thu, 08 Nov 2012 06:59:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10366792</guid><dc:creator>GAURAV CHAUHAN</dc:creator><description>&lt;p&gt;Dear All,&lt;/p&gt;
&lt;p&gt;I had faced same issue in my SQL Server 2008R2 SSMS and i have fixed the same have gone through SQL logs and I have analyzed that &amp;quot;Issue is related to authentication&amp;quot;.&lt;/p&gt;
&lt;p&gt;So I have run SSMS.exe as administrator and it’s allowed me to login.&lt;/p&gt;
&lt;p&gt;Cheer guys!!!!&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Gaurav Chauhan&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10366792" width="1" height="1"&gt;</description></item></channel></rss>