<?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>David Mellors &#187; SQL Server</title>
	<atom:link href="http://www.wahooga.com/tag/sql-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wahooga.com</link>
	<description>Personal Blog</description>
	<lastBuildDate>Mon, 01 Aug 2011 09:55:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>SharePoint 2010 Diagnostics Studio Errors Event ID 6398</title>
		<link>http://www.wahooga.com/2011/05/17/sharepoint-2010-diagnostics-studio-errors-event-id-6398/</link>
		<comments>http://www.wahooga.com/2011/05/17/sharepoint-2010-diagnostics-studio-errors-event-id-6398/#comments</comments>
		<pubDate>Tue, 17 May 2011 09:42:58 +0000</pubDate>
		<dc:creator>Dave Mellors</dc:creator>
				<category><![CDATA[Fixes to problems]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.wahooga.com/?p=427</guid>
		<description><![CDATA[Having installed the SharePoint 2010 Diagnostics Studio on a server we were seeing hundreds of events with ID 6398:- Log Name:      Application Source:        Microsoft-SharePoint Products-SharePoint Foundation Event ID:      6398 Task Category: Timer Level:         Critical Description: The Execute method of job definition Microsoft.SharePoint.Diagnostics.SPSqlBlockingReportDiagnosticProvider (ID e0c0213b-63fc-4ede-acc9-7a569ba95812) threw an exception. More information is included below. You do not [...]]]></description>
			<content:encoded><![CDATA[<p>Having installed the SharePoint 2010 Diagnostics Studio on a server we were seeing hundreds of events with ID 6398:-</p>
<blockquote><p>Log Name:      Application<br />
Source:        Microsoft-SharePoint Products-SharePoint Foundation<br />
Event ID:      6398<br />
Task Category: Timer<br />
Level:         Critical<br />
Description:<br />
The Execute method of job definition Microsoft.SharePoint.Diagnostics.SPSqlBlockingReportDiagnosticProvider (ID e0c0213b-63fc-4ede-acc9-7a569ba95812) threw an exception. More information is included below.</p>
<p>You do not have permission to run &#8216;SP_TRACE_CREATE&#8217;.</p></blockquote>
<p>and</p>
<blockquote><p>Source:        Microsoft-SharePoint Products-SharePoint Foundation<br />
Event ID:      6398<br />
Task Category: Timer<br />
Level:         Critical<br />
Description:<br />
The Execute method of job definition Microsoft.SharePoint.Diagnostics.SPSqlBlockingReportDiagnosticProvider (ID e0c0213b-63fc-4ede-acc9-7a569ba95812) threw an exception. More information is included below.<br />
The blocking query diagnostics provider could not set the &#8216;blocked process threshold&#8217; for the sql instance SPSQL01.  Blocking queries will not be captured in this instance.  Error Code: User does not have permission to perform this action.<br />
You do not have permission to run the RECONFIGURE statement.<br />
The configuration option &#8216;blocked process threshold&#8217; does not exist, or it may be an advanced option.<br />
You do not have permission to run the RECONFIGURE statement.</p></blockquote>
<h2>Solution</h2>
<p>On the SQL server make sure the account specified in the username of the events has ALTER TRACE and ALTER SETTINGS enabled. You can do this through Management Studio by selecting the username and changing the securables.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wahooga.com/2011/05/17/sharepoint-2010-diagnostics-studio-errors-event-id-6398/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Toolkit introduction</title>
		<link>http://www.wahooga.com/2008/06/05/sql-toolkit-introduction/</link>
		<comments>http://www.wahooga.com/2008/06/05/sql-toolkit-introduction/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 10:37:00 +0000</pubDate>
		<dc:creator>Dave Mellors</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[Red Gate Software]]></category>
		<category><![CDATA[SQL Comparison SDK]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">/archive/2008/06/05/sql-toolkit-introduction.aspx</guid>
		<description><![CDATA[In my last post I talked about writing an example application using the Red Gate SQL Toolkit but it occurred to me that I ought to mention a bit more about what SQL Toolkit is and what it can be used for. What is SQL Toolkit?&#160;SQL Toolkit is an software development kit (SDK)&#160;from Red Gate [...]]]></description>
			<content:encoded><![CDATA[<p>In my last post I talked about writing an example application using the Red Gate SQL Toolkit but it occurred to me that I ought to mention a bit more about what SQL Toolkit is and what it can be used for.</p>
<p><span id="more-169"></span></p>
<p><strong>What is SQL Toolkit?</strong>&nbsp;<br />SQL Toolkit is an software development kit (SDK)&nbsp;from Red Gate Software (my employers) that provides&nbsp;.net developers with an api, samples and documentation for doing schema and data comparisons of Microsoft SQL Server databases. The toolkit also has a an api for packaging databases and database updates.</p>
<p></p>
<p><strong>Why would I use SQL Toolkit?<br /></strong>Interestingly I believe that many of the&nbsp;solutions&nbsp;that customers are using SQL Toolkit for can already be done with the GUI or command line&nbsp;versions of&nbsp;SQL Compare, SQL Data Compare or SQL Packager products but software developers sometimes prefer to have the increased level of control that they gain by using the SDK.</p>
<p></p>
<p mce_keep="true">The customers I have had contact with seem to use the software for the following:-</p>
<p></p>
<ul></p>
<li>
<div mce_keep="true"><strong>Update the database schema at a customers site without user interation</strong><br />An executable is sent to the customer which they run and which compares a database snapshot with the customers database and then updates the customers database with the differences.</div>
</li>
<p></p>
<li>
<div mce_keep="true"><strong>Continuous Integration (automated testing)<br /></strong>Some customers had previously been using database backups for their testing but using the toolkit is significantly quicker and more effective.</div>
</li>
<p></p>
<li>
<div mce_keep="true"><strong>Keep internal databases in sync (often in different geographical locations)<br /></strong>The Microsoft SQL Server replication isn&#8217;t as friendly or as easy as some people would like and so customers are using SQL Toolkit to keep databases synchronized across different sites.</div>
</li>
<p></p>
<li>
<div mce_keep="true"><strong>Update SQL database for remote web hosts</strong><br />You develop on a local server and then you need to migrate your changes to your web servers which are hosted remotely. </div>
</li>
<p></p>
<li>
<div mce_keep="true"><strong>Change control and auditing<br /></strong>SQL Toolkit is being used as part of the change control process to record changes being made to production systems.</div>
</li>
</ul>
<p></p>
<p mce_keep="true">There are certainly more uses for SQL Toolkit then I have listed but if you want to do SQL database comparison and want a high level of control then you should take a look at it.</p>
<p></p>
<p mce_keep="true"><strong>Links:&nbsp;<br /></strong><a class="" href="http://www.red-gate.com/products/SQL_Toolkit/" mce_href="http://www.red-gate.com/products/SQL_Toolkit/">Red Gate SQL Toolkit product page</a><br /><a class="" href="http://www.red-gate.com/dynamic/downloads/downloadform.aspx?download=sqltoolkit" mce_href="http://www.red-gate.com/dynamic/downloads/downloadform.aspx?download=sqltoolkit">SQL Toolkit free 14 day trial</a></p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wahooga.com/2008/06/05/sql-toolkit-introduction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Red Gate SQL Toolkit: SQL Deployment example</title>
		<link>http://www.wahooga.com/2008/06/04/red-gate-sql-toolkit-example-to-deploy-database-schema-to-customer-site/</link>
		<comments>http://www.wahooga.com/2008/06/04/red-gate-sql-toolkit-example-to-deploy-database-schema-to-customer-site/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 09:27:00 +0000</pubDate>
		<dc:creator>Dave Mellors</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[Red Gate Software]]></category>
		<category><![CDATA[SQL Comparison SDK]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">/archive/2008/06/04/red-gate-sql-toolkit-example-to-deploy-database-schema-to-customer-site.aspx</guid>
		<description><![CDATA[We are getting a lot of customers interested in using SQL Toolkit for deploying database updates to remote customer sites. Using SQL Toolkit you can distribute a single executable to your customers and use the Toolkit to do a schema comparison and then automatically update the customers database with the differences between a snapshot from [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="Red Gate SQL Toolkit" src="http://www.red-gate.com/images/boxshots/large/sqltoolkitnew.gif" align=right mce_src="http://www.red-gate.com/images/boxshots/large/sqltoolkitnew.gif">We are getting a lot of customers interested in using SQL Toolkit for deploying database updates to remote customer sites. Using SQL Toolkit you can distribute a single executable to your customers and use the Toolkit to do a schema comparison and then automatically update the customers database with the differences between a snapshot from your database and the customers database.</p>
<p><span id="more-168"></span></p>
<p>Up until now I haven&#8217;t used SQL Toolkit that much so I thought it would be nice to learn more about the product and come up with&nbsp;my own&nbsp;example of using SQL Toolkit to deploy/update a database. A recent survey and some helpful existing customers have given me an insight into what people want such an example to do so in the next few days I intend to post my first attempt and then make improvements to it over the coming weeks.</p>
<p></p>
<p mce_keep="true">The SQL Toolkit provides full api access to the Red Gate comparison tools giving you database schema, data and packaging functionality in your own applications. You can download a <a class="" href="http://www.red-gate.com/products/SQL_Toolkit/" mce_href="http://www.red-gate.com/products/SQL_Toolkit/">free 14 day trial of SQL Toolkit</a>.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wahooga.com/2008/06/04/red-gate-sql-toolkit-example-to-deploy-database-schema-to-customer-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

