<?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>Davy&#039;s Blog &#187; MOSS</title>
	<atom:link href="http://blog.davyknuysen.be/tag/moss/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.davyknuysen.be</link>
	<description>My Blog on Microsoft BI</description>
	<lastBuildDate>Wed, 27 Jul 2011 21:30:02 +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>Cannot rename a report in SharePoint integrated mode.</title>
		<link>http://blog.davyknuysen.be/2010/09/22/cannot-rename-a-report-in-sharepoint-integrated-mode/</link>
		<comments>http://blog.davyknuysen.be/2010/09/22/cannot-rename-a-report-in-sharepoint-integrated-mode/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 17:38:31 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[MOSS]]></category>
		<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/2010/09/22/cannot-rename-a-report-in-sharepoint-integrated-mode/</guid>
		<description><![CDATA[Installing the report server in SharePoint integrated mode, really gives you the possibility to offer a great reporting frontend to your users. But a few days ago I came across a real nasty bug: I just tried to rename one of the reports, what should be an easy thing to do, but I got this [...]]]></description>
			<content:encoded><![CDATA[<p>Installing the report server in SharePoint integrated mode, really gives you the possibility to offer a great reporting frontend to your users. But a few days ago I came across a real nasty bug:</p>
<p>I just tried to rename one of the reports, what should be an easy thing to do, but I got this really weird error message:</p>
<blockquote><p>System.Web.Services.Protocols.SoapException: An error occurred within the report server database.  This may be due to a connection failure, timeout or low disk condition within the database. &#8212;&gt; Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException:<strong> <span style="color: #ff0000;">An error occurred within the report server database.  This may be due to a connection failure, timeout or low disk condition within the database</span>.</strong> &#8212;&gt; System.Exception: For more information about this error navigate to the report server on the local server machine, or enable remote errors<br />
at Microsoft.ReportingServices.WebServer.ReportingService2005Impl.GetItemDataSources(String Item, DataSource[]&amp; DataSources)<br />
at Microsoft.ReportingServices.WebServer.ReportingService2006.GetItemDataSources(String Item, DataSource[]&amp; DataSources)</p></blockquote>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/09/clip_image001.jpg"><img style="display: inline; border-width: 0px;" title="clip_image001" src="http://blog.davyknuysen.be/wp-content/uploads/2010/09/clip_image001_thumb.jpg" border="0" alt="clip_image001" width="553" height="258" /></a></p>
<p>This error did not make any sense to me, so I looked into the Report Server Trace Log for more info and found this:</p>
<blockquote><p>library!ReportServer_0-11!6028!07/01/2010-14:15:39:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: An error occurred within the report server database.  This may be due to a connection failure, timeout or low disk condition within the database., ;</p>
<p>library!ReportServer_0-11!6c18!07/01/2010-14:15:39:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: An error occurred within the report server database.  This may be due to a connection failure, timeout or low disk condition within the database., ;</p>
<p>library!ReportServer_0-11!6028!07/01/2010-14:15:59:: Call to GetPermissionsAction(http://hictatriuap017/sites/DashboardsICTRA/ReportsLibrary/SLA PRD/Report Management Summary.rdl).</p>
<p>library!ReportServer_0-11!6c18!07/01/2010-14:15:59:: Call to GetItemDataSourcesAction(http://hictatriuap017/sites/DashboardsICTRA/ReportsLibrary/SLA PRD/Report Management Summary.rdl).</p>
<p>library!ReportServer_0-11!6c18!07/01/2010-14:15:59:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: An error occurred within the report server database.  This may be due to a connection failure, timeout or low disk condition within the database., ;</p>
<p>library!ReportServer_0-11!6c18!07/01/2010-14:15:59:: e ERROR: Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: An error occurred within the report server database.  This may be due to a connection failure, timeout or low disk condition within the database. &#8212;&gt; <strong><span style="color: #ff0000;">System.Data.SqlClient.SqlException: Cannot insert duplicate key row in object &#8216;dbo.Catalog&#8217; with unique index &#8216;IX_Catalog&#8217;</span>.</strong></p>
<p>The statement has been terminated.</p></blockquote>
<p><span style="color: #0000ff; font-size: xx-small;"> </span></p>
<p>For every report in the report library, reporting services creates a record in the Catalog table of the report server database. But when you delete a report, that record doesn’t seem to be deleted.</p>
<p>The catalog table has a unique index on the column &#8220;path&#8221;, that contains the full path to the report. When I tried to rename the report, it failed because a previously (deleted) report existed with that same name.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/09/clip_image002.jpg"><img style="display: inline; border-width: 0px;" title="clip_image002" src="http://blog.davyknuysen.be/wp-content/uploads/2010/09/clip_image002_thumb.jpg" border="0" alt="clip_image002" width="397" height="356" /></a></p>
<p>You can work around this problem by changing the value of the path column of the old record.</p>
<p>If anyone has more details about this problem or maybe a solution, please leave a comment.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.davyknuysen.be%2F2010%2F09%2F22%2Fcannot-rename-a-report-in-sharepoint-integrated-mode%2F&amp;title=Cannot%20rename%20a%20report%20in%20SharePoint%20integrated%20mode." id="wpa2a_2"><img src="http://blog.davyknuysen.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.davyknuysen.be/2010/09/22/cannot-rename-a-report-in-sharepoint-integrated-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reporting Services Timeout in Sharepoint</title>
		<link>http://blog.davyknuysen.be/2010/03/03/reporting-services-timeout-in-sharepoint/</link>
		<comments>http://blog.davyknuysen.be/2010/03/03/reporting-services-timeout-in-sharepoint/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 07:05:53 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[BI]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/2010/03/03/172/</guid>
		<description><![CDATA[Recently someone asked me to check a Reporting Services report that always resulted in an Unexpected Error. The report server was configured for Sharepoint Integrated Mode. I came to the conclusion that the server always returned this error after exactly 2 minutes, so it had to be a timeout exception. The report was kind of [...]]]></description>
			<content:encoded><![CDATA[<p>Recently someone asked me to check a Reporting Services report that always resulted in an Unexpected Error. The report server was configured for Sharepoint Integrated Mode.</p>
<div id="bjuf" style="text-align: left;"><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/03/timeout-sharepoint.jpg"><img class="size-full wp-image-175 alignnone" title="timeout sharepoint" src="http://blog.davyknuysen.be/wp-content/uploads/2010/03/timeout-sharepoint.jpg" alt="" width="614" height="151" /></a></div>
<p>I came to the conclusion that the server always returned this error after exactly 2 minutes, so it had to be a timeout exception.</p>
<p>The report was kind of big, so tuning it would not really help (enough).</p>
<p>I took me some time to find out which timeout setting to change, because there seem be a lot of them:</p>
<p>There is the Query Execution timeout of the Dataset, a Report Execution timeout, the Connection timeout of IIS, other timeouts in the Report Server Configuration file, &#8230;</p>
<p>But the real cause of this timeout is an Execution timeout of Sharepoint.</p>
<p>You can change this timeout setting in the web.config of your Sharepoint site, by default in <a title="c:\inetpub\wwwroot\wss\VirtualDirectories\80" href="http:/c:\inetpub\wwwroot\wss\VirtualDirectories\80">c\:inetpub\wwwroot\wss\VirtualDirectories\80</a>.</p>
<p>In this web.config you will find an XML node called &#8220;httpRuntime&#8221;. In this node you have to add an extra tag: executionTimeout=&#8221;9000&#8243;:</p>
<blockquote><p>&lt;httpRuntime maxRequestLength=&#8221;51200&#8243; executionTimeout=&#8221;9000&#8243; /&gt;</p></blockquote>
<p>Save and close the file and do an IISReset. When you run the report again, you won&#8217;t get this error anymore.</p>
<p>I also checked the web.config of the Report Manager, but in Native Mode this seems to be the default:</p>
<div id="ap_v" style="text-align: left;"><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/03/web.config-SSRS.jpg"><img class="size-full wp-image-176 alignnone" title="web.config SSRS" src="http://blog.davyknuysen.be/wp-content/uploads/2010/03/web.config-SSRS.jpg" alt="" width="397" height="182" /></a></div>
<p>Good luck!</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.davyknuysen.be%2F2010%2F03%2F03%2Freporting-services-timeout-in-sharepoint%2F&amp;title=Reporting%20Services%20Timeout%20in%20Sharepoint" id="wpa2a_4"><img src="http://blog.davyknuysen.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.davyknuysen.be/2010/03/03/reporting-services-timeout-in-sharepoint/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SQL Server Day 2009 videos now available on Chopsticks</title>
		<link>http://blog.davyknuysen.be/2009/12/16/sql-server-day-2009-videos-now-available-on-chopsticks/</link>
		<comments>http://blog.davyknuysen.be/2009/12/16/sql-server-day-2009-videos-now-available-on-chopsticks/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 10:10:05 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Analysis Services]]></category>
		<category><![CDATA[BI]]></category>
		<category><![CDATA[Event]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Excel Services]]></category>
		<category><![CDATA[Integration Services]]></category>
		<category><![CDATA[MDX]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[PowerPivot]]></category>
		<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[SQL 2008 R2]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLUG.BE]]></category>
		<category><![CDATA[Chopsticks]]></category>
		<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/?p=165</guid>
		<description><![CDATA[Microsoft has made the sessions presented on SQL Server Day 2009 available on Chopsticks Opening Keynote by Wesley Backelant and Ritchie Houtmeyers Best Practices for SQL Server Consolidation by Tom Van Mulders Breaking the ETL world record with Integration Services by Henk van der Valk Designing Effective Aggregations in Analysyis Services 2008 by Chris Webb [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft has made the sessions presented on SQL Server Day 2009 available on Chopsticks</p>
<ul>
<li><a href="http://www.microsoft.com/belux/MSDN/nl/chopsticks/default.aspx?id=1504" target="_blank">Opening Keynote</a> by Wesley Backelant and Ritchie Houtmeyers</li>
<li><a href="http://www.microsoft.com/belux/TechNet/nl/chopsticks/default.aspx?id=1493" target="_blank">Best Practices for SQL Server Consolidation</a> by Tom Van Mulders</li>
<li><a href="http://www.microsoft.com/belux/TechNet/nl/chopsticks/default.aspx?id=1498" target="_blank">Breaking the ETL world record with Integration Services</a> by Henk van der Valk</li>
<li><a href="http://www.microsoft.com/belux/MSDN/nl/chopsticks/default.aspx?id=1499" target="_blank">Designing Effective Aggregations in Analysyis Services 2008</a> by Chris Webb</li>
<li><a href="http://www.microsoft.com/belux/MSDN/nl/chopsticks/default.aspx?id=1500" target="_blank">High availability for BI DWH</a> by Patrick Tack</li>
<li><a href="http://www.microsoft.com/belux/TechNet/nl/chopsticks/default.aspx?id=1501" target="_blank">How New.NET Development technologies could change the live of the SQL DBA guy/girl</a> by Gill Cleeren &amp; Kurt Claeys</li>
<li><a href="http://www.microsoft.com/belux/TechNet/nl/chopsticks/default.aspx?id=1502" target="_blank">Implementing best practices with Policy Based Management</a> by Nico Jacobs</li>
<li><a href="http://www.microsoft.com/belux/MSDN/nl/chopsticks/default.aspx?id=1503" target="_blank">Introducing to PowerPivot or How I Learned to Stop Worrying and Love Excel</a> by Chris Webb</li>
<li><a href="http://www.microsoft.com/belux/TechNet/nl/chopsticks/default.aspx?id=1505%20" target="_blank">Tracking Changes and Data movement in SQL Server 2008</a> by Dirk Gubbels</li>
<li><a href="http://www.microsoft.com/belux/TechNet/nl/chopsticks/default.aspx?id=1506%20" target="_self">Handling XML in SQL Server</a> by Nico Jacobs</li>
</ul>
<p>Have fun!</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.davyknuysen.be%2F2009%2F12%2F16%2Fsql-server-day-2009-videos-now-available-on-chopsticks%2F&amp;title=SQL%20Server%20Day%202009%20videos%20now%20available%20on%20Chopsticks" id="wpa2a_6"><img src="http://blog.davyknuysen.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.davyknuysen.be/2009/12/16/sql-server-day-2009-videos-now-available-on-chopsticks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Excel Services: Data Refresh Failed</title>
		<link>http://blog.davyknuysen.be/2009/08/13/excel-services-data-refresh-failed/</link>
		<comments>http://blog.davyknuysen.be/2009/08/13/excel-services-data-refresh-failed/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 22:41:48 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[BI]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[Excel Services]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/?p=81</guid>
		<description><![CDATA[After deploying an Excel file to Excel Services on a new MOSS Server I got the following error: Data Refresh Failed: Unable to retrieve external data for the following connections: &#60;&#60;connection&#62;&#62; The data sources may be unreachable, may not be responding, or may have denied you access. Verify that data refresh is enabled for the [...]]]></description>
			<content:encoded><![CDATA[<p>After deploying an Excel file to Excel Services on a new MOSS Server I got the following error: </p>
<blockquote><p><em><font color="#ff0000">Data Refresh Failed: Unable to retrieve external data for the following connections:</font></em></p>
<p><em><font color="#ff0000">&lt;&lt;connection&gt;&gt;</font></em></p>
<p><em><font color="#ff0000">The data sources may be unreachable, may not be responding, or may have denied you access.</font></em></p>
<p><em><font color="#ff0000">Verify that data refresh is enabled for the trusted file location and that the workbook data authentication is correctly set.</font></em></p>
</blockquote>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2009/08/DataRefreshFailed.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="DataRefreshFailed" border="0" alt="DataRefreshFailed" src="http://blog.davyknuysen.be/wp-content/uploads/2009/08/DataRefreshFailed_thumb.png" width="644" height="241" /></a> </p>
<p>But the file was in an Excel Services Trusted Location and so was the data source. </p>
<p>Finally I found the following error message in the Sharepoint Log (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\LOGS):</p>
<blockquote><p><em><font color="#ff0000">Excel Services can not use credential delegation when it is configured to use a trusted subsystem with Windows SharePoint Server</font></em></p>
</blockquote>
<p>Ok that explains it: when they installed Excel Services on this new machine they did not configure it to use Delegation Mode. </p>
<p>To change Excel Services to use Delegation Mode, you need to use the command line tool <strong>stsadm. E</strong>xecute the following statements in a command window:</p>
<blockquote><p>Cd C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN</p>
<p>stsadm -o set-ecssecurity -accessmodel delegation -ssp <em><strong>SharedServices1</strong></em></p>
<p>stsadm -o execadmsvcjobs</p>
<p>iisreset</p>
</blockquote>
<p>This should do it. Enjoy!</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.davyknuysen.be%2F2009%2F08%2F13%2Fexcel-services-data-refresh-failed%2F&amp;title=Excel%20Services%3A%20Data%20Refresh%20Failed" id="wpa2a_8"><img src="http://blog.davyknuysen.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.davyknuysen.be/2009/08/13/excel-services-data-refresh-failed/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

