<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The UC Corner &#187; SQL</title>
	<atom:link href="http://www.uccorner.com/category/sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.uccorner.com</link>
	<description>Unified Communications: Sharepoint, OCS, mobile communications and collaboration.</description>
	<lastBuildDate>Fri, 15 Jul 2011 09:31:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>KDC_ERR_S_PRINCIPAL_UNKNOWN</title>
		<link>http://www.uccorner.com/242/sharepoint/kdc_err_s_principal_unknown/</link>
		<comments>http://www.uccorner.com/242/sharepoint/kdc_err_s_principal_unknown/#comments</comments>
		<pubDate>Wed, 13 Apr 2011 14:27:39 +0000</pubDate>
		<dc:creator>Audun M. Solheim</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[kerberos]]></category>

		<guid isPermaLink="false">http://www.uccorner.com/?p=242</guid>
		<description><![CDATA[<p>I got this error in the event log on a fresh Sharepoint Server 2010 February Cumulative Update installation:</p> A Kerberos Error Message was received: on logon session Client Time: Server Time: 17:6:26.0000 4/2/2011 Z Error Code: 0x7 KDC_ERR_S_PRINCIPAL_UNKNOWN Extended Error: 0xc0000035 KLIN(0) Client Realm: Client Name: Server Realm: DOMAIN.LOCAL Server Name: MSSQLSvc/sqlserver.domain.local:1433 Target Name: MSSQLSvc/sqlserver.domain.local:1433@DOMAIN.LOCAL [...]]]></description>
			<content:encoded><![CDATA[<p>I got this error in the event log on a fresh Sharepoint Server 2010 February Cumulative Update installation:</p>
<pre>A Kerberos Error Message was received:
 on logon session
 Client Time:
 Server Time: 17:6:26.0000 4/2/2011 Z
 Error Code: 0x7 KDC_ERR_S_PRINCIPAL_UNKNOWN
 Extended Error: 0xc0000035 KLIN(0)
 Client Realm:
 Client Name:
 Server Realm: DOMAIN.LOCAL
 Server Name: MSSQLSvc/sqlserver.domain.local:1433
 Target Name: MSSQLSvc/sqlserver.domain.local:1433@DOMAIN.LOCAL
 Error Text:
 File: 9
 Line: f09
 Error Data is in record data.</pre>
<p>Solution:</p>
<p><span id="more-242"></span>The error is due to a dual SPN entry. I found this with</p>
<pre>ldifde -f dump_spn.txt -d "dc=domain,dc=local" -p subtree -r "(servicePrincipalName=MSSQLSvc/sharepointsql*)" -l servicePrincipalName</pre>
<p>I found that another account in addition to the SQL Server Service account had registered a SPN.</p>
<p>This was removed with adsiedit.msc: Navigate to the correct OU/User, and remove the servicePrinicpalName entry.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uccorner.com/242/sharepoint/kdc_err_s_principal_unknown/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restarting http.sys on Reporting Services server</title>
		<link>http://www.uccorner.com/124/sql/restarting-http-sys-on-reporting-services-server/</link>
		<comments>http://www.uccorner.com/124/sql/restarting-http-sys-on-reporting-services-server/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 13:31:31 +0000</pubDate>
		<dc:creator>Audun M. Solheim</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[2008 r2]]></category>
		<category><![CDATA[http.sys]]></category>
		<category><![CDATA[reporting server]]></category>

		<guid isPermaLink="false">http://www.uccorner.com/?p=124</guid>
		<description><![CDATA[<p>I recently had to restart the http service on a server to get some configuation changes active without having to restart the server. This was a Windows Server 2008 R2 server with SQL 2008 and Reporting Services installed. This server has not IIS installed, but is using http.sys to deliver the web pages in Reporting [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had to restart the http service on a server to get some configuation changes active without having to restart the server. This was a Windows Server 2008 R2 server with SQL 2008 and Reporting Services installed. This server has not IIS installed, but is using http.sys to deliver the web pages in Reporting Services.</p>
<p>Anyway, when restarting the http service with</p>
<pre>net stop http</pre>
<p>I got error message &#8220;The http service could not be stopped.&#8221;  Trying net stop http or net start http only gave error message &#8220;The service is starting or stopping. Please try again later.&#8221;</p>
<p>I couldn&#8217;t find any related process to kill, and was thinking I had to restart the server.</p>
<p>Solution</p>
<p>Just to try it, I stopped the SQL Server Reporting Services Service, and voilá! I could stop the http service.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.uccorner.com/124/sql/restarting-http-sys-on-reporting-services-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

