<?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>“Cannot generate SSPI context” error message, when connect to local SQL Server outside domain</title><link>http://blogs.msdn.com/b/sql_protocols/archive/2005/10/19/482782.aspx</link><description>The “Cannot generate SSPI context” issue is described by http://support.microsoft.com/?id=811889 in general. In this post I will discuss one daunting case of “Cannot generate SSPI context” error message when failing to connect to SQL server. In most related</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: “Cannot generate SSPI context” error message, when connect to local SQL Server outside domain</title><link>http://blogs.msdn.com/b/sql_protocols/archive/2005/10/19/482782.aspx#10335481</link><pubDate>Wed, 01 Aug 2012 05:40:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10335481</guid><dc:creator>justin</dc:creator><description>&lt;p&gt;that was awesome. I ve been searching for 2 hours till I got this article , which fixed my issue in a minute. Hats off to you. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10335481" width="1" height="1"&gt;</description></item><item><title>re: “Cannot generate SSPI context” error message, when connect to local SQL Server outside domain</title><link>http://blogs.msdn.com/b/sql_protocols/archive/2005/10/19/482782.aspx#10293380</link><pubDate>Thu, 12 Apr 2012 22:46:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10293380</guid><dc:creator>Marnee</dc:creator><description>&lt;p&gt;What do you do when none of the followings are true?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10293380" width="1" height="1"&gt;</description></item><item><title>re: “Cannot generate SSPI context” error message, when connect to local SQL Server outside domain</title><link>http://blogs.msdn.com/b/sql_protocols/archive/2005/10/19/482782.aspx#10268918</link><pubDate>Fri, 17 Feb 2012 06:19:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10268918</guid><dc:creator>Sanjay</dc:creator><description>&lt;p&gt;I received this error&lt;/p&gt;
&lt;p&gt;and solved by restarting &amp;quot;DNS Client&amp;quot; service from services.msc&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10268918" width="1" height="1"&gt;</description></item><item><title>re: “Cannot generate SSPI context” error message, when connect to local SQL Server outside domain</title><link>http://blogs.msdn.com/b/sql_protocols/archive/2005/10/19/482782.aspx#10112100</link><pubDate>Wed, 05 Jan 2011 17:24:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10112100</guid><dc:creator>Dean</dc:creator><description>&lt;p&gt;Thanks for your post Nan Tu - not only was it helpful but very interesting and informative&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10112100" width="1" height="1"&gt;</description></item><item><title>re: “Cannot generate SSPI context” error message, when connect to local SQL Server outside domain</title><link>http://blogs.msdn.com/b/sql_protocols/archive/2005/10/19/482782.aspx#10101855</link><pubDate>Wed, 08 Dec 2010 07:36:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10101855</guid><dc:creator>Pietjegates</dc:creator><description>&lt;p&gt;I received this error because the password of the &amp;quot;functional user account&amp;quot; running my webservice was expired. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10101855" width="1" height="1"&gt;</description></item><item><title>re: “Cannot generate SSPI context” error message, when connect to local SQL Server outside domain</title><link>http://blogs.msdn.com/b/sql_protocols/archive/2005/10/19/482782.aspx#10059003</link><pubDate>Tue, 07 Sep 2010 19:58:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10059003</guid><dc:creator>Jay Converse</dc:creator><description>&lt;p&gt;Bless you! &amp;nbsp;I&amp;#39;m the classic laptop software professional, with a domain in the office, and no domain at home. &amp;nbsp;Changing my code from my laptop&amp;#39;s name to 127.0.0.1 was the trick.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10059003" width="1" height="1"&gt;</description></item><item><title>re: “Cannot generate SSPI context” error message, when connect to local SQL Server outside domain</title><link>http://blogs.msdn.com/b/sql_protocols/archive/2005/10/19/482782.aspx#10042870</link><pubDate>Tue, 27 Jul 2010 06:38:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10042870</guid><dc:creator>Mohammed</dc:creator><description>&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;im facing problem cannot generate sspi context &amp;nbsp;after some time the application is open. &amp;nbsp;once i logged off and login again, im able to connect for some duration, again it will raise the same error message. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please guide me on this&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10042870" width="1" height="1"&gt;</description></item><item><title>re: “Cannot generate SSPI context” error message, when connect to local SQL Server outside domain</title><link>http://blogs.msdn.com/b/sql_protocols/archive/2005/10/19/482782.aspx#9992304</link><pubDate>Thu, 08 Apr 2010 08:51:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9992304</guid><dc:creator>jpedroalmeida</dc:creator><description>&lt;p&gt;I there, &lt;/p&gt;
&lt;p&gt;I have just experienced this error and the problem was in the server where SQL Server instance was running because the time in Operating System was not correct and assincronous from the Active Directory server time. The error was solved fixing the time in the operating system where SQL Server was running.&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9992304" width="1" height="1"&gt;</description></item><item><title>re: “Cannot generate SSPI context” error message, when connect to local SQL Server outside domain</title><link>http://blogs.msdn.com/b/sql_protocols/archive/2005/10/19/482782.aspx#9965393</link><pubDate>Wed, 17 Feb 2010 23:05:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9965393</guid><dc:creator>Satyen</dc:creator><description>&lt;p&gt;Superb , it helped me solved my problem in Biztalk&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9965393" width="1" height="1"&gt;</description></item><item><title>re: “Cannot generate SSPI context” error message, when connect to local SQL Server outside domain</title><link>http://blogs.msdn.com/b/sql_protocols/archive/2005/10/19/482782.aspx#9943811</link><pubDate>Tue, 05 Jan 2010 09:28:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9943811</guid><dc:creator>Mr. Andersen</dc:creator><description>&lt;p&gt;I just experienced this error again, on a computer that is a member of a domain, but where the computer is disconnected from the network. &lt;/p&gt;
&lt;p&gt;The error occurs not only when using the TCP/IP protocol, but also when using Shared Memory (I tried disabling all other client protocols and also all other server protocols).&lt;/p&gt;
&lt;p&gt;The error I get, when trying to use the osql.exe utility, to connect to the server, looks like this:&lt;/p&gt;
&lt;p&gt;[SQL Server Native Client 10.0]SQL Server Network Interfaces: The Local&lt;/p&gt;
&lt;p&gt;Security Authority cannot be contacted&lt;/p&gt;
&lt;p&gt;[SQL Server Native Client 10.0]Cannot generate SSPI context&lt;/p&gt;
&lt;p&gt;The computer has a loopback interface which allows it to still use TCP/IP, but doesn't allow it to connect to anything.&lt;/p&gt;
&lt;p&gt;The only workaround that has worked on this computer has been to enable the TCP/IP protocol again and connect to 127.0.0.1/InstanceName instead of using .\InstanceName or ComputerName\InstanceName.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9943811" width="1" height="1"&gt;</description></item></channel></rss>