<?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 &amp;quot;login failed&amp;quot; (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/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>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#550158</link><pubDate>Mon, 13 Mar 2006 06:14:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:550158</guid><dc:creator>Alan</dc:creator><description>Im developing the 5 stars programme in .NET&lt;br&gt;Im having this problem with sql server 2005 in the first example of c#:&lt;br&gt;&lt;br&gt;Error: 18456, Severity: 14, State: 16.&lt;br&gt;&lt;br&gt;What should I do?&lt;br&gt;&lt;br&gt;My email: alankind@hotmail.com&lt;br&gt;&lt;br&gt;Thanks!</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#550811</link><pubDate>Tue, 14 Mar 2006 02:25:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:550811</guid><dc:creator>Ignacio Abel</dc:creator><description>I have exactly the same problem using SQL Server 2005.&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;&lt;br&gt;Ignacio Abel.</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#550995</link><pubDate>Tue, 14 Mar 2006 09:24:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:550995</guid><dc:creator>Matt Neerincx [MSFT]</dc:creator><description>State=16 means that the incoming user does not have permissions to log into the target database. &amp;nbsp;So for example say you create a user FOO and set FOO's default database to master, but FOO does not have permissions to log into master.&lt;br&gt;&lt;br&gt;This can also happen if for example the default database for user FOO is not online (for example the database is marked suspect).&lt;br&gt;&lt;br&gt;So to check on this theory, try logging the user into some other database and then try using the USE DATABASE command to switch to the target database, you will get a better error message as to the root cause of the failure.&lt;br&gt;</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#551092</link><pubDate>Tue, 14 Mar 2006 14:45:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:551092</guid><dc:creator>EH</dc:creator><description>Hello,&lt;br&gt;when connecting from ODBC with SQL security, all connections are failing.&lt;br&gt;&lt;br&gt;Error is 18456, Severity: 14, State: 8.&lt;br&gt;&lt;br&gt;Creating new logins, and triple-checking the passwords did not help...&lt;br&gt;&lt;br&gt;Thank you&lt;br&gt; EH&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#552385</link><pubDate>Thu, 16 Mar 2006 03:20:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:552385</guid><dc:creator>Tom</dc:creator><description> I am having the same error. &amp;nbsp;The database engine will not allow any logons. &amp;nbsp;The other engines seem to be fine. &amp;nbsp;This still means that I do not have permissions for any of the databases. &amp;nbsp;This is using local or domain accounts. &amp;nbsp;&lt;br&gt;&lt;br&gt;I created this problem by detaching one database running on the server. &amp;nbsp;I went to connect the datafiles and I cannot get into the server at all. </description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#552460</link><pubDate>Thu, 16 Mar 2006 04:37:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:552460</guid><dc:creator>Matt Neerincx [MSFT]</dc:creator><description>When you say &amp;quot;Same Error&amp;quot; I am assuming you mean:&lt;br&gt;&lt;br&gt; &amp;nbsp;Error is 18456, Severity: 14, State: 8. &lt;br&gt;&lt;br&gt;This error is pretty clear, means that the password supplied does not match the password given. &amp;nbsp;Note that passwords in SQL 2005 are case-sensitive, this could be an issue.&lt;br&gt;&lt;br&gt;If you are a local administrator to the computer, then you should always be able to log into SQL.&lt;br&gt;&lt;br&gt;Also, try using the admin port if the normal ports are not working, for example, to connect to local default instance:&lt;br&gt;&lt;br&gt; &amp;nbsp;sqlcmd -E -Sadmin:.&lt;br&gt;&lt;br&gt;To connect to local named instance:&lt;br&gt;&lt;br&gt; &amp;nbsp;sqlcmd -E -Sadmin:.\Instance1&lt;br&gt;</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#553790</link><pubDate>Fri, 17 Mar 2006 18:17:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:553790</guid><dc:creator>Tom</dc:creator><description>Thanks so much for your help.&lt;br&gt;&lt;br&gt;I was able to use SQLCMD to gain access and rebuild access for my database &lt;br&gt;admin account. &amp;nbsp;I was then able to use this account to reattach the detached &lt;br&gt;database. &amp;nbsp;When I did this the database and all user access to SQL2005 was &lt;br&gt;back to normal. &amp;nbsp;I am not sure why this happened. &amp;nbsp;We have about ten other &lt;br&gt;databases on this SQL server. &amp;nbsp;The same users had access to these tables as &lt;br&gt;well as the detached table so the detached table was not the only table for &lt;br&gt;which they had access. &amp;nbsp;The detached table was just a table of 'production' &lt;br&gt;data. &amp;nbsp; &lt;br&gt;&lt;br&gt;I will try and see if I can recreate the problem but will wait for &lt;br&gt;the weekend to try that!&lt;br&gt;</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#560681</link><pubDate>Sat, 25 Mar 2006 11:08:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:560681</guid><dc:creator>gautam</dc:creator><description>soloution</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#572722</link><pubDate>Mon, 10 Apr 2006 22:51:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:572722</guid><dc:creator>Rolf</dc:creator><description>Re: state 16 - if there is no other database to log into, how do we determine what the problem is? &amp;nbsp;Users have installed SQL Server Express 2005 using Windows Authentication, where user id and password should not be an issue, right?</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#580131</link><pubDate>Thu, 20 Apr 2006 23:43:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:580131</guid><dc:creator>rm</dc:creator><description>hi there&lt;br&gt;&lt;br&gt;i'm getting a 'State: 1' (yes, in the server's event log). what could this mean?&lt;br&gt;&lt;br&gt;thanks in advance!</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#580172</link><pubDate>Fri, 21 Apr 2006 00:54:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:580172</guid><dc:creator>SQL Protocols</dc:creator><description>Regarding 'State: 1', are you running SQL Server 2005 or SQL Server 2000? &amp;nbsp;Supportability improvements were made to 2005 to make the states more unique but 2000 still reports 'State: 1' in every case.&lt;br&gt;&lt;br&gt;- Vaughn</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#580257</link><pubDate>Fri, 21 Apr 2006 03:46:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:580257</guid><dc:creator>rm</dc:creator><description>we're running SQL Server 2005 CTP. server authentication is set to &amp;quot;SQL Server and Windows Authentication mode&amp;quot;. when connecting using windows accounts everything is fine, but any attempt to connect as e.g. 'sa' fails with this 'State: 1' error message... greets, rm</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#580746</link><pubDate>Fri, 21 Apr 2006 19:32:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:580746</guid><dc:creator>SQL Protocols</dc:creator><description>Another question, are you looking at the error message state that the client receives or the error message state in the server error log? &amp;nbsp;By default the server error log is at &amp;quot;C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG&amp;quot;. &amp;nbsp;Also, you mentioned you're running at SQL2K5 CTP rather than RTM. &amp;nbsp;Which CTP are you using? &amp;nbsp;If you're using an old CTP it may be the case that unique state improvement hadn't yet been made.</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#604578</link><pubDate>Tue, 23 May 2006 11:53:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:604578</guid><dc:creator>shi</dc:creator><description>I'm getting Error: 18456, Severity: 14, State: 27&lt;br&gt;Could you help me on state 27, please.&lt;br&gt;I'm running SQL 2005 version 9.00.1399.06&lt;br&gt;Thx</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#605010</link><pubDate>Tue, 23 May 2006 21:03:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:605010</guid><dc:creator>Il-Sung Lee [MSFT]</dc:creator><description>Hi Shi,&lt;br&gt;&lt;br&gt;Error state 27 signifies the server could not determine the initial database for the session. &amp;nbsp;Did you specify a database name in your connection string? &amp;nbsp;Are you sure that the name was spelled correctly?&lt;br&gt;&lt;br&gt;Il-Sung.</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#605083</link><pubDate>Tue, 23 May 2006 21:52:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:605083</guid><dc:creator>Sinish Gopi</dc:creator><description>This Error is completly related to SQL Server authontication. This will ome where there will be a mismatch in the Existing Password and the Given passowrd. &lt;br&gt;&lt;br&gt;I faced this issue when I changed the SQL Server start up account.&lt;br&gt;&lt;br&gt;sinishkg@hotmail.com</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#631296</link><pubDate>Wed, 14 Jun 2006 22:45:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:631296</guid><dc:creator>Nam </dc:creator><description>I have error state 10 what does that mean?</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#631883</link><pubDate>Thu, 15 Jun 2006 08:16:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:631883</guid><dc:creator>SQL Protocols</dc:creator><description>Hi, Nam&lt;br&gt;&lt;br&gt;This forum can help you.&lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=92&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=92&amp;amp;SiteID=1&lt;/a&gt;&lt;br&gt;&lt;br&gt;Ming.</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#673751</link><pubDate>Fri, 21 Jul 2006 15:11:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:673751</guid><dc:creator>EH</dc:creator><description>Hi,&lt;br&gt;&lt;br&gt;just a hint for those with state 8 (wrong password):&lt;br&gt;&lt;br&gt;With SQL 2005, the passwords are CASE-SENSITIVE, see &lt;a rel="nofollow" target="_new" href="http://support.microsoft.com/kb/907284"&gt;http://support.microsoft.com/kb/907284&lt;/a&gt;</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#684819</link><pubDate>Tue, 01 Aug 2006 06:48:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:684819</guid><dc:creator>Tan</dc:creator><description>Hi,&lt;br&gt;&lt;br&gt;08/01/2006 02:28:39,Logon,Unknown,Error: 18456 Severity: 14 State: 23.&lt;br&gt;&lt;br&gt;08/01/2006 02:28:47,Logon,Unknown,Error: 18456 Severity: 14 State: 16.&lt;br&gt;&lt;br&gt;We had the problem with error state 16 and 23 on our SQL 2005 (64 bits). The error came and gone by itself, any ideas?&lt;br&gt;&lt;br&gt;Tan&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#685518</link><pubDate>Tue, 01 Aug 2006 21:56:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:685518</guid><dc:creator>Steve</dc:creator><description>We get this error trying to connect using tcp/ip. sa can connect using tcp/ip, but all other sql logins fail. This began after creating a TCP ENDPOINT listening on port 1090. The endpoint has been dropped, server restarted. Cannot get sql logins to connect using tcp/ip.&lt;br&gt;&lt;br&gt;Login failed for user 'PrefAdmin'. [CLIENT: ...]&lt;br&gt;Error: 18456, Severity: 14, State: 12.&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#685544</link><pubDate>Tue, 01 Aug 2006 22:27:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:685544</guid><dc:creator>Steve</dc:creator><description>re: can't connect using tcp/ip - when the logins are in the sysadmin role, they can connection via tcp/ip - otherwise they cannot.</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#690156</link><pubDate>Sun, 06 Aug 2006 19:05:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:690156</guid><dc:creator>SQL Protocols</dc:creator><description>Hi, Steve&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;The error state 12 indicates that your sql account has no access to the server, have you grant login to it? Can you also try connecting over named pipe, what happens?&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;Overall, this is not connectivity issue, the following forum can help you w/ the specifiy sql security problem.&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;&lt;a rel="nofollow" target="_new" href="http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=92&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=92&amp;amp;SiteID=1&lt;/a&gt; &lt;br&gt;&lt;br&gt;Good Luck!&lt;br&gt;ming.</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#743502</link><pubDate>Thu, 07 Sep 2006 03:27:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:743502</guid><dc:creator>jeff_yao</dc:creator><description>I get the following error messages in the sql server error log&lt;br&gt;&lt;br&gt;Source		Logon&lt;br&gt;&lt;br&gt;Message&lt;br&gt;Error: 18456, Severity: 14, State: 11.&lt;br&gt;&lt;br&gt;and &lt;br&gt;&lt;br&gt;Source		Logon&lt;br&gt;&lt;br&gt;Message&lt;br&gt;Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. [CLIENT: 185.23.11.33]&lt;br&gt;&lt;br&gt;The scenario is: We set up log-shipping (LS) between a clustered sql server system (source server) and a stand-alone sql server box (target server). (SQL Server 2K5 EE + SP1), and LS goes very well, but on the target server, we found the above-mentioned error messages.&lt;br&gt;&lt;br&gt;Thanks for your help in advance...&lt;br&gt;</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#750433</link><pubDate>Tue, 12 Sep 2006 14:32:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:750433</guid><dc:creator>Vineet Dewan</dc:creator><description>I tried to connect to the SQL Server 2005 Express edition Microsoft Server Management Studio.&lt;br&gt;&lt;br&gt;I gave the followign:&lt;br&gt;Authentication: SQL Sever Authentication&lt;br&gt;Login: sa&lt;br&gt;Password:&lt;br&gt;&lt;br&gt;It gave me error 18456&lt;br&gt;On checking the log, following entry was found&lt;br&gt;2006-09-12 14:18:19.20 Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Error: 18456, Severity: 14, State: 7.&lt;br&gt;2006-09-12 14:18:19.20 Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Login failed for user 'sa'. [CLIENT: &amp;lt;local machine&amp;gt;]&lt;br&gt;&lt;br&gt;Please let me know how to allow sa to log in using SQL authentication.&lt;br&gt;&lt;br&gt;Regards&lt;br&gt;Vineet Dewan</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#752076</link><pubDate>Wed, 13 Sep 2006 16:43:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:752076</guid><dc:creator>Lena Venter</dc:creator><description>I resolved my issue with the sa login 'state 8' by unticking the enforce password policy in the properties of the sa user, this is for SQL2005 only.</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#762371</link><pubDate>Tue, 19 Sep 2006 21:27:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:762371</guid><dc:creator>Carmen</dc:creator><description>Did someone figure out the State: 1 issue?&lt;br&gt;I am starting my SQL server on sigle mode and trying to login under the account that installed the server but still I get this error:&lt;br&gt;&lt;br&gt;2006-09-19 13:52:29.29 Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Error: 18461, Severity: 14, State: 1.&lt;br&gt;2006-09-19 13:52:29.29 Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Login failed for user 'ASSUREONB\AssureonManager'. Reason: Server is in single user mode. Only one administrator can connect at this time. [CLIENT: &amp;lt;local machine&amp;gt;]&lt;br&gt;&lt;br&gt;In &lt;br&gt;C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#762831</link><pubDate>Wed, 20 Sep 2006 02:45:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:762831</guid><dc:creator>SQL Protocols</dc:creator><description>Hi, Carmen&lt;br&gt;&lt;br&gt; &amp;nbsp; &amp;nbsp;This is more SQL security area, you can post your question in following forum, many experts can help you shortly:&lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=92&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=92&amp;amp;SiteID=1&lt;/a&gt;&lt;br&gt;&lt;br&gt;Good Luck!&lt;br&gt;Ming</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#786622</link><pubDate>Tue, 03 Oct 2006 21:55:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:786622</guid><dc:creator>SD</dc:creator><description>&lt;p&gt;I have an issue with the report server. &amp;nbsp;We used to have a web farm and not scaled down to a single &amp;nbsp;sql server with the reporting components.&lt;/p&gt;
&lt;p&gt;The problem is when I enable windows authetication through IIS it is trying to access the page via &amp;quot;domain\servername$&amp;quot; from client IP x.x.x.x. &amp;nbsp;The server name is previous sql reporting services install. &amp;nbsp;It is no longer installed on there. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I never had reporting services configured until now. &amp;nbsp;How can I have the report server use the domain user credentials rather than &amp;quot;domain\servername$&amp;quot;?&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#821399</link><pubDate>Fri, 13 Oct 2006 07:11:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:821399</guid><dc:creator>marcin</dc:creator><description>&lt;p&gt; Error: 18456, Severity: 14, State: 5&lt;/p&gt;
&lt;p&gt;would anyone know how to correct this error?&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#834234</link><pubDate>Tue, 17 Oct 2006 10:48:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:834234</guid><dc:creator>Hans-Georg</dc:creator><description>&lt;p&gt;Hi @all&lt;/p&gt;
&lt;p&gt;We have a SBS2K3 with SQL2k5.&lt;/p&gt;
&lt;p&gt;On every Startup we get the following Error:&lt;/p&gt;
&lt;p&gt;Ereignistyp: Fehler&amp;#252;berw.&lt;/p&gt;
&lt;p&gt;Ereignisquelle: MSSQL$SHAREPOINT&lt;/p&gt;
&lt;p&gt;Ereigniskategorie: (4)&lt;/p&gt;
&lt;p&gt;Ereigniskennung: 18456&lt;/p&gt;
&lt;p&gt;Datum: &amp;nbsp;17.10.2006&lt;/p&gt;
&lt;p&gt;Zeit: &amp;nbsp;00:20:25&lt;/p&gt;
&lt;p&gt;Benutzer: &amp;nbsp;NT-AUTORIT&amp;#196;T\NETZWERKDIENST&lt;/p&gt;
&lt;p&gt;Computer: PDC&lt;/p&gt;
&lt;p&gt;Beschreibung:&lt;/p&gt;
&lt;p&gt;Fehler bei der Anmeldung f&amp;#252;r den Benutzer 'NT-AUTORIT&amp;#196;T\NETZWERKDIENST'. [CLIENT: 192.168.2.250]&lt;/p&gt;
&lt;p&gt;Weitere Informationen &amp;#252;ber die Hilfe- und Supportdienste erhalten Sie unter &lt;a rel="nofollow" target="_new" href="http://go.microsoft.com/fwlink/events.asp"&gt;http://go.microsoft.com/fwlink/events.asp&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Daten:&lt;/p&gt;
&lt;p&gt;0000: 18 48 00 00 0e 00 00 00 &amp;nbsp; .H......&lt;/p&gt;
&lt;p&gt;0008: 0f 00 00 00 50 00 44 00 &amp;nbsp; ....P.D.&lt;/p&gt;
&lt;p&gt;0010: 43 00 5c 00 53 00 48 00 &amp;nbsp; C.\.S.H.&lt;/p&gt;
&lt;p&gt;0018: 41 00 52 00 45 00 50 00 &amp;nbsp; A.R.E.P.&lt;/p&gt;
&lt;p&gt;0020: 4f 00 49 00 4e 00 54 00 &amp;nbsp; O.I.N.T.&lt;/p&gt;
&lt;p&gt;0028: 00 00 07 00 00 00 6d 00 &amp;nbsp; ......m.&lt;/p&gt;
&lt;p&gt;0030: 61 00 73 00 74 00 65 00 &amp;nbsp; a.s.t.e.&lt;/p&gt;
&lt;p&gt;0038: 72 00 00 00 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; r... &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;The Client: 192.168.2.250 is the SBS itself with the internal LAN NIC (the SBS have 2 NIC&amp;#180;s for WAN and LAN)&lt;/p&gt;
&lt;p&gt;The NT-Authority\Networkservice is in Logon of the DB and have dbcreate and dbsecurity rights.&lt;/p&gt;
&lt;p&gt;What can we do?&lt;/p&gt;
&lt;p&gt;regards.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#843263</link><pubDate>Thu, 19 Oct 2006 12:44:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:843263</guid><dc:creator>Almir Begovic</dc:creator><description>&lt;p&gt;I have the following error, no severity displayed, I can't ping IP address and it does not belong to us. &lt;/p&gt;
&lt;p&gt;Any hel will be appreciated.&lt;/p&gt;
&lt;p&gt;Event Type:	Failure Audit&lt;/p&gt;
&lt;p&gt;Event Source:	MSSQLSERVER&lt;/p&gt;
&lt;p&gt;Event Category:	(4)&lt;/p&gt;
&lt;p&gt;Event ID:	18456&lt;/p&gt;
&lt;p&gt;Date:		19/10/2006&lt;/p&gt;
&lt;p&gt;Time:		09:27:26&lt;/p&gt;
&lt;p&gt;User:		N/A&lt;/p&gt;
&lt;p&gt;Computer:	INET&lt;/p&gt;
&lt;p&gt;Description:&lt;/p&gt;
&lt;p&gt;Login failed for user 'sa'. [CLIENT: 81.27.111.162]&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#868455</link><pubDate>Tue, 24 Oct 2006 15:36:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:868455</guid><dc:creator>RDuke</dc:creator><description>&lt;p&gt;I have a VB5 app that's providing the login/password through an ADO connection string, and been unable to establish a successful remote server connection to SqlExpress. Mine keeps going back and forth between state 16 and state 8, and I assure you the password being provided is correct. What gives with this authentication?&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#874417</link><pubDate>Wed, 25 Oct 2006 23:28:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:874417</guid><dc:creator>Moshe Rosenberg</dc:creator><description>&lt;p&gt;We just migrated to a new sql server with SQL Server 2005 installed (we moved from 2000).&lt;/p&gt;
&lt;p&gt;We are experiencing two issues that we cannot resolve:&lt;/p&gt;
&lt;p&gt;1. The site and database clients that use this SQL Server run very slow now. We have noticed that the lsass.exe process consistantly uses 25% CPU, +/- 10%. When we stop SQL server the lsass.exe process goes down to 0. What can be causing this? The website uses a SQL user account, not a windows user account.&lt;/p&gt;
&lt;p&gt;2. We have an error in the event log that might be related to the issue above. It appears every few minutes:&lt;/p&gt;
&lt;p&gt;Event Type: Failure Audit&lt;/p&gt;
&lt;p&gt;Event Source: MSSQLSERVER&lt;/p&gt;
&lt;p&gt;Event Category: (4)&lt;/p&gt;
&lt;p&gt;Event ID: 18456&lt;/p&gt;
&lt;p&gt;Date: &amp;nbsp;10/25/2006&lt;/p&gt;
&lt;p&gt;Time: &amp;nbsp;11:54:42 AM&lt;/p&gt;
&lt;p&gt;User: &amp;nbsp;NT AUTHORITY\SYSTEM&lt;/p&gt;
&lt;p&gt;Computer: MSDB&lt;/p&gt;
&lt;p&gt;Description:&lt;/p&gt;
&lt;p&gt;Login failed for user 'NT AUTHORITY\SYSTEM'. [CLIENT: &amp;lt;local machine&amp;gt;]&lt;/p&gt;
&lt;p&gt;The error log from SQL gives more info:&lt;/p&gt;
&lt;p&gt;Error: 18456, Severity: 14, State: 16.&lt;/p&gt;
&lt;p&gt;What is causing this? How can this be traced?&lt;/p&gt;
&lt;p&gt;I am stuck here. All help greatly appreciated.&lt;/p&gt;
&lt;p&gt;Moshe&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#877140</link><pubDate>Thu, 26 Oct 2006 21:14:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:877140</guid><dc:creator>Nan Tu (MSFT)</dc:creator><description>&lt;p&gt;Moshe,&lt;/p&gt;
&lt;p&gt; &amp;nbsp;One of the improvements in SQL 2005 is that all logins are always encrypted using SSL. If you have frequent connection logins, you will see lsass being quit *active*. Is it your case?&lt;/p&gt;
&lt;p&gt;For the error in the ERRORLOG, the STATE tell that the process doesn't have permission of the login database. It apears to use NT authentication, running as localsystem. You can find who is trying to login from your local machine and go from there...&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#906373</link><pubDate>Tue, 31 Oct 2006 11:42:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:906373</guid><dc:creator>Mahesh</dc:creator><description>&lt;p&gt;I keep on getting this error intermittently and the user specified in the error log has got the correct permission.&lt;/p&gt;
&lt;p&gt;2006-10-31 08:58:36.01 Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Error: 18456, Severity: 14, State: 16.&lt;/p&gt;
&lt;p&gt;2006-10-31 08:58:36.01 Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Login failed for user 'AbsLayer'. [CLIENT: &amp;lt;local machine&amp;gt;]&lt;/p&gt;
&lt;p&gt;2006-10-31 08:58:37.28 spid53 &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'AbsLayerRepository'.&lt;/p&gt;
&lt;p&gt;I have added retry logic in my code which keeps on retrying the connection for the configurable amount of time, when I get this error I can see in my application log that its retrying the connection and most of the time it passes after 2 - 3 attempts but some time it goes up to 9-10 attempts so I feel it to be unreliable in the live system. Can some one please help me why this error occurs or is there any patch to resolve this issue.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#972989</link><pubDate>Sun, 05 Nov 2006 13:34:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:972989</guid><dc:creator>Umair</dc:creator><description>&lt;p&gt;I have found an Error:&lt;/p&gt;
&lt;p&gt;Server Name: UMAIR130786\SQLEXPRESS&lt;/p&gt;
&lt;p&gt;Error Number: 18456&lt;/p&gt;
&lt;p&gt;Severity: 14&lt;/p&gt;
&lt;p&gt;State: 1&lt;/p&gt;
&lt;p&gt;Line Number: 65536&lt;/p&gt;
&lt;p&gt;It works well using Windows Authentication&lt;/p&gt;
&lt;p&gt;but with SQL Server Authentication it results in the above mentioned error.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1055611</link><pubDate>Sat, 11 Nov 2006 00:53:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1055611</guid><dc:creator>Juan Peguero</dc:creator><description>&lt;p&gt;I was getting the same error, and I try everything listed on the Forum, and could not get rid of the error. It looks like there is some funkiness on the ODBC Connection, and it will always use the current user logged on the computer, not the specified SQLSever account, to send over the network for the connection profile.&lt;/p&gt;
&lt;p&gt;To eliminate the error, I had to grant the Domain Users access to the SQL Database the program was trying to connect to. In my case, all users had access to the database, but security settings can be put in place to limit the users’ access.&lt;/p&gt;
&lt;p&gt;In other words, I could not fixed the problem, so I had to make a workaround.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1155587</link><pubDate>Mon, 27 Nov 2006 02:22:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1155587</guid><dc:creator>Bertie</dc:creator><description>&lt;p&gt;Like every one else, I was frustrated by the strange 18456 error with State=8. I store my password in a textfile, and when I need it, I do a copy and paste into the password field. I use a password something like &amp;quot;Ity@1%6$9#g&amp;quot;.&lt;/p&gt;
&lt;p&gt;I tried a number of &amp;quot;strangies&amp;quot;, but this one worked on more than one occasion: using the direction arrow key pointing left, I moved the cursor back to the beginning of the password. It worked!&lt;/p&gt;
&lt;p&gt;Try this at home, folks, it does not hurt a bit, and perhaps it might give the Microsoft boys a hint about the nature of the problem if you report the results.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1260108</link><pubDate>Mon, 11 Dec 2006 19:58:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1260108</guid><dc:creator>KarenM</dc:creator><description>&lt;p&gt;Il-Sung, thanks so much for writing this up -- definitely the most helpful source of debugging info for login failures to SQL!&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1266319</link><pubDate>Tue, 12 Dec 2006 17:34:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1266319</guid><dc:creator>Shawn</dc:creator><description>&lt;p&gt;What is State 16? &amp;nbsp;I am getting Error: 18456, Severity: 14, State: 16&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1267984</link><pubDate>Tue, 12 Dec 2006 21:47:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1267984</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Hi Shawn,&lt;/p&gt;
&lt;p&gt;State 16 indicates that target database could not be determined. &amp;nbsp;This may mean that the specified database is non-existent, you do not have permissions on the database, or the database may not be online. &amp;nbsp;Also, you can do as Matt mentioned in his comments on March 14 -- try connecting to a different database and then use the USE DATABASE to the problematic database and see what the error is.&lt;/p&gt;
&lt;p&gt;Il-Sung.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1276964</link><pubDate>Wed, 13 Dec 2006 23:19:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1276964</guid><dc:creator>Cindy</dc:creator><description>&lt;p&gt;I have an SQL Server 2005 cluster. Windows Authentication works fine on the primary node but after failing over onto the secondary node I am getting the 18456 error State 11. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I noticed someone else posted concerning this error state but I do not see a response to this issue.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1412455</link><pubDate>Thu, 04 Jan 2007 23:25:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1412455</guid><dc:creator>adamfool</dc:creator><description>&lt;p&gt;I am getting the state 16 error, but it is not recurring. &amp;nbsp;However there is a separate partition on the server that holds the logfiles which I noticed have not changed since the last time I received the state 16 error. &amp;nbsp;Also the partition is almost to capacity. &amp;nbsp;Are these two problems related or do the logfiles not overwrite themselves? &amp;nbsp;I will go ahead and apologize for dumb questions. &amp;nbsp;I have no experience in SQL and my job requires me to administer an enterprise GIS database!&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1416835</link><pubDate>Fri, 05 Jan 2007 17:48:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1416835</guid><dc:creator>prashanth,my mail id is prashanth.krishnan@tcs.com</dc:creator><description>&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;When I try to start the merge agents in SQL server 2000 I get the error message as below:&lt;/p&gt;
&lt;p&gt;________________________________________&lt;/p&gt;
&lt;p&gt;The process could not connect to Subscriber 'ATELBSNT65'.&lt;/p&gt;
&lt;p&gt;(Source: ATELBSNT65 (Agent); Error number: 20084)&lt;/p&gt;
&lt;p&gt;---------------------------------------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.&lt;/p&gt;
&lt;p&gt;(Source: ATELBSNT65 (Data source); Error number: 18456)&lt;/p&gt;
&lt;p&gt;_______________________________________&lt;/p&gt;
&lt;p&gt;There are 3 servers ATELBSNT65,66,67.&lt;/p&gt;
&lt;p&gt;When I try to access merge agents through ATELBSNT67 this error occurs.&lt;/p&gt;
&lt;p&gt;ATELBSNT67 is the publisher and ATELBSNT65,66 are the two subscribers.&lt;/p&gt;
&lt;p&gt;So please help.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1439604</link><pubDate>Tue, 09 Jan 2007 19:36:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1439604</guid><dc:creator>Mash</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We are running SQl2005 Enterprise CTP2, and we keep getting&lt;/p&gt;
&lt;p&gt;Login failed for user 'administrator'. [CLIENT: 202.163.221.227]&lt;/p&gt;
&lt;p&gt;Error: 18456, Severity: 14, State: 5.&lt;/p&gt;
&lt;p&gt;have already checked and the administrtor is part of the sys admin role&lt;/p&gt;
&lt;p&gt;Can any one help please??&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1454369</link><pubDate>Fri, 12 Jan 2007 11:12:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1454369</guid><dc:creator>Belsteak</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We have a brand new server 2005 64 bit SP1. We can't see the logs of the server from the entreprise manager (error). &lt;/p&gt;
&lt;p&gt;When i get to the logs by other means, i always see this error :&lt;/p&gt;
&lt;p&gt;Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Error: 18456, Severity: 14, State: 11.&lt;/p&gt;
&lt;p&gt;Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Login failed for user 'NT AUTHORITY\SYSTEM'. [CLIENT: &amp;lt;local machine&amp;gt;]&lt;/p&gt;
&lt;p&gt;Do you have any idea ?&lt;/p&gt;
&lt;p&gt;Thnks&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1454414</link><pubDate>Fri, 12 Jan 2007 11:31:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1454414</guid><dc:creator>Belsteak</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;I searched a bit more. NT AUTHORITY\SYSTEM login was missing (deleted???) I created a new one, gave the sysadmin role and i can read the logs again...&lt;/p&gt;
&lt;p&gt;The why of the disappear of the login is another story, we are DBA and system working on the server... &lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1456880</link><pubDate>Fri, 12 Jan 2007 21:44:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1456880</guid><dc:creator>Carol Walter</dc:creator><description>&lt;p&gt;I'm setting up my first SQL2K5. &amp;nbsp;I've set up about seven SQK2K, but all of them use Windows Authentication. &amp;nbsp;This one has to use SQL authentication. &amp;nbsp;This is a research database with a single user. &amp;nbsp;I want to give him the db-owner role. &amp;nbsp;When I try to login with the login I made for him I get an MS SQL Error 4064. Cannot open default database. The database log says Error 18456 Severity 14 State 16. &amp;nbsp;The default database is referenced in the user login window and that database in online. &amp;nbsp;Is there something I need to do besides create a login to the database server for this user, create a login to his default database, and add him to the db_owner role?&lt;/p&gt;
&lt;p&gt;Thx.&lt;/p&gt;
</description></item><item><title>Error: 18456, Severity: 14, State: 5.</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1471946</link><pubDate>Mon, 15 Jan 2007 19:38:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1471946</guid><dc:creator>Mash</dc:creator><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;A couple of days back i have reported a problem about Error: 18456, Severity: 14, State: 5. and in SQl logs i used to get Login failed for user 'administrator'&lt;/p&gt;
&lt;p&gt;The solution was to disable SQl Fibers&lt;/p&gt;
&lt;p&gt;The system is running fine now.&lt;/p&gt;
&lt;p&gt;Thx&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1513857</link><pubDate>Tue, 23 Jan 2007 14:52:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1513857</guid><dc:creator>khaki</dc:creator><description>&lt;p&gt;login failed user sa for sql srv 2000&lt;/p&gt;
</description></item><item><title>" + title + "</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1548094</link><pubDate>Sun, 28 Jan 2007 23:16:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1548094</guid><dc:creator>" + title + "</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.do-ict.nl/2007/01/28/sharepoint-and-sql-server-error-18456/"&gt;http://www.do-ict.nl/2007/01/28/sharepoint-and-sql-server-error-18456/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1551242</link><pubDate>Mon, 29 Jan 2007 14:34:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1551242</guid><dc:creator>craig hogan</dc:creator><description>&lt;p&gt;Had same problem state 14, I am running SQL 2005 dev edition with SP1, after some playing around I my user account didn't have access to the MSSQL folder, I found by running the SQL Server Management studio as 'administrator' from the right click menu all works fine.Very odd though as I installed SQL from my user which is an administrator, looks like vista handles user differently.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1684135</link><pubDate>Thu, 15 Feb 2007 18:34:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1684135</guid><dc:creator>Tim</dc:creator><description>&lt;p&gt;Hi, I'm getting a state 1 error with SQL Server 2005 Express - I've followed links from this forum but so far have had no luck at all in finding an answer (or even a cause!)&lt;/p&gt;
&lt;p&gt;Help!&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1714916</link><pubDate>Mon, 19 Feb 2007 15:09:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1714916</guid><dc:creator>Adam Barnard</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have SQL 2000 SP 4 running with both SQL &amp;amp; Windows Auth. selected.&lt;/p&gt;
&lt;p&gt;The moment I open Enterprise Manager from a computer that is not on the domain I get the following errors in the NT eventlog although I am using SQL Auth in Ent. Manager:&lt;/p&gt;
&lt;p&gt;Logon attempt by:	MICROSOFT_AUTHENTICATION_PACKAGE_V1_0&lt;/p&gt;
&lt;p&gt; Logon account:	[Remote NT User ID]&lt;/p&gt;
&lt;p&gt; Source Workstation:	[Remote Workstation Name]&lt;/p&gt;
&lt;p&gt; Error Code:	0xC0000064&lt;/p&gt;
&lt;p&gt;Logon Failure:&lt;/p&gt;
&lt;p&gt; 	Reason:		Unknown user name or bad password&lt;/p&gt;
&lt;p&gt; 	User Name:	[Remote NT User ID]&lt;/p&gt;
&lt;p&gt; 	Domain:		[Remote Workstation Name]&lt;/p&gt;
&lt;p&gt; 	Logon Type:	3&lt;/p&gt;
&lt;p&gt; 	Logon Process:	NtLmSsp &lt;/p&gt;
&lt;p&gt; 	Authentication Package:	NTLM&lt;/p&gt;
&lt;p&gt; 	Workstation Name:	[Remote Workstation Name]&lt;/p&gt;
&lt;p&gt; 	Caller User Name:	-&lt;/p&gt;
&lt;p&gt; 	Caller Domain:	-&lt;/p&gt;
&lt;p&gt; 	Caller Logon ID:	-&lt;/p&gt;
&lt;p&gt; 	Caller Process ID:	-&lt;/p&gt;
&lt;p&gt; 	Transited Services:	-&lt;/p&gt;
&lt;p&gt; 	Source Network Address:	10.2.5.16&lt;/p&gt;
&lt;p&gt; 	Source Port:	0&lt;/p&gt;
&lt;p&gt;I was under the impression that the whole point of SQL Auth. is not to try and Aut. the local logged on user?&lt;/p&gt;
&lt;p&gt;Any pointers would be appreciated.&lt;/p&gt;
&lt;p&gt;Adam&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1735482</link><pubDate>Wed, 21 Feb 2007 18:03:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1735482</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;Hi,all.&lt;/p&gt;
&lt;p&gt;I got an error state 1.&lt;/p&gt;
&lt;p&gt;I created a user called &amp;quot;sa&amp;quot;(because there was no system admin) and I tried to connect to the db engine with this user,but I can't.&lt;/p&gt;
&lt;p&gt;&amp;quot;Login failed for user 'sa'. The user is not associated with a trusted SQL Server connection. (Microsoft SQL Server, Error: 18452)&amp;quot; is displayed.&lt;/p&gt;
&lt;p&gt;How can I connect?&lt;/p&gt;
&lt;p&gt;please inform me to realhermes618@gmail.com&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1736462</link><pubDate>Wed, 21 Feb 2007 21:26:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1736462</guid><dc:creator>Matt Neerincx (MSFT)</dc:creator><description>&lt;p&gt;You probably don't have mixed mode security enabled on your SQL Server. &amp;nbsp;By default only integrated security is allowed.&lt;/p&gt;
&lt;p&gt;Open SQL Server Management Studio and right click on the instance node in the Object Explorer and select Properties. &amp;nbsp;Click on Security page and ensure that &amp;quot;SQL Server and Windows Authentication mode&amp;quot; option is selected. &amp;nbsp;Press OK and restart SQL.&lt;/p&gt;
</description></item><item><title>more information about state 11 error</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1739593</link><pubDate>Thu, 22 Feb 2007 09:38:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1739593</guid><dc:creator>Luc Kremers</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have SQL server 2005 enterprise edition and IIS &amp;nbsp;server 6.0 on one machine, and trying to connect through ASP which uses the IUSR_machinename account.&lt;/p&gt;
&lt;p&gt;I get error message 'login failed' and the serverlog shows state 11. That is great, but I haven't found any additional information as to solve this. &amp;nbsp;'server access failure' sounds pretty obscure. Any ideas how to resolve this ?&lt;/p&gt;
&lt;p&gt;THanks so much in advance,&lt;/p&gt;
&lt;p&gt;Luc&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1811236</link><pubDate>Mon, 05 Mar 2007 21:00:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1811236</guid><dc:creator>Nick Pattman</dc:creator><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;Error: 18456, Severity: 14, State: 16 happened on my server when the owner of the files on the file system is not a user in SQL Server. I had the following scenario:&lt;/p&gt;
&lt;p&gt;I imported a database, and specified the name of the imported database in a connection string. This failed to connect with the login failed message, but worked when I connected via master and specified &amp;quot;Use Database&amp;quot; within my query as suggested by Il-Sung.&lt;/p&gt;
&lt;p&gt;When trying to generate database diagrams I was then told that the database did not have a valid owner, but when I right clicked on the databse properties an owner (sa) was listed. However, when I looked at the files owner, there was none specified.&lt;/p&gt;
&lt;p&gt;To correct this problem in SQL Sever 2005, do the following:&lt;/p&gt;
&lt;p&gt;1. Open SQL Server Management Studio&lt;/p&gt;
&lt;p&gt;2. Expand Databases&lt;/p&gt;
&lt;p&gt;3. Right Click on the Database with problems and choose 'Properties'&lt;/p&gt;
&lt;p&gt;4. Left Click the 'Files' node&lt;/p&gt;
&lt;p&gt;5. Ensure that an appropriate owner is listed, if none is then set it&lt;/p&gt;
&lt;p&gt;That resolved the issue with the database that I had this error with. &lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;/p&gt;
&lt;p&gt;Nick&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1815568</link><pubDate>Tue, 06 Mar 2007 12:15:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1815568</guid><dc:creator>MCG_Val</dc:creator><description>&lt;p&gt;Hi All, &lt;/p&gt;
&lt;p&gt;We are using the following connection string in VB.NET &lt;/p&gt;
&lt;p&gt;&amp;quot;Server=.\PRG;Integrated Security=false;Database=test9 &amp;quot;;User Id=sa;Password=mypassword;&amp;quot;&lt;/p&gt;
&lt;p&gt;to connect to a database that we have created previously using a similar connection string:&lt;/p&gt;
&lt;p&gt;&amp;quot;Server=.\PRG;database=master;Integrated Security=false;Uid=sa;Pwd=mypassword;&amp;quot;&lt;/p&gt;
&lt;p&gt;This works sometimes, but most of the times it returns the following error:&lt;/p&gt;
&lt;p&gt;&amp;quot;Cannot open database &amp;quot;test9&amp;quot; requested by the login. The login failed.&lt;/p&gt;
&lt;p&gt;Login failed for user 'sa'&amp;quot;&lt;/p&gt;
&lt;p&gt;we are going crazy!!, can you help us?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1876501</link><pubDate>Wed, 14 Mar 2007 02:48:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1876501</guid><dc:creator>Il-Sung Lee</dc:creator><description>&lt;p&gt;What is the corresponding error in the server's error log?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Il-Sung.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1881157</link><pubDate>Wed, 14 Mar 2007 18:17:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1881157</guid><dc:creator>Robert</dc:creator><description>&lt;p&gt;Error: 18456, Severity: 14, State: 16. &lt;/p&gt;
&lt;p&gt;I'm getting this error trying to connect a service to the database and the user I've verified has access to the database that it's trying to connect to. &amp;nbsp;Is there something I need to do differently for a service? &amp;nbsp;The service is related to MOSS 2007. &amp;nbsp;It's the Microsoft Single Signon Service. &amp;nbsp;Any suggestions?&lt;/p&gt;
&lt;p&gt;Thanks &lt;/p&gt;
&lt;p&gt;Robert&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1882905</link><pubDate>Thu, 15 Mar 2007 00:54:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1882905</guid><dc:creator>Jim</dc:creator><description>&lt;p&gt;I am getting this same error as Error number 18452 Severity 14 State 1 with SQL2005, Windows Authentication ONLY.&lt;/p&gt;
&lt;p&gt;My user is permitted on the server, I can connect with Management Studio.&lt;/p&gt;
&lt;p&gt;No space in ServerName, Windows firewall disabled.&lt;/p&gt;
&lt;p&gt;The calling program is Delphi5&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1910986</link><pubDate>Mon, 19 Mar 2007 07:59:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1910986</guid><dc:creator>Ben</dc:creator><description>&lt;p&gt; &amp;nbsp;I'm seeing error state 23 repeatedly in my logs:&lt;/p&gt;
&lt;p&gt;“Error: 18456, Severity: 14, State: 23.”&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Despite some scouring of the Web and MSDN I could find no information about this one. &amp;nbsp;Please &amp;nbsp;post the answer if possible.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1952994</link><pubDate>Mon, 26 Mar 2007 19:15:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1952994</guid><dc:creator>Matt Neerincx (MSFT)</dc:creator><description>&lt;p&gt;State 23 is pretty rare. &amp;nbsp;What this means is the server was in the process of shutting down and at the same time some user was trying to log in. &amp;nbsp;SQL blocks new users from logging in when the server is shutting down. &amp;nbsp;So if you have fairly consistent logins I would expect to see this one from time to time when the server is shut down, it's harmless.&lt;/p&gt;
</description></item><item><title>"login failed" (Error 18456) error messages in SQL Server no state and no severity shown</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1989542</link><pubDate>Thu, 29 Mar 2007 20:08:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1989542</guid><dc:creator>Jesus Carranza</dc:creator><description>&lt;p&gt;Hi Il-Sung,&lt;/p&gt;
&lt;p&gt;I'm receiving the Error 18456 in my Microsoft SQL Server &amp;nbsp;2000 - 8.00.818 Standard Edition but when looking in the ERRORLOG file I cannot see any state not severity number, Do I need to configure anything in order to obtain those?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Jesus&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#1996037</link><pubDate>Sat, 31 Mar 2007 00:58:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1996037</guid><dc:creator>Il-Sung</dc:creator><description>&lt;p&gt;Hi Jesus,&lt;/p&gt;
&lt;p&gt;Unfortunately, the correct error state is not reported by the SQL Server 2000 server. &amp;nbsp;There is no configuration that can change this.&lt;/p&gt;
&lt;p&gt;Il-Sung.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#2005514</link><pubDate>Sun, 01 Apr 2007 16:32:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2005514</guid><dc:creator>Sergei</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;My email is sergei@ssw.com.au.&lt;/p&gt;
&lt;p&gt;I have got SQL Server 2005 SP2 on WinXp SP2.&lt;/p&gt;
&lt;p&gt;I tried sqlcmd -S machine_name -U machine_name\user_name -P user_password.&lt;/p&gt;
&lt;p&gt;It failed with error: &amp;quot;Login failed for user machine_name\user_name&amp;quot;&lt;/p&gt;
&lt;p&gt;I can open SSMS using run as machine_name\user_name,connect using windows authentication (in this case machine_name\user_name) and it works fine.&lt;/p&gt;
&lt;p&gt;My question is why this command-line does not work&lt;/p&gt;
&lt;p&gt;sqlcmd -S machine_name -U machine_name\user_name -P user_password?&lt;/p&gt;
&lt;p&gt;Sergei.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#2012956</link><pubDate>Mon, 02 Apr 2007 19:54:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2012956</guid><dc:creator>Matt Neerincx (MSFT)</dc:creator><description>&lt;p&gt;The username and password you pass in as -U and -P are SQL Server usernames and passwords, not Windows usernames and passwords.&lt;/p&gt;
&lt;p&gt;So you cannot say:&lt;/p&gt;
&lt;p&gt;sqlcmd -S machine_name -U machine_name\user_name -P user_password&lt;/p&gt;
&lt;p&gt;If you want to log in as a specific Windows user, then you need to shell a command prompt as that user and use:&lt;/p&gt;
&lt;p&gt;sqlcmd -S machine_name -E&lt;/p&gt;
&lt;p&gt;You can shell a cmd prompt by using the RunAs command, like so:&lt;/p&gt;
&lt;p&gt;C:\&amp;gt;runas /user:machine1\user1 cmd.exe&lt;/p&gt;
&lt;p&gt;Enter the password for machine1\user1:&lt;/p&gt;
&lt;p&gt;Attempting to start cmd.exe as user &amp;quot;machine1\user1&amp;quot; ...&lt;/p&gt;
&lt;p&gt;This will open a new cmd window and from there you can run sqlcmd -S server -E&lt;/p&gt;
&lt;p&gt;Matt&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#2013114</link><pubDate>Mon, 02 Apr 2007 20:33:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2013114</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Hi, Sergei&lt;/p&gt;
&lt;p&gt; &amp;nbsp; The command line parameter &amp;quot; -U -P&amp;quot; is expected to use SQL Authentication which requires you log on as a SQL user. The SQL User can be a map of your windows account or non-windows account. In your case, you were using a machine account to access the DB. So, you can not use &amp;quot;-U -P&amp;quot;, instead, do run as this machine account and execute &amp;quot;sqlcmd -S machine_name -E&amp;quot;.&lt;/p&gt;
&lt;p&gt;Or you can create a SQL login by&lt;/p&gt;
&lt;p&gt;create login [login_name] with Password='...'&lt;/p&gt;
&lt;p&gt;Then use sqlcmd -S machine_name -U [login_name] -P &amp;lt;pwd&amp;gt; to log on.&lt;/p&gt;
&lt;p&gt;Good Luck!&lt;/p&gt;
&lt;p&gt;Ming.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#2021910</link><pubDate>Wed, 04 Apr 2007 02:58:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2021910</guid><dc:creator>faberyx</dc:creator><description>&lt;p&gt;Hi everybody, ige this error when i try to connect to sql server from studio express&lt;/p&gt;
&lt;p&gt;Error Number: 18456&lt;/p&gt;
&lt;p&gt;Severity: 14&lt;/p&gt;
&lt;p&gt;State: 1&lt;/p&gt;
&lt;p&gt;Line Number: 65536&lt;/p&gt;
&lt;p&gt;i can connect from visual studio and other softwares and from studio express on other machines. Does anyone know what the problem could be?&lt;/p&gt;
&lt;p&gt;Fabrizio&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#2022596</link><pubDate>Wed, 04 Apr 2007 05:01:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2022596</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Hi Fabrizio,&lt;/p&gt;
&lt;p&gt;Have you looked at the server's error log and determined the error state reported by the server as outlined above?&lt;/p&gt;
&lt;p&gt;Il-Sung.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#2151224</link><pubDate>Mon, 16 Apr 2007 10:26:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2151224</guid><dc:creator>Jacques</dc:creator><description>&lt;p&gt;Hi All&lt;/p&gt;
&lt;p&gt;I am having a similar problem where the state is 16. What is strange is that it occurs in the middle of a job and at intermittent intervals. The job would one day execute perfectly fine and the next day fail with error 18456 state 16. If you re-execute the job from the particular step that failed as the user that runns the job the job would succeed. The user that executes the job engine is a server admin and also starts all related SQL services. (SQL, SSAS, SSIS, etc)&lt;/p&gt;
&lt;p&gt;Any advice?&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#2154373</link><pubDate>Mon, 16 Apr 2007 17:54:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2154373</guid><dc:creator>EH</dc:creator><description>&lt;p&gt;Hi, useful information, please add this to Books Online&lt;/p&gt;
&lt;p&gt;Thx&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#2177902</link><pubDate>Wed, 18 Apr 2007 20:22:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2177902</guid><dc:creator>Derek</dc:creator><description>&lt;p&gt;This article:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://groups.google.com/group/microsoft.public.inetserver.iis.security/browse_thread/thread/68c216b10e7fa70/69aacf4a582ec20c%2369aacf4a582ec20c"&gt;http://groups.google.com/group/microsoft.public.inetserver.iis.security/browse_thread/thread/68c216b10e7fa70/69aacf4a582ec20c%2369aacf4a582ec20c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;They found a fix to the barrage of event log entries. &amp;nbsp;Basically there is a setting in SQL Enterprise Manager's Tools &amp;gt; Options menu to regularly &amp;quot;Poll&amp;quot; the server to find out its state. &amp;nbsp;Regardless of what auth method was used to register the server, it uses the client machine's user credentials to try to determine the state of the SQL Server's services. &amp;nbsp;Unchecking the box will stop the error messages.&lt;/p&gt;
&lt;p&gt;Still don't know WHY this happens, though - anyone?&lt;/p&gt;
&lt;p&gt;Post in reply to:&lt;/p&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have SQL 2000 SP 4 running with both SQL &amp;amp; Windows Auth. selected.&lt;/p&gt;
&lt;p&gt;The moment I open Enterprise Manager from a computer that is not on the domain I get the following errors in the NT eventlog although I am using SQL Auth in Ent. Manager:&lt;/p&gt;
&lt;p&gt;Logon attempt by: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0&lt;/p&gt;
&lt;p&gt;Logon account: [Remote NT User ID]&lt;/p&gt;
&lt;p&gt;Source Workstation: [Remote Workstation Name]&lt;/p&gt;
&lt;p&gt;Error Code: 0xC0000064&lt;/p&gt;
&lt;p&gt;Logon Failure:&lt;/p&gt;
&lt;p&gt;Reason: Unknown user name or bad password&lt;/p&gt;
&lt;p&gt;User Name: [Remote NT User ID]&lt;/p&gt;
&lt;p&gt;Domain: [Remote Workstation Name]&lt;/p&gt;
&lt;p&gt;Logon Type: 3&lt;/p&gt;
&lt;p&gt;Logon Process: NtLmSsp &lt;/p&gt;
&lt;p&gt;Authentication Package: NTLM&lt;/p&gt;
&lt;p&gt;Workstation Name: [Remote Workstation Name]&lt;/p&gt;
&lt;p&gt;Caller User Name: -&lt;/p&gt;
&lt;p&gt;Caller Domain: -&lt;/p&gt;
&lt;p&gt;Caller Logon ID: -&lt;/p&gt;
&lt;p&gt;Caller Process ID: -&lt;/p&gt;
&lt;p&gt;Transited Services: -&lt;/p&gt;
&lt;p&gt;Source Network Address: 10.2.5.16&lt;/p&gt;
&lt;p&gt;Source Port: 0&lt;/p&gt;
&lt;p&gt;I was under the impression that the whole point of SQL Auth. is not to try and Aut. the local logged on user?&lt;/p&gt;
&lt;p&gt;Any pointers would be appreciated.&lt;/p&gt;
&lt;p&gt;Adam&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) STATE 11</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#2184998</link><pubDate>Thu, 19 Apr 2007 05:57:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2184998</guid><dc:creator>sig</dc:creator><description>&lt;p&gt;I get this in the logs:&lt;/p&gt;
&lt;p&gt;Error: 18456, Severity: 14, State: 11.&lt;/p&gt;
&lt;p&gt;Did a scan through your blog page (very helpful, btw), but didn't see any recommendations for State = 11.&lt;/p&gt;
&lt;p&gt;Any suggestions? &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thx.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#2194187</link><pubDate>Thu, 19 Apr 2007 19:57:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2194187</guid><dc:creator>Matt Neerincx (MSFT)</dc:creator><description>&lt;p&gt;States 11 and 12 simply mean the Windows user coming in does not have login access to the server. &amp;nbsp;SQL Server validated the Windows user's token, figured out who it is, but the Windows user has not been granted access to the server.&lt;/p&gt;
</description></item><item><title>SQL Ranger - April 26th</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#2296181</link><pubDate>Fri, 27 Apr 2007 09:25:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2296181</guid><dc:creator>...more notes from the field</dc:creator><description>&lt;p&gt;Today it is all about security relating to SQL Server. The first session is being taught by a Software&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#2465593</link><pubDate>Mon, 07 May 2007 20:01:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2465593</guid><dc:creator>Doug</dc:creator><description>&lt;p&gt;For State 11 - the login ID did not have a profile...I logged in to create the profile and all is right with the world!&lt;/p&gt;
</description></item><item><title>Getting State 11 after server rebane on SQLAgent jobs</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#2478390</link><pubDate>Tue, 08 May 2007 15:19:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2478390</guid><dc:creator>Bill</dc:creator><description>&lt;p&gt;Hi. &amp;nbsp;I renamed my SQL Server 2005 machine (within the same domain), and any jobs (e.g. backups) I try to run from Mgt. Studio are now getting:&lt;/p&gt;
&lt;p&gt;05/08/2007 03:28:04,Logon,Unknown,Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. [CLIENT: 10.70.40.55]&lt;/p&gt;
&lt;p&gt;05/08/2007 03:28:04,Logon,Unknown,Error: 18456&amp;lt;c/&amp;gt; Severity: 14&amp;lt;c/&amp;gt; State: 11.&lt;/p&gt;
&lt;p&gt;I have done the sp_dropserver/sp_addserver (w/ local) dance. &amp;nbsp;This is a standalone server with no links. &amp;nbsp;Service accounts are all using SYSTEM.&lt;/p&gt;
&lt;p&gt;Any ideas what I can do to repair this?&lt;/p&gt;
</description></item><item><title>e: Understanding "login failed" (Error 18461) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#2733482</link><pubDate>Sat, 19 May 2007 16:52:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2733482</guid><dc:creator>Satish K. Sharma</dc:creator><description>&lt;p&gt;I m also facing the same problem while connecting the server in single user mode..&lt;/p&gt;
&lt;p&gt;Error: 18461, Severity: 14, State: 1. &lt;/p&gt;
&lt;p&gt;Login failed for user 'sa'. Reason: Server is in single user mode. Only one administrator can connect at this time. [CLIENT: &amp;lt;local machine&amp;gt;] &lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#2759265</link><pubDate>Mon, 21 May 2007 05:27:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2759265</guid><dc:creator>Carl</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I tried to log in Database engine but it doesn't allow me to. &amp;nbsp;It keeps giving me this message:&lt;/p&gt;
&lt;p&gt;An error has occurred while establishing a connection to the server. &amp;nbsp;When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.) (.Net SqlClient Data Provider)&lt;/p&gt;
&lt;p&gt;I have no idea how to fix this problem. Could you please help me out? Thanks.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#2759307</link><pubDate>Mon, 21 May 2007 05:31:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2759307</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;Hi. &amp;nbsp;I have a problem with my connection. I checked the error log, it shows:&lt;/p&gt;
&lt;p&gt;2007-05-19 22:19:27.47 Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Error: 18456, Severity: 14, State: 11.&lt;/p&gt;
&lt;p&gt;2007-05-19 22:19:27.47 Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Login failed for user 'SQLServer\Andy'. [CLIENT: &amp;lt;local machine&amp;gt;]&lt;/p&gt;
&lt;p&gt;Please help to solve this problem. Thanks so much.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#2776291</link><pubDate>Tue, 22 May 2007 01:28:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2776291</guid><dc:creator>MING LU</dc:creator><description>&lt;p&gt;Hi,Satish&lt;/p&gt;
&lt;p&gt; &amp;nbsp; Can you be more specific how you create the login and how you make connection by using which authentication, basically, the full connection string.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Ming.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#2791411</link><pubDate>Tue, 22 May 2007 15:14:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2791411</guid><dc:creator>Satish K. Sharma</dc:creator><description>&lt;p&gt;The stiuation is:&lt;/p&gt;
&lt;p&gt;Database server : SQl Server 2005&lt;/p&gt;
&lt;p&gt;databse mode: Single user mode&lt;/p&gt;
&lt;p&gt;user (used to connect to database server):&lt;/p&gt;
&lt;p&gt;sa (for sql authentication), local admin level user for windows authentication&lt;/p&gt;
&lt;p&gt;Error: Error: 18461, Severity: 14, State: 1. &lt;/p&gt;
&lt;p&gt;Login failed for user 'sa'. Reason: Server is in single user mode. Only one administrator can connect at this time. [CLIENT: &amp;lt;local machine&amp;gt;] &lt;/p&gt;
&lt;p&gt;utilities tried to connect to database server: MS SQL SERVER managment studio and sqlcmd (the command line utility)&lt;/p&gt;
&lt;p&gt;please suggest on the same. if i m missing any thing or for any other detail feel free to contact... &lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#2851121</link><pubDate>Fri, 25 May 2007 00:39:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2851121</guid><dc:creator>rambo</dc:creator><description>&lt;p&gt;See this link if your error is related to:&lt;/p&gt;
&lt;p&gt;Re: The AcquireConnection method call failed with error code 0xC0202009.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://forums.microsoft.com/msdn/showpost.aspx?postid=160340&amp;amp;siteid=1&amp;amp;sb=0&amp;amp;d=1&amp;amp;at=7&amp;amp;ft=11&amp;amp;tf=0&amp;amp;pageid=2"&gt;http://forums.microsoft.com/msdn/showpost.aspx?postid=160340&amp;amp;siteid=1&amp;amp;sb=0&amp;amp;d=1&amp;amp;at=7&amp;amp;ft=11&amp;amp;tf=0&amp;amp;pageid=2&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;(Very Good)&lt;/p&gt;
&lt;p&gt;Read the whole blog. The 'post 20' blog from akeiii solved my problem with running 32-bit apps on 64-bit SQL and for connection issues to MS Access 2003 databases (must run in 32-bit mode). &amp;nbsp;Besure to look at changing Step package type to &amp;quot;Operating System (Cmdexe)&amp;quot; and entering a command string line like: &amp;nbsp;&amp;quot;C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\DTExec.exe&amp;quot; /FILE &amp;quot;D:\Projects\Fremont Dialer SSIS\DMFDailyDataFeed\DMF_Daily_Data_Feed\DMFDailyDataFeed.dtsx&amp;quot; /MAXCONCURRENT &amp;quot; -1 &amp;quot; /CHECKPOINTING OFF /REPORTING E.&lt;/p&gt;
&lt;p&gt;Also look at using the dtexecui.exe to help create the command string that appears after the DTExec.exe program above.&lt;/p&gt;
&lt;p&gt;The DTExec.exe in the &amp;quot;program files (x86)&amp;quot; directory.&lt;/p&gt;
&lt;p&gt;If you need more clarification or help email me on akmsweb@gmail.com&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Was this post helpful ? &lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#2901054</link><pubDate>Sat, 26 May 2007 18:21:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2901054</guid><dc:creator>Nitin</dc:creator><description>&lt;p&gt;Ok,&lt;/p&gt;
&lt;p&gt;I just installed Sql Server Deveplopment Edition along with SP2 on Vista. The login method chosen at the time of installation was Windows Authentication.&lt;/p&gt;
&lt;p&gt;Installation was successful but I can not connect to Database engine and keep getting &amp;quot;Login failed for user&amp;quot; with State being 11 (sql error log). The sql server related services are running under LocalSystem account.&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#2901345</link><pubDate>Sat, 26 May 2007 18:52:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2901345</guid><dc:creator>IndusCreed</dc:creator><description>&lt;p&gt;Figured out :)&lt;/p&gt;
&lt;p&gt;The Sql Server 2005 needed to be run as Administrator. Dang it - Vista !!&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#2989707</link><pubDate>Wed, 30 May 2007 19:01:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2989707</guid><dc:creator>nmadba</dc:creator><description>&lt;p&gt;Error 18456&lt;/p&gt;
&lt;p&gt;Severity 14&lt;/p&gt;
&lt;p&gt;State 16&lt;/p&gt;
&lt;p&gt;SQL 2005 SP2&lt;/p&gt;
&lt;p&gt;Mixed Mode&lt;/p&gt;
&lt;p&gt;Failed login is a domain account but the error message says the client is &amp;lt;local machine&amp;gt;&lt;/p&gt;
&lt;p&gt;Also, the failed login successfully logs in many times during the day.&lt;/p&gt;
&lt;p&gt;There are no error messages in the SQL Agent log, just the SQL Server logs. Profiler didn't pick up any unsuccessful logins(despite the login failure showing up every minute on the SQL Server logs). I've confirmed that the same user account successfully &amp;nbsp;logins to all of the databases that it's mapped to. No user complaints, just tons of failed login attempts in the SQL logs. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I'm stumped. &lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#2995916</link><pubDate>Thu, 31 May 2007 03:52:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2995916</guid><dc:creator>Butt Crack</dc:creator><description>&lt;p&gt;Wow, I can't believe I resolved this issue by luck!&lt;/p&gt;
&lt;p&gt;I encountered this error on my local machine. &amp;nbsp; So what I did was ...&lt;/p&gt;
&lt;p&gt;1. &amp;nbsp;Logon to SQL Server using windows authentication.&lt;/p&gt;
&lt;p&gt;2. &amp;nbsp;Right click in the query window that appears and select &amp;quot;Open Server in Object Explorer&amp;quot;&lt;/p&gt;
&lt;p&gt;3. &amp;nbsp;Go to object explorer and open the &amp;quot;Security&amp;quot; folder and then the &amp;quot;Logins&amp;quot; folder.&lt;/p&gt;
&lt;p&gt;4. &amp;nbsp;Double-click the &amp;quot;sa&amp;quot; user and change the password. &amp;nbsp; Also, like another user mentioned above, untick the &amp;quot;Enforce Password Policy&amp;quot; in addition to resetting the password.&lt;/p&gt;
&lt;p&gt;Now if you will all excuse me, &amp;nbsp; I must go and play with myself.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#3074520</link><pubDate>Mon, 04 Jun 2007 10:31:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3074520</guid><dc:creator>Hubert Cumndedale</dc:creator><description>&lt;p&gt;i like getting my ass licked by dirty whores.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#3086510</link><pubDate>Tue, 05 Jun 2007 00:44:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3086510</guid><dc:creator>Gary</dc:creator><description>&lt;p&gt;I am getting this erro when trying to connect to a sql exoress 2005 db throught vb.net on one of my pc's but not the other.&lt;/p&gt;
&lt;p&gt;Error: 18456, Severity: 14, State: 16.&lt;/p&gt;
&lt;p&gt;Assuming it is a permission problem, I created another DB on the PC that I cannot connect with &amp;amp; still cannot connect through the program. ANy suggestions would be appreciated. (I can be reached at gtinkel@profsft.com.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#3250064</link><pubDate>Tue, 12 Jun 2007 16:55:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3250064</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In one of our test environments we can connect locally through ODBC, but cannot connect from a vmware image or any remote box. This is a mixed mode SQL Server 2005 and we have a sqlserver user which we are using to connect (it is dbowner of all database&lt;/p&gt;
&lt;p&gt;We have set Show_errors in the main db service to 1 and restarted, but we do not see the state (another machine on the network does on their own copy of SQL2005SP1). We also have the setting &amp;quot;Audit login errors only&amp;quot;, but nothing gets added to the ERRORLOG.&lt;/p&gt;
&lt;p&gt;How do we set this debug?&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005 - State 11</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#3401226</link><pubDate>Tue, 19 Jun 2007 12:37:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3401226</guid><dc:creator>Campbell</dc:creator><description>&lt;p&gt;I had an &amp;quot;Error: 18456, Severity: 14, State: 11.&amp;quot; in the log, meaning SQL was authenticating ok, but Windows was not. &amp;nbsp;I am running Windows Vista. &amp;nbsp;It turned out I needed to right-click on my app and run as Administrator. &amp;nbsp;It now works fine.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#3418824</link><pubDate>Wed, 20 Jun 2007 10:35:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3418824</guid><dc:creator>Olivier</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We use Sql Server 2000 SP4 on Windows 2000 SP4. The audit level is set to login failure for this server but we don't get any state informpation in the log file. here is an extract of the log file :&lt;/p&gt;
&lt;p&gt;2007-06-19 15:45:02.45 logon &amp;nbsp; &amp;nbsp; &amp;#201;chec de la connexion de l'utilisateur 'sa'.&lt;/p&gt;
&lt;p&gt;2007-06-19 15:45:22.17 logon &amp;nbsp; &amp;nbsp; &amp;#201;chec de la connexion de l'utilisateur 'sa'.&lt;/p&gt;
&lt;p&gt;2007-06-19 15:45:35.07 logon &amp;nbsp; &amp;nbsp; &amp;#201;chec de la connexion de l'utilisateur 'sa'.&lt;/p&gt;
&lt;p&gt;2007-06-19 15:46:21.01 logon &amp;nbsp; &amp;nbsp; &amp;#201;chec de la connexion de l'utilisateur 'sa'.&lt;/p&gt;
&lt;p&gt;Do you have an idea why I don't see any &amp;quot;state information&amp;quot; in the log file. I need this information to understand why I get this connection error. &lt;/p&gt;
&lt;p&gt;By the way, the connection is OK 99% of the time and Sql Server is used by an ASP web application.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Olivier&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#3467764</link><pubDate>Sat, 23 Jun 2007 00:15:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3467764</guid><dc:creator>Kevin</dc:creator><description>&lt;p&gt;I am getting this erro when trying to run jobs in SQL Agent. I have confirmed the login account used to start Agent is valid. The account also has sysadmin privs....Stumped...&lt;/p&gt;
&lt;p&gt;Error: 18456, Severity: 14, State: 16.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#3682954</link><pubDate>Wed, 04 Jul 2007 11:19:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3682954</guid><dc:creator>soumya</dc:creator><description>&lt;p&gt;Like every one else, I was frustrated by the strange 18456 error with State=8. I store my password in a textfile, and when I need it, I do a copy and paste into the password field. I use a password something like &amp;quot;Ity@1%6$9#g&amp;quot;.&lt;/p&gt;
&lt;p&gt;I tried a number of &amp;quot;strangies&amp;quot;, but this one worked on more than one occasion: using the direction arrow key pointing left, I moved the cursor back to the beginning of the password. It worked!&lt;/p&gt;
&lt;p&gt;Try this at home, folks, it does not hurt a bit, and perhaps it might give the Microsoft boys a hint about the nature of the problem if you report the results.&lt;/p&gt;
&lt;p&gt;thanks bertie,this worked for me&lt;/p&gt;
</description></item><item><title>Connection to a SQLServer Express 2005 via JDBC</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#3697739</link><pubDate>Thu, 05 Jul 2007 09:10:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3697739</guid><dc:creator>Ralle's personal blog</dc:creator><description>&lt;p&gt;I discovered a few stepstones when connecting via JDBC to a locally installed SQLSever Express 2005 database. Here are my observations:Activate &amp;amp;quot;Accepting TCP/IP&amp;amp;quot; connections in the SQL Server Configuration Manager. Otherwise the SQLServer Expr&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#3708901</link><pubDate>Thu, 05 Jul 2007 20:06:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3708901</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Ralle,&lt;/p&gt;
&lt;p&gt;Yes, you are correct. &amp;nbsp;The Microsoft SQL Server 2005 JDBC driver requires SQL Server (any SKU) to have TCP/IP support enabled.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#3766480</link><pubDate>Sun, 08 Jul 2007 22:17:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3766480</guid><dc:creator>Gregg</dc:creator><description>&lt;p&gt;I am also getting Error: 18456, Severity: 14, State: 8 when my .NET 1.1 app attempts to log into the 2005 Server from a remote machine. &amp;nbsp;The app works against a 2000 Server. The password is correct, as the same login and password can be used to log into the 2005 server from the same remote machine with SSMS. The State: 8 is either bogus or too generic to be useful. &amp;nbsp;Any help?&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#3816884</link><pubDate>Wed, 11 Jul 2007 19:16:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3816884</guid><dc:creator>jaap@myprovider.com</dc:creator><description>&lt;p&gt;exec sp_password @new = 'sqlpassword', @loginame = 'sa'&lt;/p&gt;
&lt;p&gt;alter login sa&lt;/p&gt;
&lt;p&gt;with password = 'sqlpassword' unlock,&lt;/p&gt;
&lt;p&gt;check_policy = off,&lt;/p&gt;
&lt;p&gt;check_expiration = off &lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#3850406</link><pubDate>Fri, 13 Jul 2007 19:53:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3850406</guid><dc:creator>Gregg</dc:creator><description>&lt;p&gt;Jaap@myprovider.com-&lt;/p&gt;
&lt;p&gt;THANKS! Don't know why that worked, but it did, and I thank you.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#3924267</link><pubDate>Wed, 18 Jul 2007 00:14:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3924267</guid><dc:creator>Hermann Rösch</dc:creator><description>&lt;p&gt;In Windows Vista: All Programs -&amp;gt; Microsoft SQL Server 2005 -&amp;gt; (Right Click) SQL Server Management Studio -&amp;gt; Run as administrator&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#3924955</link><pubDate>Wed, 18 Jul 2007 01:02:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3924955</guid><dc:creator>MING LU</dc:creator><description>&lt;p&gt;Hi, Hermann&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;What operation you did after you click SSMS? It seems you need to first type the target server name and credential to login then connect. &lt;/p&gt;
&lt;p&gt; &amp;nbsp; Can you provide the error message say &amp;quot; 18456 &amp;nbsp;Level ?? State ??&amp;quot; to help us identify the problem.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Ming.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#3925386</link><pubDate>Wed, 18 Jul 2007 01:44:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3925386</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Hi, Hermann&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Please check out the following blog: &amp;nbsp;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/sql_protocols/archive/2007/06/18/connecting-to-sql-server-2005-on-vista-and-longhorn.aspx"&gt;http://blogs.msdn.com/sql_protocols/archive/2007/06/18/connecting-to-sql-server-2005-on-vista-and-longhorn.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;or install Yukon SP2, find out the article in Books online &amp;quot;How to: Connect to SQL Server from Windows Vista&amp;quot; for the issue understanding and resolution.&lt;/p&gt;
&lt;p&gt;Good Luck!&lt;/p&gt;
&lt;p&gt;Ming.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#3925387</link><pubDate>Wed, 18 Jul 2007 01:44:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3925387</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Hi, Hermann&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Please check out the following blog: &amp;nbsp;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/sql_protocols/archive/2007/06/18/connecting-to-sql-server-2005-on-vista-and-longhorn.aspx"&gt;http://blogs.msdn.com/sql_protocols/archive/2007/06/18/connecting-to-sql-server-2005-on-vista-and-longhorn.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;or install Yukon SP2, find out the article in Books online &amp;quot;How to: Connect to SQL Server from Windows Vista&amp;quot; for the issue understanding and resolution.&lt;/p&gt;
&lt;p&gt;Good Luck!&lt;/p&gt;
&lt;p&gt;Ming.&lt;/p&gt;
</description></item><item><title> &amp;raquo; ???????????? &amp;#8220;login failed&amp;#8221; (Error 18456) ?? Microsoft SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#4184007</link><pubDate>Thu, 02 Aug 2007 10:37:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4184007</guid><dc:creator> » ???????????? “login failed” (Error 18456) ?? Microsoft SQL Server 2005</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://sql.khanzhin.info/?p=9"&gt;http://sql.khanzhin.info/?p=9&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#4286888</link><pubDate>Wed, 08 Aug 2007 06:29:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4286888</guid><dc:creator>Dave</dc:creator><description>&lt;p&gt;I'm getting Error: 18456, Severity: 14, State: 16 at startup. I have a windows service that depends on SQLServer (Express) and tries to login using the 'Transactor' account. This fails at startup but I can login and start the service manually and it's fine. I would really appreciate some help with this, it wouldn't be a stretch to say I'm floundering. ERRORLOG follows:&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:39.25 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Authentication mode is MIXED.&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:39.25 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Logging SQL Server messages in file 'c:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'.&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:39.25 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;This instance of SQL Server last reported using a process ID of 2260 at 8/08/2007 2:14:43 p.m. (local) 8/08/2007 2:14:43 a.m. (UTC). This is an informational message only; no user action is required.&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:39.25 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Registry startup parameters:&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:39.25 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;	 -d c:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:39.25 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;	 -e c:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:39.25 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;	 -l c:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:39.28 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:39.28 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Detected 2 CPUs. This is an informational message; no user action is required.&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:39.43 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Using dynamic lock allocation. &amp;nbsp;Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. &amp;nbsp;This is an informational message only. &amp;nbsp;No user action is required.&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:39.50 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Database mirroring has been enabled on this instance of SQL Server.&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:39.50 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'master'.&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:39.64 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:39.78 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;SQL Trace ID 1 was started by login &amp;quot;sa&amp;quot;.&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:39.79 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'mssqlsystemresource'.&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:39.79 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;The resource database build version is 9.00.3042. This is an informational message only. No user action is required.&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:39.96 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;Server name is 'TXWC02'. This is an informational message only. No user action is required.&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:39.96 spid5s &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'msdb'.&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:39.96 spid8s &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'model'.&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:40.09 spid8s &amp;nbsp; &amp;nbsp; &amp;nbsp;Clearing tempdb database.&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:40.32 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;A self-generated certificate was successfully loaded for encryption.&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:40.32 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Server is listening on [ 'any' &amp;lt;ipv4&amp;gt; 1433].&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:40.32 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;Dedicated administrator connection support was not started because it is not available on this edition of SQL Server. This is an informational message only. No user action is required.&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:40.32 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;The SQL Network Interface library could not register the Service Principal Name (SPN) for the SQL Server service. Error: 0x54b, state: 3. Failure to register an SPN may cause integrated authentication to fall back to NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication is required by authentication policies.&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:40.32 Server &amp;nbsp; &amp;nbsp; &amp;nbsp;SQL Server is now ready for client connections. This is an informational message; no user action is required.&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:40.53 Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Error: 18456, Severity: 14, State: 16.&lt;/p&gt;
&lt;p&gt;2007-08-08 14:18:40.53 Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Login failed for user 'Transactor'. [CLIENT: 10.20.1.179]&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#4301327</link><pubDate>Thu, 09 Aug 2007 03:55:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4301327</guid><dc:creator>Erik</dc:creator><description>&lt;p&gt;Campbell, thanks! &amp;nbsp;for state 11, running as administrator worked.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#4314913</link><pubDate>Fri, 10 Aug 2007 01:26:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4314913</guid><dc:creator>Matt Neerincx (MSFT)</dc:creator><description>&lt;p&gt;State=16 means that the incoming user does not have permissions to log into the target database. &amp;nbsp;So for example say you create a user FOO and set FOO's default database to master, but FOO does not have permissions to log into master. &lt;/p&gt;
&lt;p&gt;This can also happen if for example the default database for user FOO is not online (for example the database is marked suspect). &lt;/p&gt;
&lt;p&gt;So to check on this theory, try logging the user into some other database (like master) and then try using the USE DATABASE command to switch to the target database, you will get a better error message as to the root cause of the failure. &lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#4317476</link><pubDate>Fri, 10 Aug 2007 06:53:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4317476</guid><dc:creator>Dave</dc:creator><description>&lt;p&gt;Matt I'm assuming your comment is directed at my post. I understand what State=16 means, the issue is that it is only occurring when the machine is booting. My Windows service has a dependency on SQLServer so starts only after SQLServer has started. However I consistently get a login failure at boot time but when I subsequently login the Windows service can be started manually without any problem. I guess what I'm looking for is feedback on whether there is a workaround for this issue. I have seen a number of posts on the web about the issue but I haven't yet seen a good solution. The one solution I have seen is modifying the dependent service to loop with a delay for a period while trying to connect at startup. This is not a solution that will work for my environment as the Windows Service is a third party product (and no I cannot go back to the vendor and ask them to insert a delay at startup).&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005 state 5</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#4414522</link><pubDate>Thu, 16 Aug 2007 15:48:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4414522</guid><dc:creator>Keith Hobbs</dc:creator><description>&lt;p&gt;We have a new server running win 2003 and sql server 2005. Our users have an Access database that contains ODBC linked tables to the sql 2005 db.&lt;/p&gt;
&lt;p&gt;The windows users belong to an active directory security group and this group has been granted access to the database that Access is using.&lt;/p&gt;
&lt;p&gt;The server log is consistently showing the 18546 error with state 5 indicating invalid user? Users are quite happy and the underlying tables are being updated. I've been looking at this all day now and can see nothing obvious wrong. &lt;/p&gt;
&lt;p&gt;I'm new to sql 2005 so any help would be greatly appreciated.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#4417618</link><pubDate>Thu, 16 Aug 2007 19:24:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4417618</guid><dc:creator>Matt Neerincx [MSFT]</dc:creator><description>&lt;p&gt;This can happen for example if your company has auditing software running and checking if your SQL Server has weak passwords. &amp;nbsp;I see this periodically on my network. &amp;nbsp;Our IT group has a process that scans for SQL Servers and then attempts to log into these using weak sa passwords to detect insecure SQL Servers.&lt;/p&gt;
&lt;p&gt;Look at the source ip address and run ping -a &amp;lt;ip&amp;gt; to determine the source of the requests.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#4758544</link><pubDate>Wed, 05 Sep 2007 12:06:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4758544</guid><dc:creator>Karen Bryan</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We've currently in the process of changing web hosts, and are having to move our databases to SQL Server 2005. In a trial run we tried to copy a database from our local SQL Server 2000 development machine to our hosted SQL Server 2005 machine. We got a 'login timeout' error when the package was being built. So, having installed SQL Server 2005 Developer edition on my local machine we're running tests trying to use the copy database wizard to copy a database between two SQL Server 2005 machines. We've had ports opened on both firewalls for this traffic, and have ensured that remote connections are allowed. We've located the error logs, and the following error is listed:&lt;/p&gt;
&lt;p&gt;Error: 18456, Severity: 14, State: 8.&lt;/p&gt;
&lt;p&gt;Now, thanks to this article I understand that this is a password mis-match, but what I don't understand is why! The passwords have been entered correctly (including case). I've tried changing the password via the Management Studio, and other suggestions here, but still no joy. &amp;nbsp;This is delaying our migration of sites and databases. If we just import the data from the existing server to the new one we lose all Primary Key information, and any defaults set for certain fields - information we need to retain as we bring the databases back to the local machine on a regular basis as part of our backup strategy. Can you help us to get this working?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</description></item><item><title>Error: 18456, Severity: 14, State: 8</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#4952293</link><pubDate>Mon, 17 Sep 2007 11:23:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4952293</guid><dc:creator>Locke_</dc:creator><description>&lt;p&gt;I received this error message also after deleting/renaming the default database of the login concerned. After resetting the default database of the login, it's fine.&lt;/p&gt;
</description></item><item><title>EDIT: Error: 18456, Severity: 14, State: 8</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#4954096</link><pubDate>Mon, 17 Sep 2007 13:42:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4954096</guid><dc:creator>Locke_</dc:creator><description>&lt;p&gt;...or if the default database is not set.&lt;/p&gt;
&lt;p&gt;(SQL 2005 Server Manager, Connect to Server with Admin --&amp;gt; Object Explorer --&amp;gt; Server --&amp;gt; Security --&amp;gt; Logins --&amp;gt; context menu on Login concerned --&amp;gt; Properties --&amp;gt; General &lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#5266599</link><pubDate>Wed, 03 Oct 2007 22:02:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5266599</guid><dc:creator>Martin</dc:creator><description>&lt;p&gt;Although this blog is the most helpful source I detected so far, I can't find any helpful solution on &lt;/p&gt;
&lt;p&gt;Error: 18456, Severity: 14, State: 16.&lt;/p&gt;
&lt;p&gt;Login failed for user 'abc'. [CLIENT: &amp;lt;named pipe&amp;gt;]&lt;/p&gt;
&lt;p&gt;Problem is that we experience this error only occasionally, so I guess it's a timing problem. With other words: connections with exactly the same ODBC connection fails, some seconds later it works perfectly. Therefore it's not related to lack of rights and the errlog's don't show any hint that the DB is marked suspect.&lt;/p&gt;
&lt;p&gt;Any advices very warm welcome.&lt;/p&gt;
&lt;p&gt;Best regards, Martin.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#5288690</link><pubDate>Fri, 05 Oct 2007 11:25:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5288690</guid><dc:creator>Anon</dc:creator><description>&lt;p&gt;I just want to say Thank you&lt;/p&gt;
&lt;p&gt;Your table lead me straight to the source of my issue and I was able to fix it within 2 minutes.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#5392074</link><pubDate>Wed, 10 Oct 2007 18:33:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5392074</guid><dc:creator>vramakrishna_t</dc:creator><description>&lt;p&gt;We have deleted one of the sharepoint portal from our sharepoint server along with the database. after deletion of the portel, we are continiously receiving the below event in our SQL 2005 server every 5 minutes.&lt;/p&gt;
&lt;p&gt;2007-10-10 20:54:18.35 Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Login failed for user 'SERWIZSOL\Svc-Sharepoint'. [CLIENT: 10.64.130.160]&lt;/p&gt;
&lt;p&gt;2007-10-10 20:54:18.37 Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Error: 18456, Severity: 14, State: 16.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005 state 1 severuty 14</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#5435948</link><pubDate>Sat, 13 Oct 2007 09:12:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5435948</guid><dc:creator>Gurumurthy</dc:creator><description>&lt;p&gt;The below message is the one I got when I tried to connect using Sql server 2005. Could anyone please try to help me &amp;nbsp;to sort it out&lt;/p&gt;
&lt;p&gt;===================================&lt;/p&gt;
&lt;p&gt;Cannot connect to GURUMURTHY-PC.&lt;/p&gt;
&lt;p&gt;===================================&lt;/p&gt;
&lt;p&gt;Login failed for user 'Gurumurthy-PC\Gurumurthy'. (.Net SqlClient Data Provider)&lt;/p&gt;
&lt;p&gt;------------------------------&lt;/p&gt;
&lt;p&gt;For help, click: &lt;a rel="nofollow" target="_new" href="http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;amp;EvtSrc=MSSQLServer&amp;amp;EvtID=18456&amp;amp;LinkId=20476"&gt;http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;amp;EvtSrc=MSSQLServer&amp;amp;EvtID=18456&amp;amp;LinkId=20476&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;------------------------------&lt;/p&gt;
&lt;p&gt;Server Name: GURUMURTHY-PC&lt;/p&gt;
&lt;p&gt;Error Number: 18456&lt;/p&gt;
&lt;p&gt;Severity: 14&lt;/p&gt;
&lt;p&gt;State: 1&lt;/p&gt;
&lt;p&gt;Line Number: 65536&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.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)&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;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#5500365</link><pubDate>Thu, 18 Oct 2007 01:26:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5500365</guid><dc:creator>Terry Brown</dc:creator><description>&lt;p&gt;I am getting an Error: 18456, Severity: 14, State: 11. when my users are triing to make an ODBC connection to SQL 2005 STD from Acess 2007. I have sqitched the SQL server from Windows Authentication mode to SQL server and Windows Authentication mode, this did not help. Any ideas? Thank you.&lt;/p&gt;
</description></item><item><title>Ghillie Suits &amp;raquo; SQL Protocols : Understanding &amp;quot;login failed&amp;quot; (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#5642398</link><pubDate>Wed, 24 Oct 2007 09:33:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5642398</guid><dc:creator>Ghillie Suits » SQL Protocols : Understanding "login failed" (Error 18456) error messages in SQL Server 2005</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://ghillie-suits.info/?p=23716"&gt;http://ghillie-suits.info/?p=23716&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#5834886</link><pubDate>Fri, 02 Nov 2007 15:19:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5834886</guid><dc:creator>Nimish</dc:creator><description>&lt;p&gt;I have added the sqlserver 2005 instance using sp_addlinkedserver. And when I try to use the linked server inside my query it says login failed for user 'sa'. When I checked at the error log on remote server(where the SQL Server 2005 is installed) the State was 8.&lt;/p&gt;
&lt;p&gt;But I am able to connect to the SQL Server instance from Mgmt Studio Express and also using openrowset distributed queries.&lt;/p&gt;
&lt;p&gt;Can I know the actual problem?&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#5967810</link><pubDate>Wed, 07 Nov 2007 23:01:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5967810</guid><dc:creator>Ken</dc:creator><description>&lt;p&gt;I am getting Error 18456 State 8 sporadically for many users. Sometimes they can log on OK, and sometimes not, using the same password. The logins and passwords were migrated from SQL2000 using sp_help_revlogins.&lt;/p&gt;
&lt;p&gt;If I change the password, they can log on using the new password, but later that same new password is rejected. If they try again later, it may work again!&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#6186302</link><pubDate>Wed, 14 Nov 2007 02:26:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6186302</guid><dc:creator>Geo</dc:creator><description>&lt;p&gt;I'm having the same problem as Ken. &amp;nbsp;My databases were restored to sql 2005 server and are in 2000 compatibility mode. &amp;nbsp;Usually the logins work but occasionally for no apparent reason I get Error 18456 State 8. &amp;nbsp;I know the password is correct as it is coming from the config file and not changing.&lt;/p&gt;
&lt;p&gt;I tried deleting the users and recreating them by hand but still have the same sporadic problem.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#6186348</link><pubDate>Wed, 14 Nov 2007 02:28:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6186348</guid><dc:creator>Geo</dc:creator><description>&lt;p&gt;SQL Server build is 9.0.3159 by the way&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#6219397</link><pubDate>Wed, 14 Nov 2007 20:58:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6219397</guid><dc:creator>Dominique</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have the same error. What is stange is that the ODBC connection was working last week when I used it and today when I tried again it failed... Any corruption? &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#6272528</link><pubDate>Thu, 15 Nov 2007 23:07:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6272528</guid><dc:creator>Dominique</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I have the error 18456 with any users when one specific user is login in to the PC only???&lt;/p&gt;
&lt;p&gt;Test1 on PC 1:&lt;/p&gt;
&lt;p&gt;User A log to the PC&lt;/p&gt;
&lt;p&gt;ODBC with UserA is fine&lt;/p&gt;
&lt;p&gt;ODBC with UserB is fine&lt;/p&gt;
&lt;p&gt;User B log to the PC&lt;/p&gt;
&lt;p&gt;ODBC with UserB failed error 28000-18456&lt;/p&gt;
&lt;p&gt;ODBC with UserB failed error 28000-18456&lt;/p&gt;
&lt;p&gt;Test1 on PC 2&lt;/p&gt;
&lt;p&gt;User A log to the PC&lt;/p&gt;
&lt;p&gt;ODBC with UserA is fine&lt;/p&gt;
&lt;p&gt;ODBC with UserB is fine&lt;/p&gt;
&lt;p&gt;User B log to the PC&lt;/p&gt;
&lt;p&gt;ODBC with UserB is fine&lt;/p&gt;
&lt;p&gt;ODBC with UserB is fine&lt;/p&gt;
&lt;p&gt;What is going on???&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Dominique&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#6395692</link><pubDate>Mon, 19 Nov 2007 13:12:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6395692</guid><dc:creator>Nameless</dc:creator><description>&lt;p&gt;We have this strange Error:&lt;/p&gt;
&lt;p&gt;[298] SQLServer Error: 18456, Login failed for user 'Domain\DOMAINAdministrator'. [SQLSTATE 28000] We have windows authentication turned on this happens on a MOSS Server with SQL Server 2005&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" error messages in SQL  server 2000</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#6459498</link><pubDate>Wed, 21 Nov 2007 23:50:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6459498</guid><dc:creator>hello</dc:creator><description>&lt;p&gt;hi all,&lt;/p&gt;
&lt;p&gt;i have encountered this login failed error with State 1 using SQL Server 2000. What does state 1 indicate?&lt;/p&gt;
&lt;p&gt;While using the server explorer i had to make a connection where i encountered this error message.&lt;/p&gt;
&lt;p&gt;Please mail me the replies asap to dency_opus911@yahoo.com&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005 state: 12</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#6526818</link><pubDate>Mon, 26 Nov 2007 10:05:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6526818</guid><dc:creator>Dissonance</dc:creator><description>&lt;p&gt;Hello, I have read technet forum about this error but I still have no answer about state 12. I have tried to give all permissions that I know for 'testlogin' except sysadmin and it has no effect! Please help!&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#6563592</link><pubDate>Wed, 28 Nov 2007 03:20:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6563592</guid><dc:creator>Rob</dc:creator><description>&lt;p&gt;I have an Error -18456 but no state level given. It just states Login failed to user.&lt;/p&gt;
&lt;p&gt;Microsoft SQL server Error-18456.&lt;/p&gt;
&lt;p&gt;I am trying to get access to sql server authentication mode. While I am able to get access to windows authentication mode. &lt;/p&gt;
&lt;p&gt;I made shure to choose Mixed authentication mode while installing my sql server 2005 software.&lt;/p&gt;
&lt;p&gt;Can any one help me thanx.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#6563593</link><pubDate>Wed, 28 Nov 2007 03:20:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6563593</guid><dc:creator>Rob</dc:creator><description>&lt;p&gt;I have an Error -18456 but no state level given. It just states Login failed to user.&lt;/p&gt;
&lt;p&gt;Microsoft SQL server Error-18456.&lt;/p&gt;
&lt;p&gt;I am trying to get access to sql server authentication mode. While I am able to get access to windows authentication mode. &lt;/p&gt;
&lt;p&gt;I made shure to choose Mixed authentication mode while installing my sql server 2005 software.&lt;/p&gt;
&lt;p&gt;Can any one help me thanx.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#6572569</link><pubDate>Wed, 28 Nov 2007 11:07:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6572569</guid><dc:creator>Simon Larsen</dc:creator><description>&lt;p&gt;I think you will find that you have a sql security group or user which has a default database set which it no longer has access to.&lt;/p&gt;
&lt;p&gt;If you look in the logs are you getting a successful login followed immediately by a failed login? that's what I had and it was a local group that the user was a member of which had that error. Gave public access to the db and done.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#6584515</link><pubDate>Wed, 28 Nov 2007 23:45:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6584515</guid><dc:creator>bfinley</dc:creator><description>&lt;p&gt;All I just received the same error and found the problem was related to Reporting Services. &amp;nbsp;You may want to open SQL Server Configuration Manager, shutdown reporting services and retry the sqlcmd.&lt;/p&gt;
&lt;p&gt;I am not certain if this has been mentioned. &amp;nbsp;I am running Enterprise on Win2003 server. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Good luck.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#6686523</link><pubDate>Fri, 07 Dec 2007 02:59:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6686523</guid><dc:creator>Francisco Rodriguez</dc:creator><description>&lt;p&gt;Hi everybody, we had a &amp;quot;State 16&amp;quot; problem with one of our databases in an ASP.NET app running in a SQL Server 2005 box. In the SQL Server error log we found this:&lt;/p&gt;
&lt;p&gt;2006-10-31 08:58:36.01 Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Error: 18456, Severity: 14, State: 16.&lt;/p&gt;
&lt;p&gt;2006-10-31 08:58:36.01 Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Login failed for user '&amp;lt;appuser&amp;gt;'. [CLIENT: &amp;lt;server&amp;gt;]&lt;/p&gt;
&lt;p&gt;Following comments from this blog entry we checked &amp;lt;appuser&amp;gt;'s login in server, and &amp;lt;appuser&amp;gt;'s user in database, and they were ok. We also checked schemas in database and we found that one of them had a nonexistent owner, that is, the owner of the schema was not a valid login in the server. This happened because we moved the database from another server, where the owner was a valid one.&lt;/p&gt;
&lt;p&gt;So we changed the owner of the schema to dbo, and that was it! State 16 error was gone and our app worked perfectly.&lt;/p&gt;
&lt;p&gt;I hope this tip will help anyone.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;FRodriguez&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#6726610</link><pubDate>Mon, 10 Dec 2007 22:20:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6726610</guid><dc:creator>beezel</dc:creator><description>&lt;p&gt;Holey Moley! Bertie's solution worked for me!&lt;/p&gt;
&lt;p&gt;arrow over to the beginning of your password text box.&lt;/p&gt;
&lt;p&gt;Like every one else, I was frustrated by the strange 18456 error with State=8. I store my password in a textfile, and when I need it, I do a copy and paste into the password field. I use a password something like &amp;quot;Ity@1%6$9#g&amp;quot;.&lt;/p&gt;
&lt;p&gt;I tried a number of &amp;quot;strangies&amp;quot;, but this one worked on more than one occasion: using the direction arrow key pointing left, I moved the cursor back to the beginning of the password. It worked!&lt;/p&gt;
&lt;p&gt;Try this at home, folks, it does not hurt a bit, and perhaps it might give the Microsoft boys a hint about the nature of the problem if you report the results.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#6754676</link><pubDate>Thu, 13 Dec 2007 06:32:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6754676</guid><dc:creator>vee</dc:creator><description>&lt;p&gt;I get the error code 18456 connection failed then 2000 for one of my employees but it only occurs when loggin in to one specific computer. She can log in under all other computers.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#6761218</link><pubDate>Thu, 13 Dec 2007 17:09:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6761218</guid><dc:creator>Kraig</dc:creator><description>&lt;p&gt;Just FYI for those getting the State: 16 error. &amp;nbsp;After beating my head against the wall checking permissions, DB owners, etc. I found one old SQL Agent job that was trying to run for a database that no longer existed. Everytime the job tried to run it gave this error, all I had to do was delete the job. &amp;nbsp;So it's not always something complicated.&lt;/p&gt;
</description></item><item><title>Error State : 11</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#6761965</link><pubDate>Thu, 13 Dec 2007 18:11:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6761965</guid><dc:creator>pietjegates</dc:creator><description>&lt;p&gt;I receive this error in the following scenario:&lt;/p&gt;
&lt;p&gt;A user account had acces to 2 databases on the same SQL server via windows group membership.&lt;/p&gt;
&lt;p&gt;I deleted the first database (and the corresponding log in) between the time the user had logged on to the domain and the starting of the &amp;quot;SQL server management studio&amp;quot;. The connection to the SQL Server was made trough the memebership of the group of wich the login was deleted. &lt;/p&gt;
&lt;p&gt;Solution: User logged off and on (windows) and the correct group was used to connect to the SQL server.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#6817361</link><pubDate>Thu, 20 Dec 2007 16:53:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6817361</guid><dc:creator>Dan</dc:creator><description>&lt;p&gt;Re all the questions about state 16, I don't know if they are related but I was seeing intermittent state 16 errors, but just before they started a transaction log full error was written to the log. &amp;nbsp;Truncating and shrinking appears to have solved this.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#6828245</link><pubDate>Fri, 21 Dec 2007 18:32:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6828245</guid><dc:creator>AbTseg</dc:creator><description>&lt;p&gt; &amp;nbsp; Please I need your help&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Thank you!&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#6880251</link><pubDate>Fri, 28 Dec 2007 01:17:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6880251</guid><dc:creator>Jaime</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;we are getting this error with Serverity: 14 and State: 8. We don't understand the reason why this error only has appear today but with a several number of users. Could someone help us?&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#6971859</link><pubDate>Thu, 03 Jan 2008 23:50:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6971859</guid><dc:creator>Mach</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I keep getting this error too. But I can't get into the error log file to see what state it is. It keeps telling me that access is denied. I've even created an everyone permission with full control and that didn't fix my issue. Then I created a whole new username/login and that keeps getting the same results. Any suggestions?&lt;/p&gt;
&lt;p&gt;I'm running Windows Server 2003 &amp;amp; SQL Server 2005.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#6973656</link><pubDate>Fri, 04 Jan 2008 03:50:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6973656</guid><dc:creator>Matt Neerincx (MSFT)</dc:creator><description>&lt;p&gt;Ok, if you cannot start SQL Server AND you cannot access the ERRORLOG file using notepad, then I suspect something else on your system has the ERRORLOG file locked and this is bad and needs to be fixed first.&lt;/p&gt;
&lt;p&gt;It could be something in the file system like a virus scanner doing this. &amp;nbsp;First thing I would do is set the SQL Server service (in Services) to manual, then reboot the machine. &amp;nbsp;After reboot, but before attempting to start SQL, see if you can open the ERRORLOG file using notepad. &amp;nbsp;Let me know how this goes.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#6978936</link><pubDate>Fri, 04 Jan 2008 15:43:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6978936</guid><dc:creator>Mach</dc:creator><description>&lt;p&gt;Alright, we've fixed the problem with connecting with SQL Server. User can now successfully Open and connect using Management Studio. I checked the directory for where the error log should be but when I hover my mouse over the folder, it tells me that the folder is empty (and I can't access it). Just to double check, does this sound like a correct path for the errorlog:&lt;/p&gt;
&lt;p&gt;C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\ERRORLOG [Should be here]&lt;/p&gt;
&lt;p&gt;Because it's not there.&lt;/p&gt;
&lt;p&gt;Thanks for your help by the way.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#7072112</link><pubDate>Fri, 11 Jan 2008 14:24:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7072112</guid><dc:creator>nins</dc:creator><description>&lt;p&gt;I created a login and assigned it to the sysadmin role on my local server, after which I restared the server. Also, I changed the max number of concurrent users allowed to 1. Now when I try connecting to the server, I get the error message, 'Connection was successfully established with server but an error occured durin the login process'. When I check the error log the following is noticed &amp;quot;Error: 17809, Severity: 20, State: 3. Could not connect because the maximum number of '1' user connections has already been reached. The system administrator can use sp_configure to increase the maximum value. The connection has been closed.&amp;quot; I tried changing the max number of user connections allowed by using sqlcmd utility. In the command prompt it says value changed from 1 to 10, but when i try to log in to the server i get the same old error.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#7125511</link><pubDate>Wed, 16 Jan 2008 07:01:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7125511</guid><dc:creator>Peter</dc:creator><description>&lt;p&gt;Where can I find a complete list of Error State for Error 18456? If there is no such list, I hope the table in this blog will be updated to include common error states such as State 16.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#7125733</link><pubDate>Wed, 16 Jan 2008 07:20:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7125733</guid><dc:creator>Peter</dc:creator><description>&lt;p&gt;I can duplicate Error State 5 and 8. &amp;nbsp;How to duplicate Error State 2 and 9?&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#7132815</link><pubDate>Wed, 16 Jan 2008 20:15:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7132815</guid><dc:creator>Luis Rivera</dc:creator><description>&lt;p&gt;01/15/2008 12:11:53	ERCreateSiteWizard[16f4:17d0]: &amp;nbsp;----Storage,0: [Microsoft][ODBC SQL Server Driver][SQL Server]Error de inicio de sesi&amp;#243;n del usuario 'sa'. [18456]&lt;/p&gt;
&lt;p&gt;Error: 18456, Severity: 14, State: 8&lt;/p&gt;
&lt;p&gt;Errror this does not allow me to connect to SQL Server 2005. &lt;/p&gt;
&lt;p&gt;This connection is made by COM ports. Someone has an idea?&lt;/p&gt;
&lt;p&gt;my e-mail: luis.rivera@nasoft.com&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#7136837</link><pubDate>Thu, 17 Jan 2008 03:06:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7136837</guid><dc:creator>Matt Neerincx (MSFT)</dc:creator><description>&lt;p&gt;I'll try to get the full list posted here.&lt;/p&gt;
&lt;p&gt;Also, you guys know about the security ring buffer in SQL 2005 SP2, read this:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/lcris/archive/2007/02/19/sql-server-2005-some-new-security-features-in-sp2.aspx"&gt;http://blogs.msdn.com/lcris/archive/2007/02/19/sql-server-2005-some-new-security-features-in-sp2.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#7137014</link><pubDate>Thu, 17 Jan 2008 03:21:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7137014</guid><dc:creator>Matt Neerincx (MSFT)</dc:creator><description>&lt;p&gt;State #8 means the password did not match. &amp;nbsp;So just an invalid password.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#7228471</link><pubDate>Fri, 25 Jan 2008 01:54:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7228471</guid><dc:creator>Hans Esquivel</dc:creator><description>&lt;p&gt;I believe we have an answer for the Severity: 14 and State: 16, while using SharePoint Server 2007.&lt;/p&gt;
&lt;p&gt;While attempting to enable SSO for the first time, if you fail to configure the Microsoft Single Sign-on Service with the proper 'Service Account' you will get an error. It seems that SharePoint creates a job looking for the 'SSO' database, even though it failed to create it - reason for State:16.&lt;/p&gt;
&lt;p&gt;Steps we took to correct the issue:&lt;/p&gt;
&lt;p&gt;1. Opened Windows Services&lt;/p&gt;
&lt;p&gt;2. Configured Microsoft Single Sign-on Service to use the proper account&lt;/p&gt;
&lt;p&gt;3. Opened Central Administration &amp;gt;&amp;gt; Operations &amp;gt;&amp;gt; Manage settings for single sign-on &lt;/p&gt;
&lt;p&gt;4. Configured properties to use the same account used for Microsoft 'Single Sign-on Service'&lt;/p&gt;
&lt;p&gt;The database (SSO) was created successfully and all the Error: 18456 went away. Hopefully this works for all of you that were experiencing the same issue.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#7310251</link><pubDate>Tue, 29 Jan 2008 20:59:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7310251</guid><dc:creator>kiks</dc:creator><description>&lt;p&gt;Server Name: jmsvsqlp40.corp.jmfamily.com,51321&lt;/p&gt;
&lt;p&gt;Error Number: 18456&lt;/p&gt;
&lt;p&gt;Severity: 14&lt;/p&gt;
&lt;p&gt;State: 1&lt;/p&gt;
&lt;p&gt;Line Number: 65536&lt;/p&gt;
&lt;p&gt;HELP!!!!&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#7310256</link><pubDate>Tue, 29 Jan 2008 21:00:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7310256</guid><dc:creator>kiks</dc:creator><description>&lt;p&gt;Server Name: &amp;lt;server name&amp;gt;&lt;/p&gt;
&lt;p&gt;Error Number: 18456&lt;/p&gt;
&lt;p&gt;Severity: 14&lt;/p&gt;
&lt;p&gt;State: 1&lt;/p&gt;
&lt;p&gt;Line Number: 65536&lt;/p&gt;
&lt;p&gt;HELP!!!!&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#7374947</link><pubDate>Fri, 01 Feb 2008 17:32:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7374947</guid><dc:creator>Zorya</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;After we upgrade some dev instances to SQL 2005 SP2 build 3215 i got the error when trying to connect with SQL authentication (Windows Authent is working for me, but not for others). I cannot assure somebody didnt type a wrong password.&lt;/p&gt;
&lt;p&gt;But after a while, everything is working fine again....&lt;/p&gt;
&lt;p&gt;Is there a process that locks the connection on an instance after a failed logon attempt ????&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#7418407</link><pubDate>Sun, 03 Feb 2008 23:15:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7418407</guid><dc:creator>gy </dc:creator><description>&lt;p&gt;If you are running it on Vista, select &amp;quot;Run as Administrator&amp;quot; by pop-up menu (right click).&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#7435631</link><pubDate>Mon, 04 Feb 2008 15:29:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7435631</guid><dc:creator>Ollin</dc:creator><description>&lt;p&gt;After looking for a solution for my problem with state 11 for a while I have several times stumbled over a solution for you who uses Vista and XP as your platform for SQL.&lt;/p&gt;
&lt;p&gt;Might be helpful for other states as well.&lt;/p&gt;
&lt;p&gt;-Turn off &amp;quot;simple file-sharing&amp;quot; using Control panel-&amp;gt;folder options-&amp;gt; view&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#7493370</link><pubDate>Wed, 06 Feb 2008 19:21:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7493370</guid><dc:creator>Frodoger</dc:creator><description>&lt;p&gt;We have also a login problem but its sporadic. &lt;/p&gt;
&lt;p&gt;We use SQL Server 2005 SP2 on Windows 2003. The Client use ODBC through SQL Server native Client.&lt;/p&gt;
&lt;p&gt;What can we do to search a solution? Its important for use because every time we get this error the Client application crash.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#7493653</link><pubDate>Wed, 06 Feb 2008 19:41:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7493653</guid><dc:creator>Frodoger</dc:creator><description>&lt;p&gt;plz delete and forgot my reply. i have not complete read my error picture. sorry.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#7546839</link><pubDate>Sat, 09 Feb 2008 00:52:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7546839</guid><dc:creator>Asif Bawany</dc:creator><description>&lt;p&gt;sql server configuration manager - Enable TCP/IP and named pipes; by default these settings are disabled because of security settings; I tried and it worked for me :)&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#7649601</link><pubDate>Tue, 12 Feb 2008 21:07:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7649601</guid><dc:creator>Mark Brinton</dc:creator><description>&lt;p&gt;Error: 18456, Severity: 14, State: 16.&lt;/p&gt;
&lt;p&gt;I found the other posts very helpful. &amp;nbsp;Using Windows authentication on a local admin account which had sql 2005 sysadmin privileges, our install scripts would intermittently fail. &amp;nbsp;The scripts would detach, copy and attach mdfs from one server to a different server. &amp;nbsp;Sometimes it worked. &amp;nbsp;Sometimes it failed. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;What needed to be done is to refresh/resynchronize Server metadata with database metadata. &amp;nbsp;Critically important, it seems, is to re-establish a link between the database owner of the newly attached db to an existing server login. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;The upgrade scripts were obviously erroneous in this regard and this bug, which existed for YEARS and was latent from versions SQL 7.0 through SQL 2000, decided to announce its presence in the data migration from SQL 2000 to SQL 2005.&lt;/p&gt;
&lt;p&gt;Thanks to everyone who have taken the time to contribute. &amp;nbsp;It helped alot.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#7908970</link><pubDate>Tue, 26 Feb 2008 23:07:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7908970</guid><dc:creator>ccardwell</dc:creator><description>&lt;p&gt;Here's a different twist. I am running SQL Server 2005 and using Netapp storage devices for the databases. As a part of the configuration I have a seperate connection to the netapp devices using a VLAN on the switch. This connection is where all communications between the netapp and the windows OS happens for controlling disk IO. I just discovered that my System Administrator account is attempting to authenticate over the Netapp data connection rather than over the primary LAN connection. The only other database that I have running seems to be working just fine. I was attempting to install a new application which would fail when it tried to create the database due to a login failure. The 'data' vlan is not routed at all so it was unable to authenticate against the DC and the install/create db failed. Is there a way to tell SQL Server to only use the primary LAN connection to authenticate with the DC?&lt;/p&gt;
&lt;p&gt;This is a rather truncated question as I realize that I have left out a lot of detailes - this is in the interests of brevity. If anyone has any ideas about this and would like more information I will provide more details as necessary. Basically I have two NICS functioning on two diferent Networks and want to be sure that SQL server only looks to a specific NIC/LAN for authentication.&lt;/p&gt;
&lt;p&gt;Thanks in advance for any assistence someone/anyone can provide.&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;
</description></item><item><title>SQL 2005 Linked Server Problems... Error: 18456, Severity: 14, State: 11</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#7948862</link><pubDate>Fri, 29 Feb 2008 18:30:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7948862</guid><dc:creator>Patrick S</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have a question. &amp;nbsp;We have two SQL 2005 boxes in our dev environment. &amp;nbsp;Our Active Directory is housed on a SBS 2003 server, which has recently been rebuilt. &amp;nbsp;After we brought the rebuilt SBS server back online, we began to see weird permissions issues. &amp;nbsp;Currently, our SQL boxes use Windows Authentication and Kebros.&lt;/p&gt;
&lt;p&gt;The problem we're experiencing (seemingly after the SBS 2003 server rebuild) was that many of our linked server objects between the two SQL servers began to fail. &lt;/p&gt;
&lt;p&gt;The errors we're seeing are:&lt;/p&gt;
&lt;p&gt;Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. &amp;nbsp;Error: 18456, Severity: 14, State: 11.&lt;/p&gt;
&lt;p&gt;The Linked Server properties are set to use the &amp;quot;login's currentl security context&amp;quot;, meaning you should be connecting across servers as yourself (windows authentication). &amp;nbsp;All of this worked last week, but after the SBS rebuild its all failing. &amp;nbsp;Any ideas?&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8031789</link><pubDate>Tue, 04 Mar 2008 21:26:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8031789</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Hi, Patrick&lt;/p&gt;
&lt;p&gt;I would recommend you check out Nan's blog entry on this error for linked servers:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/sql_protocols/archive/2006/08/10/694657.aspx"&gt;http://blogs.msdn.com/sql_protocols/archive/2006/08/10/694657.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Since you recently rebuilt your Active Directory server and don't indicate that you changed anything in the SQL Server instances, I would first:&lt;/p&gt;
&lt;p&gt;1. Make sure that the Active Directory accounts that are used to log in to SQL Server do not have the following property set in Active Directory: Account is sensitive and cannot be delegated&lt;/p&gt;
&lt;p&gt;2. Make sure that the Active Directory accounts that each SQL Server service runs under are trusted for delegation in Active Directory.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8031798</link><pubDate>Tue, 04 Mar 2008 21:27:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8031798</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Hi, Patrick&lt;/p&gt;
&lt;p&gt;I would recommend you check out Nan's blog entry on this error for linked servers:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/sql_protocols/archive/2006/08/10/694657.aspx"&gt;http://blogs.msdn.com/sql_protocols/archive/2006/08/10/694657.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Since you recently rebuilt your Active Directory server and don't indicate that you changed anything in the SQL Server instances, I would first:&lt;/p&gt;
&lt;p&gt;1. Make sure that the Active Directory accounts that are used to log in to SQL Server do not have the following property set in Active Directory: Account is sensitive and cannot be delegated&lt;/p&gt;
&lt;p&gt;2. Make sure that the Active Directory accounts that each SQL Server service runs under are trusted for delegation in Active Directory.&lt;/p&gt;
&lt;p&gt;Good luck!&lt;/p&gt;
&lt;p&gt;Dan&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8034021</link><pubDate>Tue, 04 Mar 2008 23:15:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8034021</guid><dc:creator>Patrick S</dc:creator><description>&lt;p&gt;Dan,&lt;/p&gt;
&lt;p&gt;Thanks. &amp;nbsp;I did just realize something, the links work when I remote desktop into the server and check the link to the other server... &amp;nbsp;They fail when I use SQL studio on my desktop and test the link objects. &amp;nbsp;That's a double-hop versus a single-hop, mentioned in the article you reference.... which makes it a Kebros problem I'm thinking. &amp;nbsp;I'm going to keep digging. &amp;nbsp;Let me know if you have any more ideas, and thanks for responding!&lt;/p&gt;
&lt;p&gt;Patrick-&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8052882</link><pubDate>Wed, 05 Mar 2008 19:17:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8052882</guid><dc:creator>Sandy</dc:creator><description>&lt;p&gt;I have 18456 alternating between state 8 and 16.&lt;/p&gt;
&lt;p&gt;If I look at the user in my C# connection string in SQL Studio management, the password always changes to a default 15 chars password however many times I change it. The user's status is locked out and the checkbox is greyed so I can't change it.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8182823</link><pubDate>Thu, 13 Mar 2008 20:59:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8182823</guid><dc:creator>SSG</dc:creator><description>&lt;p&gt;For State 11 errors the Domain account (Domain\WinNTlogin for example) was accessing SQL Server fine and then at some point we experienced the State 11 errors (maybe related to Mirror Failover or some other issues on the server). &amp;nbsp;I had to drop the Account from the Local Admin group and this stopped the errors occurring and then I added the account back in to the Local Admin group and errors did not return.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8329576</link><pubDate>Fri, 21 Mar 2008 19:53:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8329576</guid><dc:creator>brad</dc:creator><description>&lt;p&gt;thanks for a well written instructions&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8393060</link><pubDate>Mon, 14 Apr 2008 18:19:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8393060</guid><dc:creator>Steve Barnes</dc:creator><description>&lt;p&gt;State 16 may also mean the database name is not correctly &amp;quot;cased&amp;quot;. &amp;nbsp;Yes, believe it or not, the SQL server on my dev box would accept either case &amp;quot;dbname&amp;quot; or &amp;quot;DBNAME&amp;quot; in the connection string. &amp;nbsp;The SQL server on my Win2003 Server, on the other hand, demanded the exact case spelling as when the database was created. &amp;nbsp;Both database servers are at SP2.&lt;/p&gt;
&lt;p&gt;Again, Il Sung's suggestion to test connectivity via the USE &amp;lt;DATABASE&amp;gt; command was the key to a more relevant error message.&lt;/p&gt;
&lt;p&gt;Related to&lt;/p&gt;
&lt;p&gt;Error: 18456, Severity: 14, State: 16&lt;/p&gt;
&lt;p&gt;Login failed for user '&amp;lt;username&amp;gt;'. [CLIENT: &amp;lt;IP Address&amp;gt;&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8397621</link><pubDate>Tue, 15 Apr 2008 17:14:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8397621</guid><dc:creator>JP Roberts III</dc:creator><description>&lt;p&gt;This wasn't the exact answer, but it led to my solution. &amp;nbsp;Thanks!&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8410354</link><pubDate>Sat, 19 Apr 2008 22:01:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8410354</guid><dc:creator>STan</dc:creator><description>&lt;p&gt;Сцуко!&lt;/p&gt;
&lt;p&gt;Нихуя не помогли ваши хуевые советы!&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8443013</link><pubDate>Wed, 30 Apr 2008 14:37:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8443013</guid><dc:creator>Torsten</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;I've written a service that connects to a SQL-Server 2005 (Express) database. The service works fine but two times a day I receive an error:&lt;/p&gt;
&lt;p&gt;Error: 18456, Severity: 14, State: 16&lt;/p&gt;
&lt;p&gt;Login failed for user 'wtime'. [CLIENT: &amp;lt;local machine&amp;gt;]&lt;/p&gt;
&lt;p&gt;The error mostly occurs at 9:30 pm and 2:00 am but not always. May a backup-program cause the problem. I read that maybe the database is offline at the moment, but how could this be if this were the reason? After getting this error, the service itself tries to connect to the db as long as neccessary, and so I was able to see in the log files that the db is not available for just about 1 min, after this period of time the service is able to reconnect to the database again. I also found an article describing how to disable a service-job that cleans up no more used sessions, but no jobs are running on the sql-server.&lt;/p&gt;
&lt;p&gt;Let me know if you have any ideas to solve the problem. &lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8444246</link><pubDate>Wed, 30 Apr 2008 20:53:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8444246</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Is the SQL Express offline at that time? If so, it's a by-design behavior for SQL Express. Please check this forum post see if it applies to your case. &lt;a rel="nofollow" target="_new" href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=309672&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=309672&amp;amp;SiteID=1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Xinwei &lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8450029</link><pubDate>Fri, 02 May 2008 12:52:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8450029</guid><dc:creator>Torsten</dc:creator><description>&lt;p&gt;Hi Xinwei,&lt;/p&gt;
&lt;p&gt;no, I don't think the SQL-Express is offline or idle at that time, nothing in the log implies to that:&lt;/p&gt;
&lt;p&gt;2008-04-30 01:49:51.89 spid51 &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'wtimserv'.&lt;/p&gt;
&lt;p&gt;2008-04-30 01:51:07.48 spid51 &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'wtimserv'.&lt;/p&gt;
&lt;p&gt;2008-04-30 01:53:38.28 spid51 &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'wtimserv'.&lt;/p&gt;
&lt;p&gt;2008-04-30 01:54:53.98 spid51 &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'wtimserv'.&lt;/p&gt;
&lt;p&gt;2008-04-30 01:59:56.93 spid51 &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'wtimserv'.&lt;/p&gt;
&lt;p&gt;2008-04-30 02:11:13.81 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Error: 18456, Severity: 14, State: 16&lt;/p&gt;
&lt;p&gt;2008-04-30 02:11:13.81 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Login failed for user 'wtime'. [CLIENT: &amp;lt;local machine&amp;gt;]&lt;/p&gt;
&lt;p&gt;2008-04-30 02:11:16.81 spid51 &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'wtimserv'.&lt;/p&gt;
&lt;p&gt;2008-04-30 02:14:58.34 spid51 &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'wtimserv'.&lt;/p&gt;
&lt;p&gt;2008-04-30 02:18:45.73 spid51 &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'wtimserv'.&lt;/p&gt;
&lt;p&gt;2008-04-30 02:20:01.32 spid51 &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'wtimserv'.&lt;/p&gt;
&lt;p&gt;2008-04-30 02:23:47.46 spid51 &amp;nbsp; &amp;nbsp; &amp;nbsp;Starting up database 'wtimserv'.&lt;/p&gt;
&lt;p&gt;hmmm... or is it idle and the &amp;quot;Starting up database&amp;quot; - Message is a keep alive signal?&lt;/p&gt;
</description></item><item><title>[MsSQL]Ms Sql 2005 - MasterDrive.it - Information Technology Developers Community</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8518483</link><pubDate>Mon, 19 May 2008 00:00:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8518483</guid><dc:creator>[MsSQL]Ms Sql 2005 - MasterDrive.it - Information Technology Developers Community</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://forum.masterdrive.it/database-48/mssql-ms-sql-2005-a-26335/#post125491"&gt;http://forum.masterdrive.it/database-48/mssql-ms-sql-2005-a-26335/#post125491&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8556572</link><pubDate>Wed, 28 May 2008 17:09:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8556572</guid><dc:creator>Imran Taher</dc:creator><description>&lt;p&gt;I got this message again and again, to say my sql server is full of this error... Login failed for user 'NT AUTHORITY\SYSTEM'. [CLIENT: &amp;lt;local machine&amp;gt;]&lt;/p&gt;
&lt;p&gt;As suggested I checked Sql Server logs which says &lt;/p&gt;
&lt;p&gt;Error: 18456 Severity :14 &amp;nbsp;State :16&lt;/p&gt;
&lt;p&gt;Recently I took some of the databases offline which we were not using. But when I checked that login 'NT AUTHORITY\SYSTEM' has access to two databases which were taken offline I brought those two offline databases online, I hope the error might not occur again, and as of now I did not see any error message. Still fingures crossed.&lt;/p&gt;
&lt;p&gt;Thanks for the information.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8593809</link><pubDate>Fri, 13 Jun 2008 02:27:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8593809</guid><dc:creator>Concerned Programmer</dc:creator><description>&lt;p&gt;Where can I find the server's error log?&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8594672</link><pubDate>Fri, 13 Jun 2008 19:30:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8594672</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;By default, the error log is located at Program Files\Microsoft SQL Server\MSSQL.n\MSSQL\LOG\ERRORLOG and ERRORLOG.n files.&lt;/p&gt;
&lt;p&gt;HTH&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8604708</link><pubDate>Mon, 16 Jun 2008 14:57:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8604708</guid><dc:creator>SteveH</dc:creator><description>&lt;p&gt;My Severity 1 fix:&lt;/p&gt;
&lt;p&gt;I had to use SQL Server 2005 (Developer Edition) Surface Area Configuration and then &amp;quot;Add New Administrator&amp;quot; granting myself privileges on the next screen to log in (using Windows Authentication). Then I was good to go. Easy once you figure it out. I guess they were paranoid and didn't want to automatically assume that the person installing it would actually want to log in as administrator (?).&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8659320</link><pubDate>Fri, 27 Jun 2008 04:34:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8659320</guid><dc:creator>Patric</dc:creator><description>&lt;p&gt;Hey Guys, &lt;/p&gt;
&lt;p&gt;what is State 4 all about?&lt;/p&gt;
&lt;p&gt;Short information:&lt;/p&gt;
&lt;p&gt;We recently get the Error:&lt;/p&gt;
&lt;p&gt;18456 State 4&lt;/p&gt;
&lt;p&gt;- SQL Server 2005 Developer 64 Bit&lt;/p&gt;
&lt;p&gt;- Windows Server 2008 Enterprise 64 Bit&lt;/p&gt;
&lt;p&gt;Well intersting Thing here is, that just the Active Directory Administrator can Login to the Server. We tryed several things:&lt;/p&gt;
&lt;p&gt;User with SQL Admin rights. -&amp;gt; No Effect&lt;/p&gt;
&lt;p&gt;Just the Active Directory Admin and Local Administrator can Login to the Databases. &lt;/p&gt;
&lt;p&gt;Also interesting, the Initializer and Controls could be controlled and the Login works great. But, there is no possibility for a Local or Remote Connection to the Datebases.&lt;/p&gt;
&lt;p&gt;Activating Romte Connection Functionality -&amp;gt; No Effect&lt;/p&gt;
&lt;p&gt;Ok we tryed a lot of stuff. &lt;/p&gt;
&lt;p&gt;Then we installed the SQL Server again in Mixed Authentication Mode. Ports in the Router are opened. And the first effect anyone can now login! But no Remote connection possible.&lt;/p&gt;
&lt;p&gt;So we found out, that the Software Firewall in Windows Server 2k8 blocked the SQL Server. So this is easy. So now everything is working correct an we can work with it. &lt;/p&gt;
&lt;p&gt;But 2 questions still remains:&lt;/p&gt;
&lt;p&gt;First, what is that State 4 Thing all about. And please no internal Error Comment!&lt;/p&gt;
&lt;p&gt;Why can just the Active Directory Administrator login?&lt;/p&gt;
&lt;p&gt;And why have be as creative as that to get a workaround? &lt;/p&gt;
&lt;p&gt;patric.boscolo@studentprogram.de&lt;/p&gt;
&lt;p&gt;Microsoft Student Partners Germany&lt;/p&gt;
</description></item><item><title>My id "sa" is going disable several times when i go to connect the database in sql server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8720255</link><pubDate>Fri, 11 Jul 2008 08:41:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8720255</guid><dc:creator>Santosh Kumar</dc:creator><description>&lt;p&gt;My id &amp;quot;sa&amp;quot; is going disable several times when i go to connect the database in sql server 2005&lt;/p&gt;
</description></item><item><title>Login failed error: (Msg 18456) SQL Server 2005 Login failed for user &amp;#8216;NT AUTHORITY\ANONYMOUS LOGON&amp;#8217; &amp;laquo; Journey Through No-Where</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8763553</link><pubDate>Tue, 22 Jul 2008 13:16:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8763553</guid><dc:creator>Login failed error: (Msg 18456) SQL Server 2005 Login failed for user &amp;#8216;NT AUTHORITY\ANONYMOUS LOGON&amp;#8217; &amp;laquo; Journey Through No-Where</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://dotnetolympians.wordpress.com/2008/07/22/login-failed-error-msg-18456-sql-server-2005-login-failed-for-user-nt-authorityanonymous-logon/"&gt;http://dotnetolympians.wordpress.com/2008/07/22/login-failed-error-msg-18456-sql-server-2005-login-failed-for-user-nt-authorityanonymous-logon/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8784104</link><pubDate>Mon, 28 Jul 2008 15:59:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8784104</guid><dc:creator>Sandro</dc:creator><description>&lt;p&gt;I had this problem with state #8 (Password mismatch). I removed the &amp;quot;Enforce password policy&amp;quot; and now it's working. &lt;/p&gt;
&lt;p&gt;My password was not wrong. If I pasted it in the login form on the server it would work, and if I pasted on my PC it would not. Until I uncheck this option.&lt;/p&gt;
&lt;p&gt;Sorry but this is a bug! Lost hours for this...&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8789258</link><pubDate>Tue, 29 Jul 2008 19:03:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8789258</guid><dc:creator>lashai</dc:creator><description>&lt;p&gt;hello,&lt;/p&gt;
&lt;p&gt;mymyspace is blocked please help me unblock it&lt;/p&gt;
</description></item><item><title>Log in failled message is coming....plz help....</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8793036</link><pubDate>Thu, 31 Jul 2008 11:25:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8793036</guid><dc:creator>Shyam</dc:creator><description>&lt;p&gt;I'm tring to connect one server application with string &amp;quot;Provider=SQLNCLI;Server=195.22.3.218;Database=userdb;Uid=sa;Pwd=xyz;&amp;quot;&lt;/p&gt;
&lt;p&gt;Then The folowing error message is showing....&lt;/p&gt;
&lt;p&gt;Unable to initilize MSSQL&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;mssql_error:IDispatch error #3149:Login failed for user 'sa'.&amp;gt;&lt;/p&gt;
&lt;p&gt;Thanks in advance my emailid is::&lt;/p&gt;
&lt;p&gt;smanohar@rmsindia.com&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8802589</link><pubDate>Sat, 02 Aug 2008 01:16:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8802589</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Shyam,&lt;/p&gt;
&lt;p&gt; &amp;nbsp;You will need to go to the server that is running SQL Server, find the server's ERRORLOG file (located at something like: %ProgramFiles%\Microsoft SQL Server\MSSQL.1\INSTANCENAME\Log\ERRORLOG), and get the State from the ERRORLOG file; then come back to this blog and compare the state with the states mentioned in the blog. &amp;nbsp;As this blog post points out, there are many potential causes for the &amp;quot;Login failed for user 'sa'&amp;quot; error message, but the state will pin down the exact root cause.&lt;/p&gt;
&lt;p&gt;Hope this helps!&lt;/p&gt;
&lt;p&gt;Dan Benediktson&lt;/p&gt;
&lt;p&gt;SQL Protocols&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8830028</link><pubDate>Mon, 04 Aug 2008 13:32:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8830028</guid><dc:creator>Esa</dc:creator><description>&lt;p&gt;Our application was running as a network service on a remote server (2003) and login to SQL was attempted with Domain\Server$.&lt;/p&gt;
&lt;p&gt;Everything had worked fine for a long time, but on one day we ran into &lt;/p&gt;
&lt;p&gt;&amp;quot;Error: 18456, Severity: 14, State: 11.&amp;quot;&lt;/p&gt;
&lt;p&gt;Finally the solution was to remove that login from SQL Server and recreate it - and everything started to work immediately.&lt;/p&gt;
&lt;p&gt;What could be the reason for this? Has something happened in AD that had broken the login. All the time Security Event Log created success audit events for the connection but SQL Server gave the error. &lt;/p&gt;
</description></item><item><title>Login failed for user 'PC\userf'. (Microsoft SQL Server, Error: 18456)</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8831458</link><pubDate>Mon, 04 Aug 2008 19:41:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8831458</guid><dc:creator>Stefano</dc:creator><description>&lt;p&gt;hi.. &lt;/p&gt;
&lt;p&gt;i'm new using sql server.. and i have a problem to login:(&lt;/p&gt;
&lt;p&gt;i don't know what i have to do.&lt;/p&gt;
&lt;p&gt;i hope you can help me.&lt;/p&gt;
&lt;p&gt;regads...&lt;/p&gt;
&lt;p&gt;ps.. my english is bad... sorry:))&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8831699</link><pubDate>Mon, 04 Aug 2008 20:56:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8831699</guid><dc:creator>Matt Neerincx (MSFT)</dc:creator><description>&lt;p&gt;Hi Esa,&lt;/p&gt;
&lt;p&gt;This coild happen if the SID of the login changed. &amp;nbsp;When the login is added to SQL the SID of the login account it used to store the identity of the account. &amp;nbsp;If the user is dropped and re-created in AD, then a new globally unique SID is generated. &amp;nbsp;Hence the old SID stored in SQL's security tables is no longer valid, you need to drop and re-create the login. &amp;nbsp;I'll double check with the security group to see if there is way to &amp;quot;refresh&amp;quot; the SID without having to drop and re-create the login.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8836743</link><pubDate>Wed, 06 Aug 2008 12:16:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8836743</guid><dc:creator>Jyoti</dc:creator><description>&lt;p&gt;I &amp;nbsp;am getting &amp;quot;login failed&amp;quot; (Error 18456) error messages in SQL Server 2005 with no severity # and state #. I am unable to login into my college SQL server 2005 from home. Please help.&lt;/p&gt;
&lt;p&gt;Jyoti &amp;nbsp;&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8854750</link><pubDate>Wed, 13 Aug 2008 03:32:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8854750</guid><dc:creator>Gazza</dc:creator><description>&lt;p&gt;Got this state 11 error. &amp;nbsp;removed the user from local admin which fixed the issue.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8876990</link><pubDate>Mon, 18 Aug 2008 21:40:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8876990</guid><dc:creator>MadMax</dc:creator><description>&lt;p&gt;*** Look Here ****&lt;/p&gt;
&lt;p&gt;If you are in VISTA right click on &amp;quot;run as administrator&amp;quot; and all will be well.&lt;/p&gt;
&lt;p&gt;Geez. &lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8883048</link><pubDate>Thu, 21 Aug 2008 05:01:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8883048</guid><dc:creator>bluefang</dc:creator><description>&lt;p&gt;hi&lt;/p&gt;
&lt;p&gt;(Login failed for user 'sa'. [CLIENT: 172.17.5.5]&lt;/p&gt;
&lt;p&gt; Error: 18456, Severity: 14, State: 16.)&lt;/p&gt;
&lt;p&gt; &amp;nbsp;now ,I know that the meaning of state 16 is no permissions .but,i think that it's not possible about &lt;/p&gt;
&lt;p&gt;sa. i hope you can tell me the reason.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8894254</link><pubDate>Mon, 25 Aug 2008 19:40:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8894254</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;State 16 is a little more general than no permissions: it means that login failed while trying to log in to the database specified in the connection string. &amp;nbsp;This can happen for a variety of reasons, the most common of which is that the user specified a database that they don't have permission to.&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Another possibility, though, is that you've specified a database that doesn't exist: for instance, maybe you misspelled the database's name. &amp;nbsp;Another possibility would be that that database is in single-user mode.&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;/p&gt;
&lt;p&gt;Dan&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8896050</link><pubDate>Tue, 26 Aug 2008 07:25:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8896050</guid><dc:creator>bluefang</dc:creator><description>&lt;p&gt; Thanks!&lt;/p&gt;
&lt;p&gt; however,this problem will appear &amp;nbsp;every 5 minute.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8898023</link><pubDate>Tue, 26 Aug 2008 21:12:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8898023</guid><dc:creator>Vakul Kumar More</dc:creator><description>&lt;p&gt; MadMax said:&lt;/p&gt;
&lt;p&gt;*** Look Here ****&lt;/p&gt;
&lt;p&gt;If you are in VISTA right click on &amp;quot;run as administrator&amp;quot; and all will be well.&lt;/p&gt;
&lt;p&gt;Geez.&lt;/p&gt;
&lt;p&gt;Thanks MadMax, You saved my time...&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8898417</link><pubDate>Wed, 27 Aug 2008 00:41:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8898417</guid><dc:creator>Sandeep</dc:creator><description>&lt;p&gt;A common reason for Error is 18456, Severity: 14, State: 8. is in a development shop where the client is located in a domain and the server is not. In this case if your client is not configured to use TCP/IP you should also see corresponding errors on your Windows Server Security Audit Log - event id 529 - Unknown user name or bad password.&lt;/p&gt;
&lt;p&gt;The solution (in SQL2005) is to configure an alias that uses TCP as the preferred protocol. To do this go to SQL2005 ...-&amp;gt; Configuration Tools -&amp;gt; SQL Server Configuration Manager -&amp;gt; SQL Native Client Configuration -&amp;gt; Alias. Lookup SQL2005 for help with setting parameters.&lt;/p&gt;
&lt;p&gt;This should work for SQL2000 as well but the navigation path to set it up would be different.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8944503</link><pubDate>Thu, 11 Sep 2008 15:18:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8944503</guid><dc:creator>Tanveer</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;My issue is exactly same which bluefang has posted earlier...&lt;/p&gt;
&lt;p&gt;(Login failed for user 'sa'. [CLIENT: 172.17.5.5]&lt;/p&gt;
&lt;p&gt;Error: 18456, Severity: 14, State: 16.)&lt;/p&gt;
&lt;p&gt;Does anyone has a solution for this...&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8954347</link><pubDate>Tue, 16 Sep 2008 23:23:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8954347</guid><dc:creator>Shai</dc:creator><description>&lt;p&gt;We're seeing an issue in our environment where we have a .NET 1.1 web application on a Windows 2003 server machine and SQL Server 2005 on a Windows 2000 server machine. &amp;nbsp;In the application, we use SQL logins to connect to the db. &amp;nbsp;What we are seeing is, when a bad password is used at login, an error message is generated (login failed, state 8) in the event log which is what's expected, but then we continually see the same error message repeating for the next few hours as if the connection is still alive and retrying automatically. &amp;nbsp;Any ideas why? &amp;nbsp;Thanks&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8969767</link><pubDate>Tue, 30 Sep 2008 05:55:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8969767</guid><dc:creator>Red Davidson</dc:creator><description>&lt;p&gt;I'm getting error 18456, severity 14, state 58. &amp;nbsp;I'm trying to use SQL Server Authentication. &amp;nbsp;Any info on what this might indicate.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8973142</link><pubDate>Thu, 02 Oct 2008 11:21:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8973142</guid><dc:creator>HariKrishna</dc:creator><description>&lt;p&gt;I too receiving the same error now a days on SQL Server 2005. where we can set this sa password after installations of server.&lt;/p&gt;
&lt;p&gt;Any help will be Appriciated.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8975168</link><pubDate>Fri, 03 Oct 2008 10:00:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8975168</guid><dc:creator>clydde</dc:creator><description>&lt;p&gt;I have the same mistake that you:&lt;/p&gt;
&lt;p&gt;SQL query failed .. reason [Microsoft] [ODBC SQL Driver] [SQL Server] Login failed for user 'myuser' SQL statments...&lt;/p&gt;
&lt;p&gt;The system W.Vista Home edition.&lt;/p&gt;
&lt;p&gt;At the moment I believe that I khan fix the problem, login me again whenever I do to consultation, in fact if I make myself it does not give mistake, but it is to solution that I do not like.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server Express</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8998601</link><pubDate>Tue, 14 Oct 2008 00:04:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8998601</guid><dc:creator>k</dc:creator><description>&lt;p&gt;In a batch file, I am invoking sql script files in a loop. When each script file is run I am establishing a connection to SQLExpress instance and running script. Randomly it fails on one of the script file saying login failed. Every time it fails at different script file when i restart. Any idea, what could be the wrong?&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#8999429</link><pubDate>Tue, 14 Oct 2008 16:08:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8999429</guid><dc:creator>tareq</dc:creator><description>&lt;p&gt;Error Number: 18456&lt;/p&gt;
&lt;p&gt;Severity: 14&lt;/p&gt;
&lt;p&gt;State: 1&lt;/p&gt;
&lt;p&gt;Line Number: 65536&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9000806</link><pubDate>Wed, 15 Oct 2008 20:44:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9000806</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;k and tareq,&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Can you provide the full Login Failed error message from the SQL Server ERRORLOG? &amp;nbsp;That will contain a state, which as this blog post indicates is the important piece of information that tells why the login is failing. &amp;nbsp;Tareq, in your case, I think that state is from the client, since State 1 is the generic we send to the client to avoid information disclosure. &amp;nbsp;The server ERRORLOG file will have a different state.&lt;/p&gt;
</description></item><item><title>SQL Server 2005 e l'errore 18456 durate il logon</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9019126</link><pubDate>Tue, 28 Oct 2008 00:40:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9019126</guid><dc:creator>DevAdmin Blog</dc:creator><description>&lt;p&gt;SQL Server 2005 e l'errore 18456 durate il logon&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9027007</link><pubDate>Fri, 31 Oct 2008 20:38:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9027007</guid><dc:creator>kasandco</dc:creator><description>&lt;p&gt;I am building some reports using SQL Server 2005 Reporting Services, using a shared data source. The particular SQL authentication I need to use connects OK in the shared data source definition, but always fails with State: 8 when I plug the shared data source name into a report's dataset definition.&lt;/p&gt;
&lt;p&gt;I can put the credentials &amp;quot;locally&amp;quot;, as it were, into a report and that's fine. Ultimately, though, I will want to schedule the reports with Report Manager so I need to get the shared data source working.&lt;/p&gt;
&lt;p&gt;I have tried this many many times: trust me the password IS correct! Any ideas, anybody?&lt;/p&gt;
</description></item><item><title>Logon,Unknown,Error: 18451 Severity: 14 State: 1</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9033349</link><pubDate>Mon, 03 Nov 2008 17:46:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9033349</guid><dc:creator>Adrian Balzano</dc:creator><description>&lt;p&gt;This error appears on our server. But I can't find usefull documentation... Can you help me ? The server stop to respond after this.&lt;/p&gt;
&lt;p&gt;11/03/2008 09:35:36,Logon,Unknown,Login failed for user 'XXXXX'. Only administrators may connect at this time. [CLIENT: xx.ww.yy.zz]&lt;/p&gt;
&lt;p&gt;11/03/2008 09:35:36,Logon,Unknown,Error: 18451 Severity: 14 State: 1.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9058452</link><pubDate>Mon, 10 Nov 2008 21:45:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9058452</guid><dc:creator>Jeremy Bond</dc:creator><description>&lt;p&gt;Error: 18456, Severity: 14, State: 16. &lt;/p&gt;
&lt;p&gt;Not Sure this has been mentioned.....&lt;/p&gt;
&lt;p&gt;Also noticed the error can be caused by SQL Jobs that reference databases that have been removed or taken offline. We've disabled the job in question and the error has gone away. You will need to remove the job or resolve the conflicts within the job.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9131583</link><pubDate>Fri, 21 Nov 2008 11:50:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9131583</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;Why this msg has been written to the error log for specific servers only???&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9141066</link><pubDate>Tue, 25 Nov 2008 10:43:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9141066</guid><dc:creator>leo_learner</dc:creator><description>&lt;p&gt;Hi Guys!&lt;/p&gt;
&lt;p&gt;i am using Sql Server 2000 and getting this error in logs.&lt;/p&gt;
&lt;p&gt;18456 :&lt;/p&gt;
&lt;p&gt;Login failed for user 'sa'.&lt;/p&gt;
&lt;p&gt;I am very much stuck as these failures cause sql server to stuck down frequently. I dont have information like IP address of attacker like in 2005, so i have no idea what to do.&lt;/p&gt;
&lt;p&gt;Please if any one have solution for it, please sort this problem out.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9141628</link><pubDate>Tue, 25 Nov 2008 14:46:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9141628</guid><dc:creator>odumah ojorma</dc:creator><description>&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://benojor.spaces.live.com/blog/cns"&gt;http://benojor.spaces.live.com/blog/cns&lt;/a&gt;!7D1B073C4B441563!170.entry&lt;/p&gt;
</description></item><item><title>"login failed" (Error 18456) error - state: 16  solved!</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9142541</link><pubDate>Tue, 25 Nov 2008 21:09:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9142541</guid><dc:creator>gary b</dc:creator><description>&lt;p&gt;I found that I had several jobs with incorrect parameters listed. Deleting these jobs eliminated the state 16 errors that were occurring every minute.&lt;/p&gt;
&lt;p&gt;While scrolling to end of this thread to add this information, I noticed Jeremy Bond said:&lt;/p&gt;
&lt;p&gt;&amp;quot;Error: 18456, Severity: 14, State: 16.&lt;/p&gt;
&lt;p&gt;Also noticed the error can be caused by SQL Jobs...&amp;quot;&lt;/p&gt;
&lt;p&gt;Should have read ALL posts in this thread before I spent an hour tracking down bogus login.&lt;/p&gt;
&lt;p&gt;Hope this eliminates some frustration for you.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9177231</link><pubDate>Fri, 05 Dec 2008 01:37:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9177231</guid><dc:creator>Manoj</dc:creator><description>&lt;p&gt;I am configuring Link Server for delegation between Server A and Server B. I am able to connect to both the servers from my workstation with auth_scheme 'KERBEROS'. I have created a link server on Server A for Server B with Security setting of &amp;quot;Be made using the login's current security context&amp;quot;. When I run the query against the link the server I get the following error.&lt;/p&gt;
&lt;p&gt;Error: 18456, Severity: 14, State: 11.&lt;/p&gt;
&lt;p&gt;Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. [CLIENT: ??.??.??.??]&lt;/p&gt;
&lt;p&gt;My login exists on both the SQL Servers as SysAdmin. All help is appreciated.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9177435</link><pubDate>Fri, 05 Dec 2008 02:41:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9177435</guid><dc:creator>Maria</dc:creator><description>&lt;p&gt;In my case:&lt;/p&gt;
&lt;p&gt;I had Sharepoint running on a server with SQL2000. I migrated the Dbs off of that server to a machine running SQL2005. Once migrated, the new db server started spewing 18456, State 11. Specifically it said: Login failed for user DOMAIN\Sharepointserver$. As this was not an AD user, but a Computer, I didnt really get it. &lt;/p&gt;
&lt;p&gt;But, to resolve the problem, I went to the SQL 2005 server and created a new login under Security as DOMAIN\Sharepointserver$ (made sure to match spelling/case perfectly.) I gave that login DBCreator rights, and in User Mapping I checked the boxes for the sharepoint dbs, and then verified it had Permission to Connect to Database Engine enabled, and hit OK.&lt;/p&gt;
&lt;p&gt;Error 18456 stopped. Didnt have to restart any services on either box.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9180244</link><pubDate>Fri, 05 Dec 2008 17:56:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9180244</guid><dc:creator>manojmsingh</dc:creator><description>&lt;p&gt;My issue is that I can't even create a link server successfully it throws the error &lt;/p&gt;
&lt;p&gt;Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. [CLIENT: ??.??.??.??]&lt;/p&gt;
&lt;p&gt;In my first post I may have hinted that the link server was created successfully but I can't do that. so for some reason it is not doing the security account delegation even though I am able to login to the server A and server B with 'KERBEROS'.&lt;/p&gt;
&lt;p&gt;The setting on the computer object in AD has also been set to &amp;quot;Trust for delegation&amp;quot;.&lt;/p&gt;
&lt;p&gt;Any other setting that I may be missing.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9180432</link><pubDate>Fri, 05 Dec 2008 21:02:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9180432</guid><dc:creator>Matt Neerincx (MSFT</dc:creator><description>&lt;p&gt;Ensure when you create the linked server that you look very very carefully at the Security section and select the option that is right for you.&lt;/p&gt;
&lt;p&gt;The SIMPLEST solution is to select &amp;quot;Be made using this security context&amp;quot; then supply a NT user name and password to use. &amp;nbsp;This avoids all Kerberos double hop issues as the linked server runs under an account you control and the account logs in at the server (versus passed from client to server).&lt;/p&gt;
&lt;p&gt;Likewise you can assign mappings for users here as well, this is another solution to avoid Kerberos double hop issues.&lt;/p&gt;
&lt;p&gt;If you truely want the incoming client's account to be used with the linked server connection, then select &amp;quot;Be made using the login's current security context&amp;quot;. &amp;nbsp;This option REQUIRES Kerberos double hop to be enabled.&lt;/p&gt;
&lt;p&gt;To enable Kerberos double hop you need to ensure:&lt;/p&gt;
&lt;p&gt;1. Account that SQL Server service is running under has rights to delegate accounts in AD.&lt;/p&gt;
&lt;p&gt;2. Each user account coming from client has &amp;quot;allows delegation&amp;quot; set in AD.&lt;/p&gt;
&lt;p&gt;3. Each client can fully resolve the FQDN of the SQL Server (DNS is setup correctly, they are not connecting via IP address for example).&lt;/p&gt;
&lt;p&gt;4. A SPN (Server Principle Name) is registered for the SQL Server service account.&lt;/p&gt;
&lt;p&gt;Setting up Kerberos is not for the faint of heart unfortunately.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9180484</link><pubDate>Fri, 05 Dec 2008 21:45:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9180484</guid><dc:creator>manojmsingh</dc:creator><description>&lt;p&gt;thanks for the information and I don't think I am faint of heart.&lt;/p&gt;
&lt;p&gt;#1 this I was told is only for the computer and not the service account.&lt;/p&gt;
&lt;p&gt;#2 &amp;quot;Account is sensitive and cannot be delegated&amp;quot; is not selected for the account I am using to run query across link server&lt;/p&gt;
&lt;p&gt;#3 my workstation can fully resolve the FQDN of the sql server. Verified by running ping -a &amp;lt;servername&amp;gt;&lt;/p&gt;
&lt;p&gt;$4 Done and verified by running setspn -L &lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9180493</link><pubDate>Fri, 05 Dec 2008 21:55:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9180493</guid><dc:creator>manojmsingh</dc:creator><description>&lt;p&gt;Also we do need security account delegation over the link server, this is for BizTalk setup. Secondly for #1 Account is sensitive and cannot be delegated is not selected for the service account.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9187682</link><pubDate>Tue, 09 Dec 2008 21:53:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9187682</guid><dc:creator>tfudge</dc:creator><description>&lt;p&gt;2008-12-09 12:46:05.59 Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Error: 18456, Severity: 14, State: 16.&lt;/p&gt;
&lt;p&gt;2008-12-09 12:46:05.59 Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Login failed for user 'NEWMILLSCADA\Robert Hardin'. [CLIENT: 192.168.1.100]&lt;/p&gt;
&lt;p&gt;2008-12-09 12:47:15.59 Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Error: 18456, Severity: 14, State: 16.&lt;/p&gt;
&lt;p&gt;2008-12-09 12:47:15.59 Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Login failed for user 'NEWMILLSCADA\Robert Hardin'. [CLIENT: 192.168.1.100]&lt;/p&gt;
&lt;p&gt;2008-12-09 12:48:25.60 Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Error: 18456, Severity: 14, State: 16.&lt;/p&gt;
&lt;p&gt;I get these eroors every ten seconds. I am not a databse expert, but a control systems engineer and have no idea how to fix this. Any help would be appreciated.&lt;/p&gt;
&lt;p&gt;Thank You,&lt;/p&gt;
&lt;p&gt;Tim&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9197141</link><pubDate>Thu, 11 Dec 2008 18:30:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9197141</guid><dc:creator>R.Hoek</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I'm also getting State 16 errors on a SQL user, which has permissions to access the target database. And we're also using IIS (from an other server) to connect to the SQL server.&lt;/p&gt;
&lt;p&gt;As far as i've read correctly, this error can also occour when the database of (temporarely) offline / not available.&lt;/p&gt;
&lt;p&gt;But we have not taken the DB offline, so SQL server has some trouble accessing the DB itself.&lt;/p&gt;
&lt;p&gt;Is there any way to determine why the DB is offline/not accesable (logging?) other then using the USE DATABASE statement?&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9199197</link><pubDate>Fri, 12 Dec 2008 02:56:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9199197</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;we had the Error 18456. We followed the steps that described in the document and resovled the problem:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.fulltimedba.com/2008/12/11/Error18456Severity14State11.aspx"&gt;http://www.fulltimedba.com/2008/12/11/Error18456Severity14State11.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Troubleshooting login problems</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9230706</link><pubDate>Wed, 17 Dec 2008 14:41:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9230706</guid><dc:creator>Tibor Karaszi</dc:creator><description>&lt;p&gt;I've been learning a few things about troubelshooting login problems over the last few months. I first&lt;/p&gt;
</description></item><item><title>Troubleshooting login problems</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9230741</link><pubDate>Wed, 17 Dec 2008 14:56:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9230741</guid><dc:creator>SQL Server</dc:creator><description>&lt;p&gt;I've been learning a few things about troubelshooting login problems over the last few months. I first&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9231103</link><pubDate>Wed, 17 Dec 2008 19:27:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9231103</guid><dc:creator>greg aiken</dc:creator><description>&lt;p&gt;sql2005 error log lists...&lt;/p&gt;
&lt;p&gt;error 18456&lt;/p&gt;
&lt;p&gt;severity 14&lt;/p&gt;
&lt;p&gt;state 16&lt;/p&gt;
&lt;p&gt;i read above in this thread two possible reasons, but i am offering a 3rd. &amp;nbsp;when i ran ssmsee and saw the database in the left pane. &amp;nbsp;the database icon was not the normal icon. &amp;nbsp;instead of seeing the normal icon, i saw an icon of a persons head and shoulders in front of the database. and next to the database were the words 'single user'. &amp;nbsp;somehow the database took on the property of 'single user'. &amp;nbsp;once this happened, none of the sql authenticated logins (which previously worked), could be used to log into the database. &amp;nbsp;fortunately detaching, and reattaching the db, set things right again.&lt;/p&gt;
&lt;p&gt;but my question is... &amp;nbsp;what does it mean when it says the db is in 'single user' mode, and more importantly WHAT COULD HAVE CAUSED THIS? &amp;nbsp;the mode change basically left an office unable to get any work done.&lt;/p&gt;
&lt;p&gt;any help here would be appreciated...&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9233246</link><pubDate>Thu, 18 Dec 2008 04:13:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9233246</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Greg, &lt;/p&gt;
&lt;p&gt;You probably have other application or service(e.g. SQL Agent) running to turn the database into &amp;quot;single user&amp;quot; mode. You can use SQL Server Profiler to find out who did it. Please refer to BOL&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/ms345598.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms345598.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks. &lt;/p&gt;
&lt;p&gt;Xinwei&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9277983</link><pubDate>Mon, 05 Jan 2009 10:35:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9277983</guid><dc:creator>Delson</dc:creator><description>&lt;p&gt;the sql server loging mode is set to windows authentication set it to sql authentication , to do this right click on the server in sql server managment&amp;gt; properties and then change the loging mode.&lt;/p&gt;
</description></item><item><title>Login Probleme nach Update auf SQL Server 2005 | hilpers</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9348043</link><pubDate>Tue, 20 Jan 2009 18:37:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9348043</guid><dc:creator>Login Probleme nach Update auf SQL Server 2005 | hilpers</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.hilpers.com/350156-login-probleme-nach-update-auf"&gt;http://www.hilpers.com/350156-login-probleme-nach-update-auf&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>accesso con autenticazione SQL non riuscito (18456) | hilpers</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9356899</link><pubDate>Wed, 21 Jan 2009 20:26:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9356899</guid><dc:creator>accesso con autenticazione SQL non riuscito (18456) | hilpers</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.hilpers.it/2537843-accesso-con-autenticazione-sql-non"&gt;http://www.hilpers.it/2537843-accesso-con-autenticazione-sql-non&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9370818</link><pubDate>Fri, 23 Jan 2009 00:26:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9370818</guid><dc:creator>Faran</dc:creator><description>&lt;p&gt;If you got state 1 log_in failed message, you need to add some SQL privileges to the account you've logged in with.&lt;/p&gt;
&lt;p&gt;Go to &amp;nbsp;SQLServerManagementStudio&lt;/p&gt;
&lt;p&gt;Configuration Tools&lt;/p&gt;
&lt;p&gt;SQL Server Surface Area Configuration&lt;/p&gt;
&lt;p&gt;Add new Administrator&lt;/p&gt;
&lt;p&gt;Add the two privileges on the left to your account (which you are logged in with)&lt;/p&gt;
</description></item><item><title>follow up to 12-17-08 11:27am post (single user) mode &amp; 'sql profiler'</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9376349</link><pubDate>Tue, 27 Jan 2009 01:03:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9376349</guid><dc:creator>greg aiken</dc:creator><description>&lt;p&gt;dear Xinwei,&lt;/p&gt;
&lt;p&gt;the problem posted on 12-17 continues to happen with regularity. &amp;nbsp;your information says to use 'sql profiler' to figure out who, or what process, is mysteriously changing the database status to 'single user' mode.&lt;/p&gt;
&lt;p&gt;question 1. &amp;nbsp;is 'sql profiler' available for sql 2005 express? &amp;nbsp;if so, where, or how does one find, or install it?&lt;/p&gt;
&lt;p&gt;question 2. &amp;nbsp;if 'sql profiler' is only available with sql 2005 standard (or higher). &amp;nbsp;how would one setup sql profiler for sql 2005 standard?&lt;/p&gt;
&lt;p&gt;question 3. &amp;nbsp;in speed reading books online about 'sql profiler' it seems that one must know what events or sql commands to trace. &amp;nbsp;can you suggest how one would set the correct sql to look for that might set the database mode to single user mode? &amp;nbsp;ive seen there is a sql command that explicitly sets the database mode to single user, but ive also read that some built-in functions such as 'dbcc' might also set the database mode to single user. &amp;nbsp;who knows, perhaps there are many such functions... &amp;nbsp;how would you suggest i try to configure 'sql profiler' to detect what is changing the database mode to 'single user'?&lt;/p&gt;
&lt;p&gt;thanks alot&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9385010</link><pubDate>Fri, 30 Jan 2009 20:39:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9385010</guid><dc:creator>felipe</dc:creator><description>&lt;p&gt;hi, i am getting a sql error with state 5.&lt;/p&gt;
&lt;p&gt;how do i solve this?&lt;/p&gt;
&lt;p&gt;thanks!&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9393943</link><pubDate>Wed, 04 Feb 2009 01:42:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9393943</guid><dc:creator>Daniel Macey</dc:creator><description>&lt;p&gt;I have also encountered a couple of new States in SQL Server 2008:&lt;/p&gt;
&lt;p&gt;* Login failed for user '&amp;lt;username&amp;gt;'. Reason: Failed to open the explicitly specified database. [CLIENT: &amp;lt;IP&amp;gt;]&lt;/p&gt;
&lt;p&gt;Error: 18456, Severity: 14, State: 38.&lt;/p&gt;
&lt;p&gt;This error occurs when the database specified as the initial catalog is unavailable (for security or otherwise). This was reported as a State 16 in SQL Server 2005.&lt;/p&gt;
&lt;p&gt;* Login failed for user '&amp;lt;username&amp;gt;'. Reason: Failed to open the database specified in the login properties. [CLIENT: &amp;lt;IP&amp;gt;]&lt;/p&gt;
&lt;p&gt;Error: 18456, Severity: 14, State: 40.&lt;/p&gt;
&lt;p&gt;This error occurs when the users default database is unavailable. This was reported as State 16 in SQL Server 2005.&lt;/p&gt;
&lt;p&gt;Hope this helps someone else.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9397977</link><pubDate>Thu, 05 Feb 2009 12:36:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9397977</guid><dc:creator>Niklas Klingspetz</dc:creator><description>&lt;p&gt;After installing SP3 (KB955706) for SQL Server 2005 i got an: &lt;/p&gt;
&lt;p&gt;Error: 18456, Severity: 14, State: 11. &lt;/p&gt;
&lt;p&gt;in sqlservers logfiles. Eventlog just says &lt;/p&gt;
&lt;p&gt;Login failed for user '&amp;lt;username&amp;gt;'. [CLIENT: &amp;lt;local machine&amp;gt;]&lt;/p&gt;
&lt;p&gt;I used Windows Authentication in the 2005 Management Studio, the connection was working just fine before SP3. &lt;/p&gt;
&lt;p&gt;SOLUTION: Use &amp;quot;run as administrator&amp;quot; when starting Microsoft SQL Management Studio 2005.&lt;/p&gt;
&lt;p&gt;ENVIRONMENT: Vista Business - all recommended updates for SQL Server 2005 and Vista as of 2009-02-04 installed.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9414652</link><pubDate>Thu, 12 Feb 2009 16:48:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9414652</guid><dc:creator>sandra</dc:creator><description>&lt;p&gt;what about state:0 ?&lt;/p&gt;
&lt;p&gt;I have this error and I dont know what happens:&lt;/p&gt;
&lt;p&gt;A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - Se ha forzado la interrupci&amp;#243;n de una conexi&amp;#243;n existente por el host remoto.) (.Net SqlClient Data Provider)&lt;/p&gt;
&lt;p&gt;------------------------------&lt;/p&gt;
&lt;p&gt;For help, click: &lt;a rel="nofollow" target="_new" href="http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;amp;EvtSrc=MSSQLServer&amp;amp;EvtID=10054&amp;amp;LinkId=20476"&gt;http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;amp;EvtSrc=MSSQLServer&amp;amp;EvtID=10054&amp;amp;LinkId=20476&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;------------------------------&lt;/p&gt;
&lt;p&gt;Server Name: DESSQL2008&lt;/p&gt;
&lt;p&gt;Error Number: 10054&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.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Data.SqlClient.TdsParserStateObject.ReadPacket(Int32 bytesExpected)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Data.SqlClient.TdsParserStateObject.ReadByte()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)&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;p&gt;thanks a lot&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9425272</link><pubDate>Mon, 16 Feb 2009 06:49:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9425272</guid><dc:creator>Thomas Ho</dc:creator><description>&lt;p&gt;I would like to ask if my DTS run normally before and nothing change in DTS and scheduelr. However in one day that is error: SQL server Error string: &amp;nbsp;Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'&lt;/p&gt;
&lt;p&gt;Please advise how to fix it&lt;/p&gt;
</description></item><item><title>Understanding 'login failed' (Error 18456) errors in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9427201</link><pubDate>Tue, 17 Feb 2009 10:13:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9427201</guid><dc:creator>The Rambling DBA: Jonathan Kehayias</dc:creator><description>&lt;p&gt;One of my favorite errors that I get paged for is the login failed (error 18456). I have a few users&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9440603</link><pubDate>Sun, 22 Feb 2009 22:41:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9440603</guid><dc:creator>Anubhab</dc:creator><description>&lt;p&gt;Can some one let me know, what is the usual way to log in. Because whene ever I am trying to log in the same error (18456) is poping-up. I am unable to install the databases I have. I am in a need, help me.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9448630</link><pubDate>Fri, 27 Feb 2009 15:12:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9448630</guid><dc:creator>maurice</dc:creator><description>&lt;p&gt;create bullitin\administrator use in sqlserver&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9455770</link><pubDate>Tue, 03 Mar 2009 06:29:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9455770</guid><dc:creator>Robert</dc:creator><description>&lt;p&gt;i am trying to take a database into a SQL Server 2008 Express Edition installation from a SQL Server 2005 Express Edition installation. &amp;nbsp;the application that uses this database was designed for deployment with MSDE 1.0 but i have tested it to work without issue with MSDE 2000 and SQL Server 2005 Express Edition. &amp;nbsp;unfortunately with 2008 i run into the following error:&lt;/p&gt;
&lt;p&gt;2009-03-02 19:10:20.04 Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Error: 18456, Severity: 14, State: 8.&lt;/p&gt;
&lt;p&gt;2009-03-02 19:10:20.04 Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Login failed for user 'usrx'. Reason: Password did not match that for the login provided. [CLIENT: x.x.x.x] (note that it displays the right IP --&amp;gt; i just x'd it out)&lt;/p&gt;
&lt;p&gt;i know the password by heart having had to pickup supporting this product after its acquisition from a company that made no callbacks regardless of situation for months at a time. &amp;nbsp;i have manually, through the configuration utility, dropped the login/schema from the db and deleted it from the list of logins and then rebuilt through such without success. &amp;nbsp;have also done the following through a query without success:&lt;/p&gt;
&lt;p&gt;use MSDE_X exec sp_dropuser 'usrx'&lt;/p&gt;
&lt;p&gt;go&lt;/p&gt;
&lt;p&gt;use MSDE_X exec sp_droplogin 'usrx'&lt;/p&gt;
&lt;p&gt;go&lt;/p&gt;
&lt;p&gt;use MSDE_X exec sp_addlogin 'usrx', 'usrxpass', 'MSDE_X', 'english'&lt;/p&gt;
&lt;p&gt;go&lt;/p&gt;
&lt;p&gt;use MSDE_X exec sp_grantdbaccess 'usrx'&lt;/p&gt;
&lt;p&gt;go&lt;/p&gt;
&lt;p&gt;use MSDE_X exec sp_addrolemember 'db_owner', 'usrx'&lt;/p&gt;
&lt;p&gt;go&lt;/p&gt;
&lt;p&gt;can anyone tell me what i am missing? &amp;nbsp;i am testing this in a VMware install of XP w/SP3 and looking at the system with SQL Server 2005 Express Edition i can't see anything different between that setup and the 2008 setup...&lt;/p&gt;
&lt;p&gt;thanks in advance!&lt;/p&gt;
&lt;p&gt;- Robert&lt;/p&gt;
</description></item><item><title>Identifying the source of login failures (18456 errors) | Ajmer Dhariwal's SQL Server blog</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9458184</link><pubDate>Wed, 04 Mar 2009 10:59:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9458184</guid><dc:creator>Identifying the source of login failures (18456 errors) | Ajmer Dhariwal's SQL Server blog</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.eraofdata.com/blog/2009/01/loginfailures/"&gt;http://www.eraofdata.com/blog/2009/01/loginfailures/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9467959</link><pubDate>Mon, 09 Mar 2009 19:52:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9467959</guid><dc:creator>Greg</dc:creator><description>&lt;p&gt;I am running into the same Event Error 18456. I have a server 2003 in a clustered environment. I am simply trying to pull in an Excel spreadsheet using the following query:&lt;/p&gt;
&lt;p&gt;Select * from openrowset('MSDASQL','Driver={Microsoft Excel Driver (*.xls)};&lt;/p&gt;
&lt;p&gt;DriverId=790; Dbq=Template.xls;DefaultDir=S:\Configuration\;',&lt;/p&gt;
&lt;p&gt;'Select * from [Locations$]')&lt;/p&gt;
&lt;p&gt;Openrowset is enabled. &lt;/p&gt;
&lt;p&gt;User: NT Authority\Anonymous Logon&lt;/p&gt;
&lt;p&gt;Event Viewer Error: login failed for user 'nt authority anonymous logon'&lt;/p&gt;
&lt;p&gt;All rights have been assigned to the directory that the spreadsheet is in. &lt;/p&gt;
&lt;p&gt;Any suggestions?&lt;/p&gt;
</description></item><item><title>Access SQL server remotely from a PC on the network. - dBforums</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9470498</link><pubDate>Wed, 11 Mar 2009 16:42:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9470498</guid><dc:creator>Access SQL server remotely from a PC on the network. - dBforums</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.dbforums.com/microsoft-sql-server/1639404-access-sql-server-remotely-pc-network.html#post6386806"&gt;http://www.dbforums.com/microsoft-sql-server/1639404-access-sql-server-remotely-pc-network.html#post6386806&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9483169</link><pubDate>Tue, 17 Mar 2009 12:58:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9483169</guid><dc:creator>Lars</dc:creator><description>&lt;p&gt;Hi I have a customer who recive the &lt;/p&gt;
&lt;p&gt;Error: 18456, Severity: 14, State: 16. &lt;/p&gt;
&lt;p&gt;this comes for both the domain users and for the SQL SA user and a SA user we creates on his server &amp;nbsp;they all have Serveradmin premissions &lt;/p&gt;
&lt;p&gt;Any good ideas on what to look for?&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9487137</link><pubDate>Wed, 18 Mar 2009 18:28:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9487137</guid><dc:creator>Levin</dc:creator><description>&lt;p&gt;Hello,i got a state 38 error,please help!&lt;/p&gt;
&lt;p&gt;Below is the error log:&lt;/p&gt;
&lt;p&gt;2009-03-18 22:52:22.91 &lt;/p&gt;
&lt;p&gt;login &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; error: 18456，Severity: 14，state: 38。&lt;/p&gt;
&lt;p&gt;2009-03-18 22:52:22.91 &lt;/p&gt;
&lt;p&gt;login &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Login failed for user 'sa'. &lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9500913</link><pubDate>Mon, 23 Mar 2009 13:29:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9500913</guid><dc:creator>Kristoffer</dc:creator><description>&lt;p&gt;Also getting state 16 as of friday the 20th starting at 10:30am CET. Weirdly enough, afaik we didn't do anything to any account or system at that time. Have no idea what to do, it happens about twice per day and a quick restart of the sharepoint server and we're up again. The SQL is on a seperate server that's always online.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9522070</link><pubDate>Tue, 31 Mar 2009 12:13:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9522070</guid><dc:creator>Peter B.L. Rasmussen</dc:creator><description>&lt;p&gt;I have just had a case of &amp;quot;State 1 login failure&amp;quot;, that was caused by the fact that when I installed the SQL server, I was using a domain controller, but this has since been demoted so I don't use a domain controller anymore. Of course the logins that were registered as valid for maintaining the SQL server, and all other access was closed. I did an uninstall/reinstall to fix this. I should have seen this before demoting my domain controller, bud didn't, so here's a lesson to learn.&lt;/p&gt;
&lt;p&gt;This just to supply the information that this also can be a reason for the &amp;quot;State 1&amp;quot; failure.&lt;/p&gt;
&lt;p&gt;Peter&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9531848</link><pubDate>Sun, 05 Apr 2009 15:16:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9531848</guid><dc:creator>Michael  Baas</dc:creator><description>&lt;p&gt;Thanks, useful blog which helped me to move one step forward in my struggle setting up SS2005. Unfortunately I am getting &amp;quot;Error: 18456, Severity: 14, State: 5&amp;quot; - the 5 seems to indicate &amp;quot;Invalid userid&amp;quot;. I am getting this prob only when logging in through ASP.NET-application; with Mgmt Studio I can access that same db fine.&lt;/p&gt;
&lt;p&gt;SQL Server is set to use mixed authentication, the ConnectString I am using is &amp;quot;&amp;lt;add name=&amp;quot;MyConnectionString2&amp;quot; connectionString=&amp;quot;Data Source=MyServer;Database=NDFI;Initial Catalog=MyTable;Persist Security Info=False;User ID=MyAdmin;Password=MyPswd&amp;quot; providerName=&amp;quot;System.Data.SqlClient&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;I am running out of ideas here, would appreciate some help :)&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9534030</link><pubDate>Mon, 06 Apr 2009 19:38:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9534030</guid><dc:creator>Larry</dc:creator><description>&lt;p&gt;I am getting a Error: 18456, Severity: 14, State: 8 when attempting to login via Citrix but when I log in locally using the same password I am able to log in. Anyone ever experience this?&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9535381</link><pubDate>Tue, 07 Apr 2009 09:29:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9535381</guid><dc:creator>Mark Ryan</dc:creator><description>&lt;p&gt;I also encountered the Error 18456 Sev 14 State 16 on our MS Sql Server. At first i try to reset the password for my user but i have no success. But when I try again to look at the users properties having the error i found out that there is no default database assign for that user. I just assign a database and presto I can log on to my database. &lt;/p&gt;
&lt;p&gt;My Slotuion:&lt;/p&gt;
&lt;p&gt;1. Log on using sa account.&lt;/p&gt;
&lt;p&gt;2. Expand secuirity and logins.&lt;/p&gt;
&lt;p&gt;3. Right click on the user account with login problem problem and choose properties.&lt;/p&gt;
&lt;p&gt;4. On properties genral tab, you will see an drop down option for default database used for the account, choose a database for the account to used and click ok or apply then ok.&lt;/p&gt;
&lt;p&gt;5. Log off on sa account and try to log in again.&lt;/p&gt;
&lt;p&gt;That solution works for me.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9556295</link><pubDate>Mon, 20 Apr 2009 09:25:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9556295</guid><dc:creator>Parvathi</dc:creator><description>&lt;p&gt;can anybody please tell me what to do if i forget the admin password orhow to retrieve password&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9556881</link><pubDate>Mon, 20 Apr 2009 19:25:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9556881</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Hi Parvathi,&lt;/p&gt;
&lt;p&gt; &amp;nbsp;If this is SQL Server 2005 or SQL Server 2008, you can refer to this entry on Raul Garcia's blog, which details what to do if you have forgotten the SA password and have removed the built-in\Administrators group from the sysadmin server role: &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/raulga/archive/2007/07/12/disaster-recovery-what-to-do-when-the-sa-account-password-is-lost-in-sql-server-2005.aspx"&gt;http://blogs.msdn.com/raulga/archive/2007/07/12/disaster-recovery-what-to-do-when-the-sa-account-password-is-lost-in-sql-server-2005.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9560713</link><pubDate>Wed, 22 Apr 2009 02:49:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9560713</guid><dc:creator>Ali</dc:creator><description>&lt;p&gt;My server is Win2003 with MSSQL2005 and hosted a site with good trafic. 5000 uniqe visitor per day.&lt;/p&gt;
&lt;p&gt;my Event Viewer application log section is full of this error warning:&lt;/p&gt;
&lt;p&gt;Login failed for user 'sa'. [CLIENT: 127.0.0.1]&lt;/p&gt;
&lt;p&gt;Event ID: 18456&lt;/p&gt;
&lt;p&gt;My web application is working correctly. and I can use managment studio remotely or localy. with SA or with windows auth.&lt;/p&gt;
&lt;p&gt;But what is this error?&lt;/p&gt;
&lt;p&gt;Best Reg&lt;/p&gt;
&lt;p&gt;Ali&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9597492</link><pubDate>Fri, 08 May 2009 21:29:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9597492</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;I had the same problem.&lt;/p&gt;
&lt;p&gt;I have management studio installed on my desk and was building a disk cleanup maintenance plan for my sql server and would get an error as soon as I clicked 'save'. I couldn't understand why I was getting the error. Then I whent down to the data center where our server is located and I logged in to the physical server. I then created the maintenance plan there. This time I got No error! Now that I look back, it makes sense. &lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9640333</link><pubDate>Mon, 25 May 2009 13:42:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9640333</guid><dc:creator>setgraph</dc:creator><description>&lt;p&gt;If you have installed Windows SharePoint 3.0, &amp;quot;Error: 18456, Severity: 14, State: 38&amp;quot;, caused SQLSERVERAGENT does not start.&lt;/p&gt;
&lt;p&gt;Set start mode for SQL Server Agent to automatic, fix this problem.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9644577</link><pubDate>Wed, 27 May 2009 18:59:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9644577</guid><dc:creator>Ralphie</dc:creator><description>&lt;p&gt;What does category (4) in parentheses mean?&lt;/p&gt;
</description></item><item><title> SQL Protocols Understanding login failed Error 18456 error | Wood TV Stand</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9679681</link><pubDate>Mon, 01 Jun 2009 21:16:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9679681</guid><dc:creator> SQL Protocols Understanding login failed Error 18456 error | Wood TV Stand</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://woodtvstand.info/story.php?id=15529"&gt;http://woodtvstand.info/story.php?id=15529&lt;/a&gt;&lt;/p&gt;
</description></item><item><title> SQL Protocols Understanding login failed Error 18456 error | debt settlement program</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9753933</link><pubDate>Mon, 15 Jun 2009 20:07:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9753933</guid><dc:creator> SQL Protocols Understanding login failed Error 18456 error | debt settlement program</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://edebtsettlementprogram.info/story.php?id=21951"&gt;http://edebtsettlementprogram.info/story.php?id=21951&lt;/a&gt;&lt;/p&gt;
</description></item><item><title> SQL Protocols Understanding login failed Error 18456 error | fix my credit</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9764485</link><pubDate>Wed, 17 Jun 2009 05:06:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9764485</guid><dc:creator> SQL Protocols Understanding login failed Error 18456 error | fix my credit</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://fixmycrediteasily.info/story.php?id=4174"&gt;http://fixmycrediteasily.info/story.php?id=4174&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9779031</link><pubDate>Fri, 19 Jun 2009 07:23:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9779031</guid><dc:creator>angeli</dc:creator><description>&lt;p&gt;hey i m &amp;nbsp;also have the same error in the event log i m &amp;nbsp;getting Server Name: &amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;Error Number: 18456&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;Severity: 14&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;State: 1&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;Line Number: 65536&amp;quot;&lt;/p&gt;
&lt;p&gt;The following message might also be returned:&lt;/p&gt;
&lt;p&gt;&amp;quot;Msg 18456, Level 14, State 1, Server , Line 1&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;Login failed for user ''.&amp;quot;&lt;/p&gt;
&lt;p&gt;but on client side i get the error &amp;quot;datasource not defined and default driver not specified&amp;quot; using sql 2005 &amp;nbsp;workgrop on server 2003 sbs .&lt;/p&gt;
&lt;p&gt;no problem with coding cause whn i try to connect to trial sql 2005 enterprise version on xp it connects without hassles &amp;nbsp;..... &lt;/p&gt;
&lt;p&gt;email :- angelijadhwani@hotmail.com&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9798235</link><pubDate>Mon, 22 Jun 2009 23:17:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9798235</guid><dc:creator>Anil</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I was getting same error mentioned by &amp;quot;angeli&amp;quot;, when I connect to db server through SQL Management Studio. I used the technique mentioned by &amp;quot;Bertie&amp;quot;, using back arrow key while selecting to copy password from a text file and it worked perfectly OK. Great tip Bertie, thanks.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9803193</link><pubDate>Thu, 25 Jun 2009 11:53:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9803193</guid><dc:creator>Vihang Shah</dc:creator><description>&lt;p&gt;Hi all jst try this. I hope it ll solve all ur problems.&lt;/p&gt;
&lt;p&gt;-- SQL Query to Alter the [sa] login and reEnable it&lt;/p&gt;
&lt;p&gt;USE [tempdb]&lt;/p&gt;
&lt;p&gt;ALTER LOGIN [sa] WITH PASSWORD=N'123', DEFAULT_DATABASE=[master], DEFAULT_LANGUAGE=[us_english], CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF&lt;/p&gt;
&lt;p&gt;GO&lt;/p&gt;
&lt;p&gt;ALTER LOGIN [sa] ENABLE&lt;/p&gt;
&lt;p&gt;@VHNG&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9806701</link><pubDate>Sat, 27 Jun 2009 21:24:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9806701</guid><dc:creator>Ankit</dc:creator><description>&lt;p&gt;Heya!! &lt;/p&gt;
&lt;p&gt;Just Right click on microsoft SQL server Management Studio and run it as administrator.&lt;/p&gt;
&lt;p&gt;It worked for me!&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9813729</link><pubDate>Thu, 02 Jul 2009 13:42:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9813729</guid><dc:creator>Ram</dc:creator><description>&lt;p&gt;I have an ssis package writes data into sql server but gives me error Error: 18456, Severity: 14, State: 8. Logon Failed for user.&lt;/p&gt;
&lt;p&gt;The userid is valid and works fine for other packages where I read data from sql server. The same userid and pwd are used across the appln where it works completely fine.&lt;/p&gt;
&lt;p&gt;Kindly help.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9815576</link><pubDate>Fri, 03 Jul 2009 04:41:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9815576</guid><dc:creator>Ramesh Rajamohan</dc:creator><description>&lt;p&gt;Thanks SSG. Your suggestion has helped me to resolve my problem:&lt;/p&gt;
&lt;p&gt; SSG said:&lt;/p&gt;
&lt;p&gt;For State 11 errors the Domain account (Domain\WinNTlogin for example) was accessing SQL Server fine and then at some point we experienced the State 11 errors (maybe related to Mirror Failover or some other issues on the server). &amp;nbsp;I had to drop the Account from the Local Admin group and this stopped the errors occurring and then I added the account back in to the Local Admin group and errors did not return.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9854664</link><pubDate>Fri, 31 Jul 2009 23:02:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9854664</guid><dc:creator>Someyoung Guy</dc:creator><description>&lt;p&gt;So - my setup is...&lt;/p&gt;
&lt;p&gt;SCCM / IIS&lt;/p&gt;
&lt;p&gt;SQL 2005 latest SP&lt;/p&gt;
&lt;p&gt;SCCM with a remote SQL instance. &amp;nbsp;I kept getting the error &amp;quot;Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'&amp;quot;&lt;/p&gt;
&lt;p&gt;I would also try and install SCCM and ALWAYS get the error that &amp;quot;Setup failed to install SMS Provider&amp;quot;.&lt;/p&gt;
&lt;p&gt;All the sites kept telling me that it's an SPN problem but I didn't think it was and I confirmed more than once that I did have the SPN stuff in my domain.&lt;/p&gt;
&lt;p&gt;I installed: &amp;nbsp;SQL Server Management Studio Express&lt;/p&gt;
&lt;p&gt;I browsed my SQL Server install: &amp;nbsp;Security &amp;gt; Logins &amp;gt; Right click &amp;quot;New Login&amp;quot; &amp;gt; Search &amp;gt; type in &amp;quot;anonymous&amp;quot; and click &amp;quot;check names&amp;quot; &amp;gt; I had &amp;quot;Windows Authentication&amp;quot; so I left that checked.&lt;/p&gt;
&lt;p&gt;Under &amp;quot;Server Rolls&amp;quot;, I added the Anonymous Logon to the Sysadmin roll which I suspect is NOT a good thing.&lt;/p&gt;
&lt;p&gt;That let me install my Management Point instance on my SCCM server instead of having to install it on my SQL server which I tried and it still didn't work out in the end.&lt;/p&gt;
&lt;p&gt;Perhaps this is a bug? &amp;nbsp;Is this some sort of sick joke or just the way SCCM works with a remote SQL server?&lt;/p&gt;
&lt;p&gt;If I undo the Anonymous Login from the sysadmin roll I can't connect to the DB with the SCCM Manager Console. &amp;nbsp;Why when you kickoff the install of SCCM it uses an anonymous logon on the remote SQL server then bombs unless you add the anyonmous logon to the sysadmin roll on the SQL server?&lt;/p&gt;
&lt;p&gt;This just doesn't seem right...or is it?&lt;/p&gt;
&lt;p&gt;HELP!!!&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9855665</link><pubDate>Sun, 02 Aug 2009 16:01:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9855665</guid><dc:creator>Skrisa</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;the problem is in settings DB server. &lt;/p&gt;
&lt;p&gt;This settings is&amp;gt; after right login on DB server on servername (Sql Server 10. ...) and select Properties&lt;/p&gt;
&lt;p&gt;Next step&amp;gt; Click on left panel, item Security and choice requestit value on group panel with SQL Authentication&lt;/p&gt;
&lt;p&gt;.. das ist ales &amp;nbsp;:))&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9858232</link><pubDate>Wed, 05 Aug 2009 20:27:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9858232</guid><dc:creator>billiken66</dc:creator><description>&lt;p&gt;This is a VERY informative thread!&lt;/p&gt;
&lt;p&gt;I'm getting the Error: 18456, Severity: 14, State: 8., but the situation doesn't make sense. &amp;nbsp;The application that is failing to connect uses an ODBC connection. &amp;nbsp;The ODBC connection succeeds in connecting to the database. &amp;nbsp;The application returns a failure to connect, however, and we see the State: 8 error in the SQL log for that user.&lt;/p&gt;
&lt;p&gt;One possible complication: We've moved this DB from SQL 2000 to SQL 2005 and have put the compatibility level at 90. &amp;nbsp;The vendor has told us that the version of SQL Server is irrelevant to their code.&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Bob&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9883631</link><pubDate>Tue, 25 Aug 2009 16:11:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9883631</guid><dc:creator>nisha</dc:creator><description>&lt;p&gt;i m not able to connect my sql server 2005 database&lt;/p&gt;
&lt;p&gt;when i put username passoword then it show login failed.pls solve my problem&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9885670</link><pubDate>Wed, 26 Aug 2009 20:54:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9885670</guid><dc:creator>SQL Protocols</dc:creator><description>&lt;p&gt;Nisha, &lt;/p&gt;
&lt;p&gt;Your question is too general. Please follow the steps at&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx?CommentPosted=true#commentmessage"&gt;http://blogs.msdn.com/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx?CommentPosted=true#commentmessage&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;to troubleshoot and post question at:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://social.msdn.microsoft.com/forums/en-US/sqldataaccess/threads/"&gt;http://social.msdn.microsoft.com/forums/en-US/sqldataaccess/threads/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9890828</link><pubDate>Thu, 03 Sep 2009 13:09:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9890828</guid><dc:creator>Jonathan Scott</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Im getting the error&lt;/p&gt;
&lt;p&gt;Error: 18456, Severity: 14, State: 11. &lt;/p&gt;
&lt;p&gt;Now, i've read through all this and tried all the various options suggested.&lt;/p&gt;
&lt;p&gt;Essentially the I am using Windows Authentication. My user is in a functional group, which has access to the required sql server. Now, everyone else in my functional group can connect to the server without any issues, though I can not.&lt;/p&gt;
&lt;p&gt;I've asked the admin guys to remove me from the functional group, and re add me to it as suggested in one of the above comments.&lt;/p&gt;
&lt;p&gt;I've tried accessing it from a different machine, same login though, and I get the same error.&lt;/p&gt;
&lt;p&gt;Can anyone point me in the right direction? &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9891310</link><pubDate>Fri, 04 Sep 2009 13:05:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9891310</guid><dc:creator>Alexander Williamson</dc:creator><description>&lt;p&gt;Maybe this will help someone. &lt;/p&gt;
&lt;p&gt;Firstly ignore the message and go to the Error Logs (in the Log directory of your Microsoft SQL Server folder in Program Files).&lt;/p&gt;
&lt;p&gt;Open the log file up and look at the recent entries. The explanation is there.&lt;/p&gt;
&lt;p&gt;If you get something along the lines of (xxxxxxx is the username):&lt;/p&gt;
&lt;p&gt;2009-09-04 10:36:52.73 Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Error: 18456, Severity: 14, State: 58.&lt;/p&gt;
&lt;p&gt;2009-09-04 10:36:52.73 Logon &amp;nbsp; &amp;nbsp; &amp;nbsp; Login failed for user 'xxxxxxx'. Reason: An attempt to login using SQL authentication failed. Server is configured for Windows authentication only. [CLIENT: &amp;lt;local machine&amp;gt;]&lt;/p&gt;
&lt;p&gt;it means your SQL server only accepts Windows Authentication. Change it in the properties of the SQL Server Root.&lt;/p&gt;
&lt;p&gt;To do this using Microsoft SQL Server 2008 using Microsoft SQL Server Management Studio Express, log in as an administrator and right click on the server (at the root of the navigation tree) and click Properties. Go to the Security Section and change the login to SQL Server and Windows Authentication mode. Click OK and restart the service (you may need to use services.msc to restart it). Beware SQL Server is not as secure as Windows Authentication.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9892069</link><pubDate>Mon, 07 Sep 2009 07:26:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9892069</guid><dc:creator>anirudha</dc:creator><description>&lt;p&gt;i have a error 18456 how to solve it so send me answer to &lt;/p&gt;
&lt;p&gt;anirudhakumar.gupta@gmail.com&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9895437</link><pubDate>Tue, 15 Sep 2009 18:34:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9895437</guid><dc:creator>Raji</dc:creator><description>&lt;p&gt;Am getting this error &amp;quot; Error is 18456, Severity: 14, State: 8.&amp;quot; and this problem is only when i try to connect my system from a Windows2008 machine. When i try to connect to the database from a Windows2003 or a VISTA machine it seems to be fine with the SAME USERNAME and PASSWORD. I also tried a simple ODBC connection from my Windows2008 machine and it works fine. &lt;/p&gt;
&lt;p&gt;Can you suggest me what the problem is????&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9901245</link><pubDate>Wed, 30 Sep 2009 13:18:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9901245</guid><dc:creator>zahan</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;I am getting State 16 errors. The windows account is the service account and has syadmin privileges. default db is master but master is fine &lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9904139</link><pubDate>Wed, 07 Oct 2009 09:27:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9904139</guid><dc:creator>Balaji G</dc:creator><description>&lt;p&gt;I get the above mentioned error message when i try to logon to my application which connects to sql server database for checking login information. &lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9904143</link><pubDate>Wed, 07 Oct 2009 09:34:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9904143</guid><dc:creator>Balaji G</dc:creator><description>&lt;p&gt;Error message i am receiving is Error NO:-2147217843, Native Error:18456 State:42000 Description: Login failed for user 'sa'[SQL-]&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9905644</link><pubDate>Sat, 10 Oct 2009 02:04:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9905644</guid><dc:creator>Ken Almond</dc:creator><description>&lt;p&gt;I was getting Error 18456, Severity 14, state: 16 while trying to use bcp.exe &amp;nbsp; I don't really understand WHY i couldn't use [] (brackets) around the DB name in particular but that was the fix. &amp;nbsp;Here was the bad bcp.exe command:&lt;/p&gt;
&lt;p&gt; &amp;nbsp;bcp.exe [dbname].dbo.[111TabName] in c:/file.bcp -c -E -S [locahost\name] -U xx -P pp&lt;/p&gt;
&lt;p&gt;Here's the fix:&lt;/p&gt;
&lt;p&gt; &amp;nbsp;bcp.exe dbname.dbo.[111TabName] in c:/file.bcp -c -E -S localhost\name -U xx -P pp&lt;/p&gt;
&lt;p&gt;When I removed the [] brackets around the -S hostname it started getting Error 18456, Severity 14, state: 16. &amp;nbsp;Then when I removed [] brackets around the DB Name it WORKED!. &lt;/p&gt;
&lt;p&gt;The reason I used brackets is because I need them for a table name starting with digits.... &amp;nbsp;so I just added them to db name (for some reason) because I thought they were ubiqutous for TSQL syntax... &amp;nbsp;Bad assumption in this case&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9907638</link><pubDate>Thu, 15 Oct 2009 12:21:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9907638</guid><dc:creator>Fred</dc:creator><description>&lt;p&gt;I was getting the dreaded Error: 18456, Severity: 14, State: 16 as well after moving a Database from one Sql server to another. The security on the database was setup with AD groups.&lt;/p&gt;
&lt;p&gt;The strange thing was: for users in certain AD groups everything worked fine. Others could not login anymore (even though they had all necessary permissions), and we got the State: 16 error.&lt;/p&gt;
&lt;p&gt;Turned out to be caused by the fact that the new server was in a different AD domain from the users and groups. - the AD groups that didn't work anymore were &amp;quot;Domain Local&amp;quot; groups ... which can't be seen from another domain, even though there is a trust (which makes perfect sense, but you have to think about it ;-). - The solution is to change the AD groups to &amp;quot;Global&amp;quot; groups (if possible, only domain local groups can hold user accounts from both domains) and/or create groups in the other domain and setup security on the DB for those as well.&lt;/p&gt;
&lt;p&gt;Just wanted to add this possible cause as it's a different angle yet from the others already mentioned here ;-)&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9911537</link><pubDate>Thu, 22 Oct 2009 17:24:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9911537</guid><dc:creator>Adolfo</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I'm trying to connect via Management Studio to different servers, and in all cases, I get the error 18456, severity 14, state 8 error in any of the servers.&lt;/p&gt;
&lt;p&gt;I'm usign the &amp;quot;sa&amp;quot; account with its password, but I can't login to any of the servers.&lt;/p&gt;
&lt;p&gt;Now, when I run the SSMS with another domain or local user (right-click, EXECUTE AS) I have no problem whatsoever. Plus, when I try to connect via Windows authentication or with an SQL account that has a blank password, I don't have any problem.&lt;/p&gt;
&lt;p&gt;Why could this be happening?&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9914107</link><pubDate>Wed, 28 Oct 2009 15:01:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9914107</guid><dc:creator>Baduel</dc:creator><description>&lt;p&gt;Maes eso es muy facil, solo deben de de dar clic derecho en el usuario para ver las propiedades, ver el estado del usuario y cambiar a enable&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9916237</link><pubDate>Mon, 02 Nov 2009 16:46:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9916237</guid><dc:creator>Heino Lengfelder</dc:creator><description>&lt;p&gt;When starting up my Server I always received the message with error state 4, because of a service trying to connect to a database which was not started at that time.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9919764</link><pubDate>Mon, 09 Nov 2009 20:31:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9919764</guid><dc:creator>SCOTT</dc:creator><description>&lt;p&gt;start&amp;gt;run&amp;gt;&amp;quot;cliconfg&amp;quot;&amp;gt;OK&lt;/p&gt;
&lt;p&gt;Enable NamedPipes and TCP. &amp;nbsp;Set Shared Memory to 'enabled'.&lt;/p&gt;
&lt;p&gt;Worked for me.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9920451</link><pubDate>Tue, 10 Nov 2009 21:41:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9920451</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;experienced this on a 6 node cluster - each of the nodes was trying to log into the others - it was just tons of chatter between the nodes, all returning the following msg:&lt;/p&gt;
&lt;p&gt;Message&lt;/p&gt;
&lt;p&gt;Login failed for user '&amp;lt;DomainName\ClusterNode$'. [CLIENT: xx.xx.xx.xx]&lt;/p&gt;
&lt;p&gt;Error: 18456, Severity: 14, State: 11.&lt;/p&gt;
&lt;p&gt;I created a login for each node on all the others - no perms other than public to master. &amp;nbsp;Errors had been going on at least every minute for some time. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Immediately after the creation of the logins, the errors stopped.&lt;/p&gt;
&lt;p&gt;cool.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9920736</link><pubDate>Wed, 11 Nov 2009 11:16:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9920736</guid><dc:creator>Napster </dc:creator><description>&lt;p&gt;You have follow these steps : &lt;/p&gt;
&lt;p&gt;go to Management studio/enterprise manager=&amp;gt;rightclick on it go to Properties =&amp;gt; &lt;/p&gt;
&lt;p&gt;go to security =&amp;gt; Server authentication=&amp;gt; select SQL Server &amp;nbsp;and windows authentication mode.&lt;/p&gt;
&lt;p&gt;That it.&lt;/p&gt;
&lt;p&gt;hope this will work for U.&lt;/p&gt;
&lt;p&gt;cheers&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9923539</link><pubDate>Tue, 17 Nov 2009 12:37:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9923539</guid><dc:creator>Gerridae</dc:creator><description>&lt;p&gt;I keep getting the following event log error on my SQL2005 server:&lt;/p&gt;
&lt;p&gt;Event Type:	Failure Audit&lt;/p&gt;
&lt;p&gt;Event Source:	MSSQLSERVER&lt;/p&gt;
&lt;p&gt;Event Category:	(4)&lt;/p&gt;
&lt;p&gt;Event ID:	18456&lt;/p&gt;
&lt;p&gt;Date:		11/17/2009&lt;/p&gt;
&lt;p&gt;Time:		7:50:00 AM&lt;/p&gt;
&lt;p&gt;User:		N/A&lt;/p&gt;
&lt;p&gt;Computer:	SQ02&lt;/p&gt;
&lt;p&gt;Description:&lt;/p&gt;
&lt;p&gt;Login failed for user 'domain\intra_svc'. &lt;/p&gt;
&lt;p&gt;the SQL logs have these two errors repeated over and over, which correspond to the eventlog error:&lt;/p&gt;
&lt;p&gt;Date		11/17/2009 8:00:00 AM&lt;/p&gt;
&lt;p&gt;Log		SQL Server (Current - 11/17/2009 8:00:00 AM)&lt;/p&gt;
&lt;p&gt;Source		Logon&lt;/p&gt;
&lt;p&gt;Message&lt;/p&gt;
&lt;p&gt;Login failed for user 'domain\intra_svc'. [CLIENT: 10.1.30.33]&lt;/p&gt;
&lt;p&gt;Date		11/17/2009 8:00:00 AM&lt;/p&gt;
&lt;p&gt;Log		SQL Server (Current - 11/17/2009 8:00:00 AM)&lt;/p&gt;
&lt;p&gt;Source		Logon&lt;/p&gt;
&lt;p&gt;Message&lt;/p&gt;
&lt;p&gt;Error: 18456, Severity: 14, State: 6.&lt;/p&gt;
&lt;p&gt;these errors happen ever 10 minutes and correspond to the errors on our sharepoint server:&lt;/p&gt;
&lt;p&gt;Event Type:	Error&lt;/p&gt;
&lt;p&gt;Event Source:	Windows SharePoint Services 3&lt;/p&gt;
&lt;p&gt;Event Category:	Timer &lt;/p&gt;
&lt;p&gt;Event ID:	6398&lt;/p&gt;
&lt;p&gt;Date:		11/17/2009&lt;/p&gt;
&lt;p&gt;Time:		8:30:00 AM&lt;/p&gt;
&lt;p&gt;User:		N/A&lt;/p&gt;
&lt;p&gt;Computer:	WSS01&lt;/p&gt;
&lt;p&gt;Description:&lt;/p&gt;
&lt;p&gt;The Execute method of job definition Microsoft.SharePoint.Search.Administration.SPSearchJobDefinition (ID 070e9fbc-b7f1-4132-99e8-f8775f31027c) threw an exception. More information is included below.&lt;/p&gt;
&lt;p&gt;Login failed for user 'domain\intra_svc'.&lt;/p&gt;
&lt;p&gt;Event Type:	Error&lt;/p&gt;
&lt;p&gt;Event Source:	Windows SharePoint Services 3&lt;/p&gt;
&lt;p&gt;Event Category:	Database &lt;/p&gt;
&lt;p&gt;Event ID:	3351&lt;/p&gt;
&lt;p&gt;Date:		11/17/2009&lt;/p&gt;
&lt;p&gt;Time:		8:30:00 AM&lt;/p&gt;
&lt;p&gt;User:		N/A&lt;/p&gt;
&lt;p&gt;Computer:	WSS01&lt;/p&gt;
&lt;p&gt;Description:&lt;/p&gt;
&lt;p&gt;SQL database login failed. Additional error information from SQL Server is included below.&lt;/p&gt;
&lt;p&gt;Login failed for user 'domain\intra_svc'.&lt;/p&gt;
&lt;p&gt;I know it has something to do with SQL/Windows Authentication, but not really sure where. &amp;nbsp;hopefully someone can help.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9928210</link><pubDate>Tue, 24 Nov 2009 20:15:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9928210</guid><dc:creator>Junior Mayhe</dc:creator><description>&lt;p&gt;This error can be also solved with: &lt;/p&gt;
&lt;p&gt;- go to sql server&lt;/p&gt;
&lt;p&gt;- right click on server, choose properties&lt;/p&gt;
&lt;p&gt;- click on security&lt;/p&gt;
&lt;p&gt;- on server authentication, enable SQL Server authentication&lt;/p&gt;
&lt;p&gt;also enable and configure password sa user for node security on serve tree.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9928916</link><pubDate>Thu, 26 Nov 2009 02:14:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9928916</guid><dc:creator>Rick</dc:creator><description>&lt;p&gt;I get Severity: 14, State: 8 with a sprinkling of State: 5's against SQL2005 in a single domain. There are days where I don't get them at all but also days of plenty. I can see ONE error resulting from a mistyped password, but why do they keep going?&lt;/p&gt;
&lt;p&gt;Looking over some recent comments, I already have NamedPipes, TCP, and Shared Memory enabled for SQL, as well as SQL Server authentication.&lt;/p&gt;
&lt;p&gt;If &amp;quot;also enable and configure password sa user for node security on serve tree&amp;quot; means that the sa account should be enabled, ours isn't, but the errors never mention the sa account just a couple other accounts that are enabled and used.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9932268</link><pubDate>Thu, 03 Dec 2009 23:26:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9932268</guid><dc:creator>Rick</dc:creator><description>&lt;p&gt;Finally figured out that it was the DSN file we use for linking Access to SQL tables. You want to use the Windows authorization flavor, so &amp;quot;Trusted_Connection=Yes&amp;quot; should be in it along with a UID pointing to a valid username, which will happen automatically when you go into Access and recreate the DSN choosing Windows authorization this time. Yes, you'll have to relink all your tables with this new file, but it's a small price to pay. Otherwise a plague of State 5's and 8's may be upon you when people do queries.&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9933248</link><pubDate>Mon, 07 Dec 2009 02:18:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9933248</guid><dc:creator>prince1709</dc:creator><description>&lt;p&gt;This error can be also solved with: &lt;/p&gt;
&lt;p&gt;- go to sql server&lt;/p&gt;
&lt;p&gt;- right click on server, choose properties&lt;/p&gt;
&lt;p&gt;- click on security&lt;/p&gt;
&lt;p&gt;- on server authentication, enable SQL Server authentication&lt;/p&gt;
&lt;p&gt;also enable and configure password sa user for node security on serve tree.&lt;/p&gt;
&lt;p&gt;Goto SQL Server as in?&lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9935362</link><pubDate>Thu, 10 Dec 2009 21:07:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9935362</guid><dc:creator>Cris Conner</dc:creator><description>&lt;p&gt;I was getting error state 11 for a windows login. I looked at the sql server permissions and noticed that the Effective Permissions were missing ‘CONNECT SQL’ It was because the individual I was trying to add was part of a Active Directory Group that I wasn’t aware of, and that AD Group had “DENY CONNECT” The Deny took precedence over the individual login’s right to connect. I just dropped the login that had the Deny Connect. Problem solved. I also made the Domain Admins take him out of that group since the guy changed jobs. &lt;/p&gt;
</description></item><item><title>re: Understanding "login failed" (Error 18456) error messages in SQL Server 2005</title><link>http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx#9938805</link><pubDate>Fri, 18 Dec 2009 16:55:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9938805</guid><dc:creator>matt</dc:creator><description>&lt;p&gt;I just downloaded sql server express 2005, &amp;nbsp;I cannot connect to a server. &amp;nbsp;I have used the same login on two other computers with the same sql server express 2005, and it worked. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I even tried turning off the firewall and antivirus program. &amp;nbsp;Nothing works.&lt;/p&gt;
&lt;p&gt;Any help would be greatly appreciated.&lt;/p&gt;
</description></item></channel></rss>