<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Fix : Error: 18452 Login failed for user &#8216;(null)&#8217;. The user is not associated with a trusted SQL Server connection.</title>
	<atom:link href="http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Thu, 09 Feb 2012 19:36:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Ashish Jain</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-230480</link>
		<dc:creator><![CDATA[Ashish Jain]]></dc:creator>
		<pubDate>Tue, 03 Jan 2012 06:38:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-230480</guid>
		<description><![CDATA[Hello Pinal Sir,

        How r u ?

        I have one problem. I have two SQL Server, e.g. &#039;Server1&#039; and &#039;Server2&#039;. Server1 is connected with windows authentication and Server2 is connected with SQL Authentication. 

       I am trying to create LinkedServer of Server1 in Server 2. but i am unable to do it because i don&#039;t know how to create linked server of Windows authenticated Server.

       I enabled and set password of sa login of Server1. I again tried to create linked server of Server1 in Server2 by giving Server1 &#039;sa&#039; login credentials as remote login and password. but still i am getting connection failed error in linked server. When i tried to create linked server of Server 2 in Server1 following the same steps, it created successfully. I was able to run SQL command from Server2 to Server1 using Linked Server.

       I am getting error like this.

&quot;A Network related or instance specific error has occurred while establishing connection to SQL Server. (Microsoft SQL Server, Error : 65535)&quot;


Please give me the solution..]]></description>
		<content:encoded><![CDATA[<p>Hello Pinal Sir,</p>
<p>        How r u ?</p>
<p>        I have one problem. I have two SQL Server, e.g. &#8216;Server1&#8242; and &#8216;Server2&#8242;. Server1 is connected with windows authentication and Server2 is connected with SQL Authentication. </p>
<p>       I am trying to create LinkedServer of Server1 in Server 2. but i am unable to do it because i don&#8217;t know how to create linked server of Windows authenticated Server.</p>
<p>       I enabled and set password of sa login of Server1. I again tried to create linked server of Server1 in Server2 by giving Server1 &#8216;sa&#8217; login credentials as remote login and password. but still i am getting connection failed error in linked server. When i tried to create linked server of Server 2 in Server1 following the same steps, it created successfully. I was able to run SQL command from Server2 to Server1 using Linked Server.</p>
<p>       I am getting error like this.</p>
<p>&#8220;A Network related or instance specific error has occurred while establishing connection to SQL Server. (Microsoft SQL Server, Error : 65535)&#8221;</p>
<p>Please give me the solution..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ajinkya</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-208056</link>
		<dc:creator><![CDATA[ajinkya]]></dc:creator>
		<pubDate>Wed, 30 Nov 2011 16:03:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-208056</guid>
		<description><![CDATA[thank you sir for the great information... it really helped me a lot]]></description>
		<content:encoded><![CDATA[<p>thank you sir for the great information&#8230; it really helped me a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: subash</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-202384</link>
		<dc:creator><![CDATA[subash]]></dc:creator>
		<pubDate>Tue, 22 Nov 2011 19:11:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-202384</guid>
		<description><![CDATA[Hi Pinal,

My problem may not be strictly related to SQL Server, but here is my problem. I connect to SQL Server in domain using my domain account. The domain account password expires every three months. I have changed the password several times in the past without a hitch. This time around, my account gets locked out periodically. I checked all the jobs in all SQL Servers in the domain to see if any of them is using my account. I found couple of jobs running ssis packages with credentials using my account. I updated the password on them and jobs run fine. However, I keep getting locked out periodically.

I check the error longs and I find error message:
Error:18456, Severity:14 State:11

State 11 refers to &quot;valid login but server access failure&quot;.

I tried changing back the password to previous password (which was working fine) but didn&#039;t help.

I also checked if any services are running under my account, didn&#039;t find any.

I hope you can guide me on to resolve this issue.

Thanks in advance for you guidance.

--Subash]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>My problem may not be strictly related to SQL Server, but here is my problem. I connect to SQL Server in domain using my domain account. The domain account password expires every three months. I have changed the password several times in the past without a hitch. This time around, my account gets locked out periodically. I checked all the jobs in all SQL Servers in the domain to see if any of them is using my account. I found couple of jobs running ssis packages with credentials using my account. I updated the password on them and jobs run fine. However, I keep getting locked out periodically.</p>
<p>I check the error longs and I find error message:<br />
Error:18456, Severity:14 State:11</p>
<p>State 11 refers to &#8220;valid login but server access failure&#8221;.</p>
<p>I tried changing back the password to previous password (which was working fine) but didn&#8217;t help.</p>
<p>I also checked if any services are running under my account, didn&#8217;t find any.</p>
<p>I hope you can guide me on to resolve this issue.</p>
<p>Thanks in advance for you guidance.</p>
<p>&#8211;Subash</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rohit</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-177139</link>
		<dc:creator><![CDATA[rohit]]></dc:creator>
		<pubDate>Mon, 10 Oct 2011 11:23:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-177139</guid>
		<description><![CDATA[i installed sql server 2000 sp4 in windows 7 when i log in in Query analyzer a error occurred &quot;unable to connect to server  server:18452, level 16 stage 1
&quot;]]></description>
		<content:encoded><![CDATA[<p>i installed sql server 2000 sp4 in windows 7 when i log in in Query analyzer a error occurred &#8220;unable to connect to server  server:18452, level 16 stage 1<br />
&#8220;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rakesh</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-170246</link>
		<dc:creator><![CDATA[Rakesh]]></dc:creator>
		<pubDate>Wed, 21 Sep 2011 09:55:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-170246</guid>
		<description><![CDATA[Hi

If you are getting this for an AD account then try following

1) Go to windows security in the server where you get the error and then set a new password from there

2) If above doesnt work,set it back to old password,login to SQL and logoff from all places and set new password

Regards
Rakesh]]></description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>If you are getting this for an AD account then try following</p>
<p>1) Go to windows security in the server where you get the error and then set a new password from there</p>
<p>2) If above doesnt work,set it back to old password,login to SQL and logoff from all places and set new password</p>
<p>Regards<br />
Rakesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chieto</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-169317</link>
		<dc:creator><![CDATA[chieto]]></dc:creator>
		<pubDate>Sun, 18 Sep 2011 18:10:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-169317</guid>
		<description><![CDATA[hi .im using TCP/IP address to connect pc to pc remote. anyone can help?

1 pc stored the database. and .successfully connected. 

but the other pc can&#039;t connect. i got this error
 Login failed for user ‘sa’. The user is not associated with a trusted SQL Server connection. (Microsoft SQL Server, Error: 18452)]]></description>
		<content:encoded><![CDATA[<p>hi .im using TCP/IP address to connect pc to pc remote. anyone can help?</p>
<p>1 pc stored the database. and .successfully connected. </p>
<p>but the other pc can&#8217;t connect. i got this error<br />
 Login failed for user ‘sa’. The user is not associated with a trusted SQL Server connection. (Microsoft SQL Server, Error: 18452)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark N</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-164198</link>
		<dc:creator><![CDATA[Mark N]]></dc:creator>
		<pubDate>Thu, 01 Sep 2011 06:42:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-164198</guid>
		<description><![CDATA[OK, this is odd.  new replacement machine everything installed fine, local administrator account can connect fine.  PC user account can&#039;t connect and won&#039;t configure ODBC.  I can&#039;t see any issues with the account name etc,  It&#039;s a replacement machine so the account is an old one.  workgroup not domain.]]></description>
		<content:encoded><![CDATA[<p>OK, this is odd.  new replacement machine everything installed fine, local administrator account can connect fine.  PC user account can&#8217;t connect and won&#8217;t configure ODBC.  I can&#8217;t see any issues with the account name etc,  It&#8217;s a replacement machine so the account is an old one.  workgroup not domain.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: narendra</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-158762</link>
		<dc:creator><![CDATA[narendra]]></dc:creator>
		<pubDate>Thu, 18 Aug 2011 09:48:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-158762</guid>
		<description><![CDATA[hello Sir,
i read all the problem and reply  above but my problem very strange and unique .
i install sql server 2008 operation system window2003  and sql database connected to attendance software.

after installation sql server2008 running very well without any problem and login sucessfuly. but after 15 to 20 days sql server not login .

so i uninstall and again new install sql server 2008 many time but this problem comes again reaptly  after 15 to 20 days sql server not login .
please help me to solved 
Thank  you.
narendra

Error Details -------------&gt;

TITLE: Connect to Server
------------------------------

Cannot connect to SCIL-SINGACH.

------------------------------
ADDITIONAL INFORMATION:

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&amp;EvtSrc=MSSQLServer&amp;EvtID=53&amp;LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------]]></description>
		<content:encoded><![CDATA[<p>hello Sir,<br />
i read all the problem and reply  above but my problem very strange and unique .<br />
i install sql server 2008 operation system window2003  and sql database connected to attendance software.</p>
<p>after installation sql server2008 running very well without any problem and login sucessfuly. but after 15 to 20 days sql server not login .</p>
<p>so i uninstall and again new install sql server 2008 many time but this problem comes again reaptly  after 15 to 20 days sql server not login .<br />
please help me to solved<br />
Thank  you.<br />
narendra</p>
<p>Error Details &#8212;&#8212;&#8212;&#8212;-&gt;</p>
<p>TITLE: Connect to Server<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Cannot connect to SCIL-SINGACH.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
ADDITIONAL INFORMATION:</p>
<p>A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 &#8211; Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)</p>
<p>For help, click: <a href="http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&#038;EvtSrc=MSSQLServer&#038;EvtID=53&#038;LinkId=20476" rel="nofollow">http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&#038;EvtSrc=MSSQLServer&#038;EvtID=53&#038;LinkId=20476</a></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
BUTTONS:</p>
<p>OK<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ankit</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-157997</link>
		<dc:creator><![CDATA[Ankit]]></dc:creator>
		<pubDate>Wed, 17 Aug 2011 01:18:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-157997</guid>
		<description><![CDATA[Hi,
We are about to DR setup using Window Server 2003 and MSSQL 2005 SP3.
Our PRD and DR server domains are differ but they do have a trusted relationship between each other.
DB restoration is completed on DR server but I am stuck when I am applying Log shipping method to make PRD and DR server in sync.
At the point when I have to select DR as a secondary server, I am not getting my DR server name only PRD server name is there.
While if I tried the same thing on DR server (just for check) I got PRD server SID as a secondary server.

Could you please let me know how to resolve it?

Regards,
Ankit]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
We are about to DR setup using Window Server 2003 and MSSQL 2005 SP3.<br />
Our PRD and DR server domains are differ but they do have a trusted relationship between each other.<br />
DB restoration is completed on DR server but I am stuck when I am applying Log shipping method to make PRD and DR server in sync.<br />
At the point when I have to select DR as a secondary server, I am not getting my DR server name only PRD server name is there.<br />
While if I tried the same thing on DR server (just for check) I got PRD server SID as a secondary server.</p>
<p>Could you please let me know how to resolve it?</p>
<p>Regards,<br />
Ankit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KarenRS</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-153743</link>
		<dc:creator><![CDATA[KarenRS]]></dc:creator>
		<pubDate>Thu, 04 Aug 2011 16:21:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-153743</guid>
		<description><![CDATA[Hi, If you&#039;ll look for my post I think you&#039;ll find your problem similar. Try making sure your SQL is looking for the username and password your system login uses.]]></description>
		<content:encoded><![CDATA[<p>Hi, If you&#8217;ll look for my post I think you&#8217;ll find your problem similar. Try making sure your SQL is looking for the username and password your system login uses.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-153298</link>
		<dc:creator><![CDATA[Daniel]]></dc:creator>
		<pubDate>Wed, 03 Aug 2011 20:32:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-153298</guid>
		<description><![CDATA[Hi Pinal,

Thanks for this post. I have a strange problem, I&#039;m using a VB6 application to connect to a SQL Server 2005 database. I set up a DSN connection which I use in the code. It connects with no problem when the SQL Server is on the same computer. But when the database in on a remote server, it gives me the error &quot;Login failed for user &#039;&#039;. The user is not associated with a trusted SQL Server connection. 

The SQL Server has Mixed Mode enabled, and when I set up the DSN it connects ok when I put in the correct sa login and password. However, when the VB6 application tries to connect using this same DSN, it fails with that error. What could be the problem?]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>Thanks for this post. I have a strange problem, I&#8217;m using a VB6 application to connect to a SQL Server 2005 database. I set up a DSN connection which I use in the code. It connects with no problem when the SQL Server is on the same computer. But when the database in on a remote server, it gives me the error &#8220;Login failed for user &#8221;. The user is not associated with a trusted SQL Server connection. </p>
<p>The SQL Server has Mixed Mode enabled, and when I set up the DSN it connects ok when I put in the correct sa login and password. However, when the VB6 application tries to connect using this same DSN, it fails with that error. What could be the problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: praveen madupu</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-151045</link>
		<dc:creator><![CDATA[praveen madupu]]></dc:creator>
		<pubDate>Wed, 27 Jul 2011 12:56:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-151045</guid>
		<description><![CDATA[Hi pinal,

i&#039;ve installed sql server 2008 R2 on windows 2003 server successfully. Later i&#039;ve created a sql login (eg: laddu) and tried to access the sql server with the sql login created. But i&#039;m getting an error stating that &quot;Login failed to connect to sql server&quot;. i&#039;ve tried many times, but unable to success. please help me out with this problem.]]></description>
		<content:encoded><![CDATA[<p>Hi pinal,</p>
<p>i&#8217;ve installed sql server 2008 R2 on windows 2003 server successfully. Later i&#8217;ve created a sql login (eg: laddu) and tried to access the sql server with the sql login created. But i&#8217;m getting an error stating that &#8220;Login failed to connect to sql server&#8221;. i&#8217;ve tried many times, but unable to success. please help me out with this problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JF</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-146856</link>
		<dc:creator><![CDATA[JF]]></dc:creator>
		<pubDate>Fri, 08 Jul 2011 10:32:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-146856</guid>
		<description><![CDATA[I had the problem that I could log in as sa but when I tried my windows account I got that error about not being associated with a trusted connection even though my windows acount had all the necessary permissions.

Turned out that when we changed our domain server the database server had been left using the wrong DNS server IP Address and so all we had to do to fix this was change the database server&#039;s network connection to use the correct DNS server IP address for the new domain.

Hope this helps someone.]]></description>
		<content:encoded><![CDATA[<p>I had the problem that I could log in as sa but when I tried my windows account I got that error about not being associated with a trusted connection even though my windows acount had all the necessary permissions.</p>
<p>Turned out that when we changed our domain server the database server had been left using the wrong DNS server IP Address and so all we had to do to fix this was change the database server&#8217;s network connection to use the correct DNS server IP address for the new domain.</p>
<p>Hope this helps someone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karen RS</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-146191</link>
		<dc:creator><![CDATA[Karen RS]]></dc:creator>
		<pubDate>Tue, 05 Jul 2011 16:28:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-146191</guid>
		<description><![CDATA[Hi Sukh, Hi All,
The network - guru&#039;s did finally figure out at least what the problem was we were having. For those of you running on an &quot;authenticated&quot; network this may be useful:
They changed a few parameters - the ID of which I don&#039;t know - but the basic error message stayed the same.
The &quot;Fix&quot; that caused the error message to go away and everything to work was to make sure that the UserID and password with which I was signing into my computer - and thus onto the Microsoft Active Domain server - was the same as the UserID and password entered into the Sql2008 database server. 

From what I can understand - I was signing into the AD server and the AD server was signing me in to the SQL server - but it was giving the SQL server my ACTIVE DOMAIN UserID and Password. As soon as the UserID and password being provided to the SQL server matched the UserID and password it was expecting - then it knew me and let me in.

Hope that help someone - 
Regards, 
Karen RS
Calit2 at UCSD]]></description>
		<content:encoded><![CDATA[<p>Hi Sukh, Hi All,<br />
The network &#8211; guru&#8217;s did finally figure out at least what the problem was we were having. For those of you running on an &#8220;authenticated&#8221; network this may be useful:<br />
They changed a few parameters &#8211; the ID of which I don&#8217;t know &#8211; but the basic error message stayed the same.<br />
The &#8220;Fix&#8221; that caused the error message to go away and everything to work was to make sure that the UserID and password with which I was signing into my computer &#8211; and thus onto the Microsoft Active Domain server &#8211; was the same as the UserID and password entered into the Sql2008 database server. </p>
<p>From what I can understand &#8211; I was signing into the AD server and the AD server was signing me in to the SQL server &#8211; but it was giving the SQL server my ACTIVE DOMAIN UserID and Password. As soon as the UserID and password being provided to the SQL server matched the UserID and password it was expecting &#8211; then it knew me and let me in.</p>
<p>Hope that help someone &#8211;<br />
Regards,<br />
Karen RS<br />
Calit2 at UCSD</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sankar Lingam</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-145231</link>
		<dc:creator><![CDATA[Sankar Lingam]]></dc:creator>
		<pubDate>Sat, 02 Jul 2011 06:25:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-145231</guid>
		<description><![CDATA[I&#039;m Sankar working in a software company,_____
I&#039;m having the error while running the below query in sql 2000

SELECT a.*
FROM OPENROWSET(&#039;SQLOLEDB&#039;,&#039;jil1&#039;; &#039;sa&#039;; &#039;&#039;,&#039;SELECT * FROM whmmaindb.dbo.temptag&#039;) AS a

I used this for inserting data from one database to another ,But i got the error

Server: Msg 18452, Level 14, State 1, Line 1
Login failed for user &#039;sa&#039;. Reason: Not associated with a trusted SQL Server connection.

please help me,....!]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m Sankar working in a software company,_____<br />
I&#8217;m having the error while running the below query in sql 2000</p>
<p>SELECT a.*<br />
FROM OPENROWSET(&#8216;SQLOLEDB&#8217;,'jil1&#8242;; &#8216;sa&#8217;; &#8221;,&#8217;SELECT * FROM whmmaindb.dbo.temptag&#8217;) AS a</p>
<p>I used this for inserting data from one database to another ,But i got the error</p>
<p>Server: Msg 18452, Level 14, State 1, Line 1<br />
Login failed for user &#8216;sa&#8217;. Reason: Not associated with a trusted SQL Server connection.</p>
<p>please help me,&#8230;.!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nez</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-140860</link>
		<dc:creator><![CDATA[nez]]></dc:creator>
		<pubDate>Tue, 14 Jun 2011 09:32:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-140860</guid>
		<description><![CDATA[I jst finished installing sql 2005 and m not able to long in for the first time. it gives me erro 26-]]></description>
		<content:encoded><![CDATA[<p>I jst finished installing sql 2005 and m not able to long in for the first time. it gives me erro 26-</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sukh</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-138467</link>
		<dc:creator><![CDATA[Sukh]]></dc:creator>
		<pubDate>Thu, 02 Jun 2011 20:10:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-138467</guid>
		<description><![CDATA[Imran, We have only one database SQL2008r2 and the log off is from OS not the application.

User connect through the application with window authentication.

Please tell me if you have any question. I am tired of this error.

Thanks]]></description>
		<content:encoded><![CDATA[<p>Imran, We have only one database SQL2008r2 and the log off is from OS not the application.</p>
<p>User connect through the application with window authentication.</p>
<p>Please tell me if you have any question. I am tired of this error.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sukh</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-138414</link>
		<dc:creator><![CDATA[Sukh]]></dc:creator>
		<pubDate>Thu, 02 Jun 2011 13:11:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-138414</guid>
		<description><![CDATA[Imran,  We have only one database SQL2008r2 and the log off is from OS not the application.

User connect through the application with window authentication.

Please tell me if you have any question. I am tired of this error.

Thanks]]></description>
		<content:encoded><![CDATA[<p>Imran,  We have only one database SQL2008r2 and the log off is from OS not the application.</p>
<p>User connect through the application with window authentication.</p>
<p>Please tell me if you have any question. I am tired of this error.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran Mohammed</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-138278</link>
		<dc:creator><![CDATA[Imran Mohammed]]></dc:creator>
		<pubDate>Thu, 02 Jun 2011 01:04:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-138278</guid>
		<description><![CDATA[@ Sukh, 

You said, you have two databases one on SQL Server 2008 R2 and other on SQL Server 2008, is that right.

And you mentioned, When Users Log Off, then their login works, Can you tell me which Log off you are referring to, OS Log off or Application Log off. 

Do Users connect to database directly using SSMS or through an Application, Does that Application uses Windows Authentication or SQL Authentication. 

Please provide more details. And Please be clear... Your explanation is bit confusing.

~ IM.]]></description>
		<content:encoded><![CDATA[<p>@ Sukh, </p>
<p>You said, you have two databases one on SQL Server 2008 R2 and other on SQL Server 2008, is that right.</p>
<p>And you mentioned, When Users Log Off, then their login works, Can you tell me which Log off you are referring to, OS Log off or Application Log off. </p>
<p>Do Users connect to database directly using SSMS or through an Application, Does that Application uses Windows Authentication or SQL Authentication. </p>
<p>Please provide more details. And Please be clear&#8230; Your explanation is bit confusing.</p>
<p>~ IM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sukh</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-138202</link>
		<dc:creator><![CDATA[Sukh]]></dc:creator>
		<pubDate>Wed, 01 Jun 2011 14:12:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-138202</guid>
		<description><![CDATA[Hi Imran, I have checked it and we assign 0 for unlimited  connections.

Other thing is we are using window authentication for sql2008r2 and we have an application running which uses sql2008 as a backend .

All the user are domain user using the domain account. It works fine with some users but some user have an issue Error 18452(Untrusted Domain connection).If you log off and Log back in , it starts working fine.

Please advise]]></description>
		<content:encoded><![CDATA[<p>Hi Imran, I have checked it and we assign 0 for unlimited  connections.</p>
<p>Other thing is we are using window authentication for sql2008r2 and we have an application running which uses sql2008 as a backend .</p>
<p>All the user are domain user using the domain account. It works fine with some users but some user have an issue Error 18452(Untrusted Domain connection).If you log off and Log back in , it starts working fine.</p>
<p>Please advise</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran Mohammed</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-138103</link>
		<dc:creator><![CDATA[Imran Mohammed]]></dc:creator>
		<pubDate>Wed, 01 Jun 2011 02:58:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-138103</guid>
		<description><![CDATA[@ Sukh

Can you provide more details.

I am not sure why is it happening, but did you check, what is the value set for Maximum No of Concurrent connections at Server Level ?

You can check this, Right Click Server Name in SSMS, Select Properties, Go to Connections tab.

Other scenario could be, if you have used that windows Login to run any service, and you recently changed password for that Windows Account but for got to change password at the service logon. Then for every 5 attempts of the service, the Windows Account will be locked because of incorrect password attempt made by the service. And as per Windows Policy Set, Windows Account are reset after some times, (most of the times this will be 30 minutes). 

Try checking if you have used this windows Account in any of the service, if you did then change the password at the service logon to new password of windows account. Checking Event Viewer could give you more information.

~ IM.]]></description>
		<content:encoded><![CDATA[<p>@ Sukh</p>
<p>Can you provide more details.</p>
<p>I am not sure why is it happening, but did you check, what is the value set for Maximum No of Concurrent connections at Server Level ?</p>
<p>You can check this, Right Click Server Name in SSMS, Select Properties, Go to Connections tab.</p>
<p>Other scenario could be, if you have used that windows Login to run any service, and you recently changed password for that Windows Account but for got to change password at the service logon. Then for every 5 attempts of the service, the Windows Account will be locked because of incorrect password attempt made by the service. And as per Windows Policy Set, Windows Account are reset after some times, (most of the times this will be 30 minutes). </p>
<p>Try checking if you have used this windows Account in any of the service, if you did then change the password at the service logon to new password of windows account. Checking Event Viewer could give you more information.</p>
<p>~ IM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sukh</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-138006</link>
		<dc:creator><![CDATA[Sukh]]></dc:creator>
		<pubDate>Tue, 31 May 2011 15:50:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-138006</guid>
		<description><![CDATA[No karan, I am still having the same issue.

I tried many things  so far didn;t work.

Please let me know if you find a solution.

Thanks]]></description>
		<content:encoded><![CDATA[<p>No karan, I am still having the same issue.</p>
<p>I tried many things  so far didn;t work.</p>
<p>Please let me know if you find a solution.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karen RS</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-138002</link>
		<dc:creator><![CDATA[Karen RS]]></dc:creator>
		<pubDate>Tue, 31 May 2011 15:37:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-138002</guid>
		<description><![CDATA[Hi Sukh,
We are having the same issue here at work in a very similar situation. Were you ever able to resolve the issue? Thanks.
-Karen
UCSD]]></description>
		<content:encoded><![CDATA[<p>Hi Sukh,<br />
We are having the same issue here at work in a very similar situation. Were you ever able to resolve the issue? Thanks.<br />
-Karen<br />
UCSD</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sukh</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-133623</link>
		<dc:creator><![CDATA[Sukh]]></dc:creator>
		<pubDate>Mon, 09 May 2011 15:13:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-133623</guid>
		<description><![CDATA[Hi,

We are having Application running on Local machine and  

database  Sql2008R2 with Windows authentication. One 

domain user having issue/ gets untrusted user sql 

connection  error manytimes and it works fine for somtime 

when you log off and log back In.

Error details.    Error 18452 (not associated 

with a trusted sql server connection) sql 28000

Please advise.]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>We are having Application running on Local machine and  </p>
<p>database  Sql2008R2 with Windows authentication. One </p>
<p>domain user having issue/ gets untrusted user sql </p>
<p>connection  error manytimes and it works fine for somtime </p>
<p>when you log off and log back In.</p>
<p>Error details.    Error 18452 (not associated </p>
<p>with a trusted sql server connection) sql 28000</p>
<p>Please advise.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: deepak</title>
		<link>http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-129766</link>
		<dc:creator><![CDATA[deepak]]></dc:creator>
		<pubDate>Mon, 18 Apr 2011 17:39:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/14/fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/#comment-129766</guid>
		<description><![CDATA[May database is get connected for the graph but doesent availabel for manipulation]]></description>
		<content:encoded><![CDATA[<p>May database is get connected for the graph but doesent availabel for manipulation</p>
]]></content:encoded>
	</item>
</channel>
</rss>

