<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblogcasts.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Steven White&amp;#39;s SQL Server Blog.</title><subtitle type="html" /><id>http://sqlblogcasts.com/blogs/stevenwhite/atom.aspx</id><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/stevenwhite/default.aspx" /><link rel="self" type="application/atom+xml" href="http://sqlblogcasts.com/blogs/stevenwhite/atom.aspx" /><generator uri="http://communityserver.org" version="3.1.20917.1142">Community Server</generator><updated>2006-04-20T11:18:00Z</updated><entry><title>Microsoft Security Bulletin Advance Notification for June 2011</title><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/stevenwhite/archive/2011/06/09/microsoft-security-bulletin-advance-notification-for-june-2011.aspx" /><id>http://sqlblogcasts.com/blogs/stevenwhite/archive/2011/06/09/microsoft-security-bulletin-advance-notification-for-june-2011.aspx</id><published>2011-06-09T18:57:00Z</published><updated>2011-06-09T18:57:00Z</updated><content type="html">&lt;p&gt;&lt;font face="Calibri"&gt;I&amp;#39;ve just read the advanced notification for June and noticed Bulletin 15 which lists SQL 2005, 2008 and 2008r2 as affected software.&lt;br /&gt;The patch is due out on the June 14.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;span style="font-size:11pt;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-GB;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=15696" width="1" height="1"&gt;</content><author><name>StevenWhite</name><uri>http://sqlblogcasts.com/members/StevenWhite.aspx</uri></author><category term="SQL Server 2008" scheme="http://sqlblogcasts.com/blogs/stevenwhite/archive/tags/SQL+Server+2008/default.aspx" /><category term="SQL Server 2005" scheme="http://sqlblogcasts.com/blogs/stevenwhite/archive/tags/SQL+Server+2005/default.aspx" /><category term="Security" scheme="http://sqlblogcasts.com/blogs/stevenwhite/archive/tags/Security/default.aspx" /></entry><entry><title>MS09-062 Time to start testing sql 2005</title><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/stevenwhite/archive/2009/10/13/ms09-062-time-to-start-testing-sql-2005.aspx" /><id>http://sqlblogcasts.com/blogs/stevenwhite/archive/2009/10/13/ms09-062-time-to-start-testing-sql-2005.aspx</id><published>2009-10-13T17:07:00Z</published><updated>2009-10-13T17:07:00Z</updated><content type="html">&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As mentioned last week. Microsoft have released a new security patch for SQL Server 2005 today.&lt;br /&gt;From a quick glance the versions are as follows&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Service pack 2&amp;nbsp;GDR release is version 9.00.3080.00 with the SP2 QFE release being 9.00.3353.00&lt;br /&gt;&amp;nbsp;Service pack 3 GDR release is version 9.00.4053.00 with the SP3 QFE release being 9.00.4262.00&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.microsoft.com/technet/security/bulletin/ms09-062.mspx"&gt;http://www.microsoft.com/technet/security/bulletin/ms09-062.mspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Also in this bulletin are patches for SQL 2000 reporting services, Visual Studio 2003, 2005 &amp;amp; 2008 plus a range of other software.&lt;/p&gt;&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=12415" width="1" height="1"&gt;</content><author><name>StevenWhite</name><uri>http://sqlblogcasts.com/members/StevenWhite.aspx</uri></author><category term="SQL Server 2005" scheme="http://sqlblogcasts.com/blogs/stevenwhite/archive/tags/SQL+Server+2005/default.aspx" /><category term="Security" scheme="http://sqlblogcasts.com/blogs/stevenwhite/archive/tags/Security/default.aspx" /></entry><entry><title>Patch time yet again</title><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/stevenwhite/archive/2009/10/09/patch-time-yet-again.aspx" /><id>http://sqlblogcasts.com/blogs/stevenwhite/archive/2009/10/09/patch-time-yet-again.aspx</id><published>2009-10-09T09:19:00Z</published><updated>2009-10-09T09:19:00Z</updated><content type="html">&lt;p&gt;I&amp;#39;ve just read October&amp;#39;s security bulletin advance notification, and sql server 2005 is listed under bulletin 13.&lt;br /&gt;So look forward for a patch next week.&lt;/p&gt;
&lt;p&gt;Note: &amp;#39;SQL Server 2000 Reporting Services Service Pack 2&amp;#39; is also listed&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.microsoft.com/technet/security/Bulletin/MS09-oct.mspx"&gt;http://www.microsoft.com/technet/security/Bulletin/MS09-oct.mspx&lt;/a&gt;&lt;/p&gt;&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=12392" width="1" height="1"&gt;</content><author><name>StevenWhite</name><uri>http://sqlblogcasts.com/members/StevenWhite.aspx</uri></author><category term="SQL Server 2005" scheme="http://sqlblogcasts.com/blogs/stevenwhite/archive/tags/SQL+Server+2005/default.aspx" /><category term="Security" scheme="http://sqlblogcasts.com/blogs/stevenwhite/archive/tags/Security/default.aspx" /></entry><entry><title>Setting the Service Principal Name (SPN)</title><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/stevenwhite/archive/2009/08/06/setting-the-service-principal-name-spn.aspx" /><id>http://sqlblogcasts.com/blogs/stevenwhite/archive/2009/08/06/setting-the-service-principal-name-spn.aspx</id><published>2009-08-06T13:16:00Z</published><updated>2009-08-06T13:16:00Z</updated><content type="html">&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;I&amp;#39;ve noticed that there are various posts and articles on setting the SPN for sql server.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 10pt;"&gt;&lt;font face="Calibri" size="3"&gt;Setting the SPN this will firstly allow client connections using Kerberos, and secondly get rid of this error in the sql errorlog.&lt;/font&gt;&lt;/p&gt;&lt;i style="mso-bidi-font-style:normal;"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;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;/font&gt;&lt;/font&gt;&lt;/i&gt; 
&lt;p&gt;&lt;font face="Calibri" size="3"&gt;Most articles suggest adding the SPN manually using the SETSPN tool &lt;br /&gt;e.g.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 10pt 36pt;"&gt;&lt;font face="Calibri" size="3"&gt;SETSPN -A MSSQLSvc/&amp;lt;SQL Server Name&amp;gt; &amp;lt;service account&amp;gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 10pt 36pt;"&gt;&lt;font face="Calibri" size="3"&gt;SETSPN -A MSSQLSvc/&amp;lt;SQL Server Name&amp;gt;:&amp;lt;port&amp;gt; &amp;lt; service account&amp;gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 10pt 36pt;"&gt;&lt;font face="Calibri" size="3"&gt;SETSPN -A MSSQLSvc/&amp;lt;Fully Qualified SQL Server Name&amp;gt; &amp;lt; service account&amp;gt;&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 10pt 36pt;"&gt;&lt;font face="Calibri" size="3"&gt;SETSPN -A MSSQLSvc/&amp;lt;Fully Qualified SQL Server Name&amp;gt;:&amp;lt;port&amp;gt; &amp;lt; service account&amp;gt;&lt;/font&gt;&lt;/p&gt;&lt;font face="Calibri" size="3"&gt;However another method is documented in the Microsoft support article &lt;/font&gt;&lt;span style="FONT-SIZE:8.5pt;COLOR:black;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;a href="http://support.microsoft.com/kb/811889"&gt;&lt;font color="#800080"&gt;KB811889&lt;/font&gt;&lt;/a&gt;.&lt;br /&gt;&lt;/span&gt;&lt;span style="COLOR:black;"&gt;&lt;font face="Calibri" size="3"&gt;This article explains how to configure the SQL Server service to crate the SPN dynamically by granting the service account the “Read servicePrincipalName” and “Write servicePrincipalName”&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:8.5pt;COLOR:black;LINE-HEIGHT:115%;"&gt;&lt;/span&gt; rights in AD. 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=12052" width="1" height="1"&gt;</content><author><name>StevenWhite</name><uri>http://sqlblogcasts.com/members/StevenWhite.aspx</uri></author><category term="SQL Server" scheme="http://sqlblogcasts.com/blogs/stevenwhite/archive/tags/SQL+Server/default.aspx" /></entry><entry><title>Disk Partition Alignment Best Practices for SQL Server</title><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/stevenwhite/archive/2009/06/26/disk-partition-alignment-best-practices-for-sql-server.aspx" /><id>http://sqlblogcasts.com/blogs/stevenwhite/archive/2009/06/26/disk-partition-alignment-best-practices-for-sql-server.aspx</id><published>2009-06-26T14:57:00Z</published><updated>2009-06-26T14:57:00Z</updated><content type="html">&lt;p&gt;&amp;nbsp;Just noticed that there is a MS new paper on Disk Partition Alignment.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=5b343389-f7c9-43d0-9892-ddcf55890529"&gt;http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=5b343389-f7c9-43d0-9892-ddcf55890529&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Happy weekend reading&lt;/p&gt;&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=11916" width="1" height="1"&gt;</content><author><name>StevenWhite</name><uri>http://sqlblogcasts.com/members/StevenWhite.aspx</uri></author><category term="SQL Server 2008" scheme="http://sqlblogcasts.com/blogs/stevenwhite/archive/tags/SQL+Server+2008/default.aspx" /></entry><entry><title>MSSQL 2008 SP1 Install - Server is in script upgrade mode. Only administrator can connect at this time</title><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/stevenwhite/archive/2009/06/25/mssql-2008-sp1-install-server-is-in-script-upgrade-mode-only-administrator-can-connect-at-this-time.aspx" /><id>http://sqlblogcasts.com/blogs/stevenwhite/archive/2009/06/25/mssql-2008-sp1-install-server-is-in-script-upgrade-mode-only-administrator-can-connect-at-this-time.aspx</id><published>2009-06-25T11:40:00Z</published><updated>2009-06-25T11:40:00Z</updated><content type="html">&lt;p&gt;After taking the usual database backups etc. I went to install SP1 on&amp;nbsp;a SQL 2008 server (RTM)&lt;br /&gt;following the normal routine of stopping the sql server services and firing up the service pack install.&lt;/p&gt;
&lt;p&gt;All went fine, and the service pack finished. Anyway I rebooted the server to check everything was clean on startup.&lt;/p&gt;
&lt;p&gt;When the server came back&amp;nbsp;I checked the eventlog, and that the services started fine etc.&lt;br /&gt;Next&amp;nbsp;I used management studio to connect to the server only to get the message&lt;br /&gt;&amp;#39;&lt;em&gt;Server is in script upgrade mode. Only administrator can connect at this time.&lt;/em&gt;&amp;#39;&lt;/p&gt;
&lt;p&gt;Firstly I checked the sql log file and the event log - nothing to say why.&lt;br /&gt;Hence while I searched the web for this message and found a MS connect article&lt;/p&gt;
&lt;p&gt;&lt;a href="http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=416860"&gt;http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=416860&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It turns out that the upgrade scripts run on the first startup, hence the message.&lt;br /&gt;Once the scripts have completed (which took a while), evertthing was sorted and normal access restored.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=11909" width="1" height="1"&gt;</content><author><name>StevenWhite</name><uri>http://sqlblogcasts.com/members/StevenWhite.aspx</uri></author><category term="SQL Server 2008" scheme="http://sqlblogcasts.com/blogs/stevenwhite/archive/tags/SQL+Server+2008/default.aspx" /></entry><entry><title>Microsoft recommendations on SQL Server service accounts.....</title><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/stevenwhite/archive/2006/08/27/981.aspx" /><id>http://sqlblogcasts.com/blogs/stevenwhite/archive/2006/08/27/981.aspx</id><published>2006-08-27T13:21:00Z</published><updated>2006-08-27T13:21:00Z</updated><content type="html">&lt;P&gt;I've been spending some time reading up on the SQL 2005 Papers.&lt;BR&gt;If you haven't taken a look, there is lots of interesting things to read. Well worth a browse espically the operations section. &lt;A href="http://www.microsoft.com/technet/prodtechnol/sql/2005/library/default.mspx"&gt;http://www.microsoft.com/technet/prodtechnol/sql/2005/library/default.mspx&lt;/A&gt;)&lt;br&gt;Anyway it would be nice to see consistant advice from MS about sql service accounts....&lt;/P&gt;
&lt;P&gt;In&amp;nbsp;the&amp;nbsp; 'Setting Up Windows Service Accounts'&amp;nbsp;&amp;nbsp;document is states &lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Microsoft recommends that you do not use the Network Service account for the SQL Server or SQL Server Agent services. Local User or Domain User accounts are more appropriate for these SQL services. &lt;BR&gt;&lt;/EM&gt;(&lt;A href="http://msdn2.microsoft.com/en-us/library/ms143504.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms143504.aspx&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;Whereas in the 'Physical Database Storage Design' paper&amp;nbsp; it recommends '&lt;EM&gt;Use the Windows Network Service Account for security&lt;/EM&gt;.'&lt;BR&gt;(&lt;A href="http://www.microsoft.com/technet/prodtechnol/sql/2005/physdbstor.mspx"&gt;http://www.microsoft.com/technet/prodtechnol/sql/2005/physdbstor.mspx&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;Happy Reading&lt;BR&gt;Steven&lt;/P&gt;&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=981" width="1" height="1"&gt;</content><author><name>StevenWhite</name><uri>http://sqlblogcasts.com/members/StevenWhite.aspx</uri></author></entry><entry><title>Run away framework.log file (eating up the space on the c drive)</title><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/stevenwhite/archive/2006/06/29/853.aspx" /><id>http://sqlblogcasts.com/blogs/stevenwhite/archive/2006/06/29/853.aspx</id><published>2006-06-29T14:22:00Z</published><updated>2006-06-29T14:22:00Z</updated><content type="html">&lt;P&gt;Today I noticed that the space on the c drive on one of my sql 2005 servers was going down. After investigation I found that the &lt;FONT face=Arial size=2&gt;c:\windows\system32\wbem\log\Framework.log file was growing above the 64k limit.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Afterway after a quick search I found the fix &lt;A href="http://support.microsoft.com/?kbid=836605"&gt;http://support.microsoft.com/?kbid=836605&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Steven&lt;/P&gt;&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=853" width="1" height="1"&gt;</content><author><name>StevenWhite</name><uri>http://sqlblogcasts.com/members/StevenWhite.aspx</uri></author></entry><entry><title>TheRegister interview with Jim Gray</title><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/stevenwhite/archive/2006/05/30/766.aspx" /><id>http://sqlblogcasts.com/blogs/stevenwhite/archive/2006/05/30/766.aspx</id><published>2006-05-30T13:48:00Z</published><updated>2006-05-30T13:48:00Z</updated><content type="html">&lt;P&gt;The register have just posted an interview with Jim Gray&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;FONT color=#800080&gt;&lt;A href="http://www.regdeveloper.co.uk/2006/05/30/jim_gray/"&gt;http://www.regdeveloper.co.uk/2006/05/30/jim_gray/&lt;/A&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;U&gt;&lt;FONT color=#800080&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=766" width="1" height="1"&gt;</content><author><name>StevenWhite</name><uri>http://sqlblogcasts.com/members/StevenWhite.aspx</uri></author></entry><entry><title>SQL Server 2005 SP1</title><link rel="alternate" type="text/html" href="http://sqlblogcasts.com/blogs/stevenwhite/archive/2006/04/20/414.aspx" /><id>http://sqlblogcasts.com/blogs/stevenwhite/archive/2006/04/20/414.aspx</id><published>2006-04-20T10:18:00Z</published><updated>2006-04-20T10:18:00Z</updated><content type="html">&lt;p&gt;Well I've installed this on my desktop (Core DB, tools and reporting services), and all seems well.&lt;/p&gt;
&lt;p&gt;I see that MS have improved the delivery of the service pack, no more expanding the files into a directory.&lt;/p&gt;
&lt;p&gt;Just waiting&amp;nbsp;&amp;nbsp;for the updated BOL and MOM packs :)&lt;/p&gt;&lt;img src="http://sqlblogcasts.com/aggbug.aspx?PostID=414" width="1" height="1"&gt;</content><author><name>StevenWhite</name><uri>http://sqlblogcasts.com/members/StevenWhite.aspx</uri></author></entry></feed>
