<?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; data</title>
	<atom:link href="http://blog.davyknuysen.be/tag/data/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.davyknuysen.be</link>
	<description>My Blog on Microsoft BI</description>
	<lastBuildDate>Wed, 12 May 2010 11:11:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>XMLA script to deploy MDX Calculations</title>
		<link>http://blog.davyknuysen.be/2010/05/05/xmla-script-to-deploy-mdx-calculations/</link>
		<comments>http://blog.davyknuysen.be/2010/05/05/xmla-script-to-deploy-mdx-calculations/#comments</comments>
		<pubDate>Wed, 05 May 2010 16:13:21 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[Analysis Services]]></category>
		<category><![CDATA[BI]]></category>
		<category><![CDATA[MDX]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerPedia]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[OLAP]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/2010/05/05/xmla-script-to-deploy-mdx-calculations/</guid>
		<description><![CDATA[At a current project I needed to create a deploy script for the MDX calculations of a cube. SQL Server Management Studio makes it very easy for you to create XMLA-scripts to create or alter cubes, dimensions, etc… But it’s not possible to use Management Studio to create an alter-script that only contains the MDX [...]]]></description>
			<content:encoded><![CDATA[<p>At a current project I needed to create a deploy script for the MDX calculations of a cube.</p>
<p>SQL Server Management Studio makes it very easy for you to create XMLA-scripts to create or alter cubes, dimensions, etc… But it’s not possible to use Management Studio to create an alter-script that only contains the MDX calculations. Because I needed to resolve a bug in the calculations but the rest of the cube was not ready to be deployed to production yet, I had to create an alter script just for the MDX.</p>
<p>Of course I could have started learning the XMLA-syntax to write a script for this, but I decided to go for the easy way: the <strong>BIDSHelper</strong> has an option to deploy the MDX to a cube without having to deploy the entire cube.</p>
<p>If you don’t know <strong>BIDSHelper</strong>, or don’t already have it installed, go to <a href="http://www.codeplex.com/bidshelper">http://www.codeplex.com/bidshelper</a>. <strong>This is a must have add-in for all SSAS and SSIS developers!</strong></p>
<p>But as I was allowed to use Management Studio to makes changes to the cubes in the development environment only. So I needed to capture the XMLA script the <strong>BIDSHelper</strong> executes on the cube, to deploy the same script to the production environment.</p>
<p>That what the profiler is for, not? J</p>
<p>Open the SQL Server Profiler, create a new trace and connect to the analysis services instance. Use a blank template and switch to the tab “Events Selection”. The only event we want to capture here is “Command Begin”.</p>
<p>Click Run.</p>
<p>Now the profiler is ready to capture the XMLA-script, so switch back to Management Studio and use the BIDSHelper to deploy the MDX calculations. When the deploy is finished you can stop the trace.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/05/clip_image002.jpg"><img style="display: inline; border: 0px;" title="clip_image002" src="http://blog.davyknuysen.be/wp-content/uploads/2010/05/clip_image002_thumb.jpg" border="0" alt="clip_image002" width="628" height="396" /></a></p>
<p>The profiler should have captured 2 events. The event with subclass “Alter” is the one we need.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/05/clip_image004.jpg"><img style="display: inline; border: 0px;" title="clip_image004" src="http://blog.davyknuysen.be/wp-content/uploads/2010/05/clip_image004_thumb.jpg" border="0" alt="clip_image004" width="628" height="397" /></a></p>
<p>Copy the script from the profiler to a new XMLA script in Management Studio.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/05/clip_image006.jpg"><img style="display: inline; border: 0px;" title="clip_image006" src="http://blog.davyknuysen.be/wp-content/uploads/2010/05/clip_image006_thumb.jpg" border="0" alt="clip_image006" width="441" height="412" /></a></p>
<p>The last 3 lines (PropertyList) can be deleted.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/05/clip_image008.jpg"><img style="display: inline; border: 0px;" title="clip_image008" src="http://blog.davyknuysen.be/wp-content/uploads/2010/05/clip_image008_thumb.jpg" border="0" alt="clip_image008" width="628" height="203" /></a></p>
<p>In the node “ObjectDefinition” you will find your script.</p>
<p>Enjoy!</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://blog.davyknuysen.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.davyknuysen.be/2010/05/05/xmla-script-to-deploy-mdx-calculations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parent-Child hierarchies in Reporting Services</title>
		<link>http://blog.davyknuysen.be/2010/04/16/parent-child-hierarchies-in-reporting-services/</link>
		<comments>http://blog.davyknuysen.be/2010/04/16/parent-child-hierarchies-in-reporting-services/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 10:28:32 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[Analysis Services]]></category>
		<category><![CDATA[MDX]]></category>
		<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerPedia]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[Reporting]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/2010/04/16/parent-child-hierarchies-in-reporting-services/</guid>
		<description><![CDATA[Reporting Services 2008 is a great reporting tool, but displaying Analysis Services data with Reporting Services doesn’t always display the data as you would expect. A Parent-child hierarchy is one example of this: When you browse Parent-child hierarchy from an Analysis Services cube with Excel, Excel automatically displays it with nice drill-down functionality. But when [...]]]></description>
			<content:encoded><![CDATA[<p><em>Reporting Services 2008 is a great reporting tool, but displaying Analysis Services data with Reporting Services doesn’t always display the data as you would expect.</em></p>
<p><em> </em></p>
<p><em>A Parent-child hierarchy is one example of this: When you browse Parent-child hierarchy from an Analysis Services cube with Excel, Excel automatically displays it with nice drill-down functionality. </em></p>
<p><em>But when you add it to a Reporting Services report, you get something like this:</em></p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image002.jpg"><img style="display: inline; border: 0px;" title="clip_image002" src="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image002_thumb.jpg" border="0" alt="clip_image002" width="357" height="241" /></a></p>
<p><em>That’s not how we like to display a Parent-Child hierarchy to our users!</em></p>
<p><em>To display it with the expected drill-down you need to do some extra configuration:</em></p>
<p><em> </em></p>
<p><em>The following example uses the AdventureWorks example cube available on <a href="http://www.codeplex.com/">CodePlex</a>:</em></p>
<p>Create a new report and add a dataset with the following MDX query:</p>
<p>SELECT NON EMPTY { [Measures].[Amount] } ON COLUMNS,</p>
<p>NON EMPTY { (DESCENDANTS([Organization].[Organizations].[Organization Level 01].ALLMEMBERS) ) }</p>
<p>DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME, PARENT_UNIQUE_NAME,</p>
<p>LEVEL_NUMBER ON ROWS</p>
<p>FROM [Adventure Works]</p>
<p>CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING,</p>
<p>FONT_NAME, FONT_SIZE, FONT_FLAGS</p>
<p>Add a Tablix<strong><em> </em></strong>to your report and drag the parent-child hierarchy “Organizations” en the fact “Amount” to the Detail Row of the Tablix.</p>
<p><strong>To enable drill-down you need to edit the Group Properties of the Row Group:</strong></p>
<p>Configure the group to iterate on the UniqueName of “Organizations”:</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image004.jpg"><img style="display: inline; border: 0px;" title="clip_image004" src="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image004_thumb.jpg" border="0" alt="clip_image004" width="532" height="233" /></a></p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image006.jpg"><img style="display: inline; border: 0px;" title="clip_image006" src="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image006_thumb.jpg" border="0" alt="clip_image006" width="581" height="482" /></a></p>
<p>Go to the Advanced options and set the property “Recursive Parent” to the ParentUniqueName of “Organizations”.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image008.jpg"><img style="display: inline; border: 0px;" title="clip_image008" src="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image008_thumb.jpg" border="0" alt="clip_image008" width="581" height="482" /></a></p>
<p>Change the visibility of this Group to “Hide” and check the option &#8220;Display can be toggled by this report item&#8221;. The toggle item should be the Textbox containing the Parent-Child hierarchy.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image010.jpg"><img style="display: inline; border: 0px;" title="clip_image010" src="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image010_thumb.jpg" border="0" alt="clip_image010" width="581" height="482" /></a></p>
<p><strong>Now optimize the layout by increasing the indent for the lower levels of the hierarchy:</strong></p>
<p>In the Textbox properties: set the following expression for &#8220;Padding &#8211; Left&#8221;:</p>
<p>=Cstr(Fields!Organizations.LevelNumber * 10) &amp; &#8220;pt&#8221;</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image012.jpg"><img style="display: inline; border: 0px;" title="clip_image012" src="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image012_thumb.jpg" border="0" alt="clip_image012" width="524" height="472" /></a></p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image014.jpg"><img style="display: inline; border: 0px;" title="clip_image014" src="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image014_thumb.jpg" border="0" alt="clip_image014" width="581" height="532" /></a></p>
<p>Click Preview to test the report.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image016.jpg"><img style="display: inline; border: 0px;" title="clip_image016" src="http://blog.davyknuysen.be/wp-content/uploads/2010/04/clip_image016_thumb.jpg" border="0" alt="clip_image016" width="359" height="240" /></a></p>
<p>Look’s way better isn’t it?</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://blog.davyknuysen.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.davyknuysen.be/2010/04/16/parent-child-hierarchies-in-reporting-services/feed/</wfw:commentRss>
		<slash:comments>1</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 addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://blog.davyknuysen.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.davyknuysen.be/2010/03/03/reporting-services-timeout-in-sharepoint/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SSAS: Custom format string for “duration” using MDX</title>
		<link>http://blog.davyknuysen.be/2009/12/07/ssas-custom-format-string-for-duration-using-mdx/</link>
		<comments>http://blog.davyknuysen.be/2009/12/07/ssas-custom-format-string-for-duration-using-mdx/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 20:38:20 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[Analysis Services]]></category>
		<category><![CDATA[BI]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[MDX]]></category>
		<category><![CDATA[SQL 2008 R2]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerPedia]]></category>
		<category><![CDATA[data]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/2009/12/07/ssas-custom-format-string-for-duration-using-mdx/</guid>
		<description><![CDATA[I recently struggled with the following challenge in Analysis Services: In one of the fact tables there was a field duration which actually was a duration of a certain status in seconds. I needed to display this in a readable format, like &#8220;2 days 22:15:59&#8243;. bing brought me to the following great article, where Mosha [...]]]></description>
			<content:encoded><![CDATA[<p>I recently struggled with the following challenge in Analysis Services:<br />
In one of the fact tables there was a field <strong>duration</strong> which actually was a duration of a certain status in seconds. I needed to display this in a readable format, like &#8220;2 days 22:15:59&#8243;.<br />
<strong><em></em></strong></p>
<p><strong><em><a href="http://www.bing.com">bing</a></em></strong> brought me to the following great article, where Mosha explains how you can use MDX to create a custom format:<br />
<a href="http://sqlblog.com/blogs/mosha/archive/2008/09/26/displaying-duration-values-mdx-expressions-in-format-string.aspx">http://sqlblog.com/blogs/mosha/archive/2008/09/26/displaying-duration-values-mdx-expressions-in-format-string.aspx</a></p>
<p>When you apply this for a calculated member you get something like this:</p>
<blockquote><p>    CREATE MEMBER CURRENTCUBE.[Measures].[DurationInDays]<br />
     AS [DurationInDays],<br />
    FORMAT_STRING =  <br />
        IIF([Measures].[Duration] &lt; 1<br />
         ,&#8217;&#8221;0 days&#8221; hh:mm:ss&#8217;<br />
         ,&#8217;&#8221;&#8216; + cstr(int([Measures].[Duration])) + &#8216; days&#8221; hh:mm:ss&#8217;)<br />
    ,<br />
    VISIBLE = 1;</p></blockquote>
<p>But this brings us to another problem:<br />
This custom format will only display the correct result if [Measures].[Duration] contains <em><strong>decimal seconds</strong></em>.<br />
For more information about the conversion from seconds to decimal seconds, read the following article on wikipedia: <a href="http://en.wikipedia.org/wiki/Decimal_time">http://en.wikipedia.org/wiki/Decimal_time</a><br />
In short, you need to divide the number of seconds by 86.400. The resulting number presents the number of days on the left side of the decimal separator and the remaining decimal seconds on the right side.</p>
<p>So the final result will be something like this:</p>
<blockquote><p>    CREATE MEMBER CURRENTCUBE.[Measures].[DurationInDecimalSeconds]<br />
     AS<br />
        [Measures].[DurationInSeconds] / 86400,<br />
    VISIBLE = 0;  </p>
<p>    CREATE MEMBER CURRENTCUBE.[Measures].[DurationInDays]<br />
     AS [Measures].[DurationInDecimalSeconds],<br />
    FORMAT_STRING =  <br />
        IIF([Measures].[DurationInDecimalSeconds] &lt; 1<br />
         ,&#8217;&#8221;0 days&#8221; hh:mm:ss&#8217;<br />
         ,&#8217;&#8221;&#8216; + cstr(int([Measures].[DurationInDecimalSeconds])) + &#8216; days&#8221; hh:mm:ss&#8217;)<br />
    ,<br />
    VISIBLE = 1;</p></blockquote>
<p>If you want this custom format to be displayed in Excel, make sure the connection properties are set correctly to retrieve the <strong><em>number format </em></strong>from the server:</p>
<p>Go to <em><strong>Connection Properties</strong></em>, tab <strong><em>Usage</em></strong>, and check <strong><em>Number Format</em></strong> in the <strong><em>OLAP Server Formatting</em></strong> options.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2009/12/image.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" src="http://blog.davyknuysen.be/wp-content/uploads/2009/12/image_thumb.png" border="0" alt="image" width="341" height="410" /></a> </p>
<p>There is one more thing I would like to tell you about these options: Normally all these options will always be checked by default, but I’ve noticed that when you start from an existing odc-file, this is not the case. So, when you’re used to deliver an odc-file to your users to start analyzing from Excel, you will have to replace this odc-file by an Excel template that connects to the cube, to make sure this option is always on.</p>
<p>There might be a better way to change this behavior for odc-files, but I couldn’t find any. If you know it, please let me know <img src='http://blog.davyknuysen.be/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p> </p>
<p>Enjoy!</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://blog.davyknuysen.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.davyknuysen.be/2009/12/07/ssas-custom-format-string-for-duration-using-mdx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Connect to SSIS Service failed: Error loading type library/DLL</title>
		<link>http://blog.davyknuysen.be/2009/09/18/connect-to-ssis-service-failed-error-loading-type-librarydll/</link>
		<comments>http://blog.davyknuysen.be/2009/09/18/connect-to-ssis-service-failed-error-loading-type-librarydll/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 09:44:08 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[BI]]></category>
		<category><![CDATA[Integration Services]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[data]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/?p=140</guid>
		<description><![CDATA[After installing SQL Server Integration Services on an existing 64-bit SQL Server, I was unable to connect to SSIS using Management Studio. The database engine and Analysis Services was already installed on this server. I added the SSIS service without Service Pack and applied SP3 afterwards. When trying to connect, Management Studio returned the following [...]]]></description>
			<content:encoded><![CDATA[<p>After installing SQL Server Integration Services on an existing 64-bit SQL Server, I was unable to connect to SSIS using Management Studio.</p>
<p>The database engine and Analysis Services was already installed on this server. I added the SSIS service without Service Pack and applied SP3 afterwards. When trying to connect, Management Studio returned the following error message:</p>
<p><span style="color: #ff0000;">Connect to SSIS Service on machine &#8220;<var>ComputerName</var>&#8221; failed:<br />
Error loading type library/DLL.</span></p>
<p><span style="color: #000000;">I found the explanation in the following support article: <a href="http://support.microsoft.com/kb/919224">KB919224</a></span></p>
<p><em>This problem occurs because the installer unregisters the 32-bit Dts.dll file when the installer installs the 64-bit Dts.dll file. The 64-bit Dts.dll file is installed together with SQL Server 2005 SP2. Additionally, the 64-bit Dts.dll file may be installed together with any SSIS hotfix package that contains the 64-bit Dts.dll file.</em></p>
<p>The solution is to reregister the 32-bit dll’s manually:</p>
<blockquote><p><span style="font-size: xx-small;">%windir%\syswow64\regsvr32 &#8220;%ProgramFiles(x86)%\Microsoft SQL Server\90\dts\binn\dts.dll&#8221;</span></p>
<p><span style="font-size: xx-small;">%windir%\syswow64\regsvr32 &#8220;%ProgramFiles(x86)%\Microsoft SQL Server\90\dts\binn\MsDtsSrvrUtil.dll&#8221;</span></p></blockquote>
<p>For more info and some variations on the same problem, goto <a href="http://support.microsoft.com/kb/919224">KB919224</a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://blog.davyknuysen.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.davyknuysen.be/2009/09/18/connect-to-ssis-service-failed-error-loading-type-librarydll/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Administrator has no access to the Report Manager (SQL2008 R2 and Windows7/Vista)</title>
		<link>http://blog.davyknuysen.be/2009/09/11/administrator-has-no-access-to-the-report-manager-sql2008-r2-and-windows7vista/</link>
		<comments>http://blog.davyknuysen.be/2009/09/11/administrator-has-no-access-to-the-report-manager-sql2008-r2-and-windows7vista/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 19:19:53 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[BI]]></category>
		<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[SQL 2008 R2]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[data]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/?p=93</guid>
		<description><![CDATA[Today I wanted to start playing around with the new Report Manager of SQL 2008 R2. After installing and configuring R2, I opened Internet Explorer and entered the URL of the Report Manager. In my case: http://localhost/reports_r2 I got a very empty Report Manager : Okay, something is wrong. I tried to connect to http://localhost/reportserver_r2 [...]]]></description>
			<content:encoded><![CDATA[<p>Today I wanted to start playing around with the new Report Manager of SQL 2008 R2.</p>
<p>After installing and configuring R2, I opened Internet Explorer and entered the URL of the Report Manager. In my case: <a href="http://localhost/reports_r2">http://localhost/reports_r2</a></p>
<p>I got a very empty Report Manager <img src='http://blog.davyknuysen.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  :</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2009/09/reportmanageraccessdenied.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="report manager access  denied" src="http://blog.davyknuysen.be/wp-content/uploads/2009/09/reportmanageraccessdenied_thumb.jpg" border="0" alt="report manager access  denied" width="456" height="398" /></a></p>
<p>Okay, something is wrong. I tried to connect to <a href="http://localhost/reportserver_r2">http://localhost/reportserver_r2</a> :</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2009/09/reportserveraccessdenied.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="report server access denied" src="http://blog.davyknuysen.be/wp-content/uploads/2009/09/reportserveraccessdenied_thumb.jpg" border="0" alt="report server access denied" width="576" height="106" /></a></p>
<p>No access? But I am admin of this PC… Wait a minute. By default, programs are never executed as an administrator in Windows 7 or Vista. That explains it!</p>
<p>Here is how you can solve this:</p>
<ul>
<li>Open Internet Explorer as an administrator: click right and select “Run as Administrator”.</li>
<li>Click “Yes” to allow.</li>
</ul>
<p>Now, if you don’t want to do this every time you want to use the report manager, follow these steps:</p>
<ul>
<li>Add “http://localhost” to the trusted sites.</li>
<li>On the home page of the report manager click “Folder Settings”, “Security” and make your account “Content Manager”.</li>
<li>Click “Site Settings”, “Security” and make your account “System Administrator”.</li>
<li>Problem solved!</li>
</ul>
<p>For more info: search for “How to: Configure a Report Server for Local Administration on Windows Vista and Windows Server 2008” in BooksOnline.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://blog.davyknuysen.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.davyknuysen.be/2009/09/11/administrator-has-no-access-to-the-report-manager-sql2008-r2-and-windows7vista/feed/</wfw:commentRss>
		<slash:comments>3</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 addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://blog.davyknuysen.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></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>
		<item>
		<title>OLAP Reporting with Excel 2007: Use Member Properties!!</title>
		<link>http://blog.davyknuysen.be/2009/08/03/olap-reporting-with-excel-2007-use-member-properties/</link>
		<comments>http://blog.davyknuysen.be/2009/08/03/olap-reporting-with-excel-2007-use-member-properties/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 20:55:17 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[Analysis Services]]></category>
		<category><![CDATA[BI]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[SQLServerPedia]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[OLAP]]></category>
		<category><![CDATA[Pivot Table]]></category>
		<category><![CDATA[Reporting]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/?p=76</guid>
		<description><![CDATA[Excel 2007 is great tool for browsing OLAP cubes. But 1 thing a lot of people don&#8217;t know about or at least don’t use enough, is Member Properties. When they want to add a property of a specific attribute, they just check this item in the field list. By using it this way, you&#8217;re kind [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Excel 2007</strong> is great tool for browsing OLAP cubes. But 1 thing a lot of people don&#8217;t know about or at least don’t use enough, is <strong>Member Properties</strong>.</p>
<p>When they want to add a property of a specific attribute, they just check this item in the field list. By using it this way, you&#8217;re kind of building hierarchies between all the selected attributes, therefore all possible relationships must be checked. This of course has a huge performance impact.</p>
<p>There is an easier and better way that also makes loading the data a lot faster: <strong>Member Properties.</strong> The relationships between Members and their Properties is defined by specifying Attribute Relationships in Analysis Services.</p>
<p>Ever saw that Tooltip in Excel when you&#8217;re hovering your mouse over a field in the Pivot Table? This Tooltip shows all available Member Properties.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2009/08/tooltip.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="tooltip" src="http://blog.davyknuysen.be/wp-content/uploads/2009/08/tooltip_thumb.jpg" border="0" alt="tooltip" width="428" height="420" /></a></p>
<p>But you can also display them on columns:</p>
<p>Click right on the field where you would like to display one or more properties for. Under &#8220;Show Properties in Report&#8221;, select the properties you would like to show.</p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2009/08/showproperties.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="show properties" src="http://blog.davyknuysen.be/wp-content/uploads/2009/08/showproperties_thumb.jpg" border="0" alt="show properties" width="425" height="585" /></a></p>
<p>By using Member Properties the layout will be better and your report will load<strong> a lot</strong> faster!</p>
<p><span style="text-decoration: underline;">Using Attributes:</span></p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2009/08/withattributes.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="with attributes" src="http://blog.davyknuysen.be/wp-content/uploads/2009/08/withattributes_thumb.jpg" border="0" alt="with attributes" width="421" height="626" /></a></p>
<p><span style="text-decoration: underline;">Using Properties:</span></p>
<p><a href="http://blog.davyknuysen.be/wp-content/uploads/2009/08/withproperties.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="with properties" src="http://blog.davyknuysen.be/wp-content/uploads/2009/08/withproperties_thumb.jpg" border="0" alt="with properties" width="414" height="482" /></a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://blog.davyknuysen.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.davyknuysen.be/2009/08/03/olap-reporting-with-excel-2007-use-member-properties/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Recordings of last event available on Chopsticks</title>
		<link>http://blog.davyknuysen.be/2009/07/17/recordings-of-last-event-available-on-chopsticks/</link>
		<comments>http://blog.davyknuysen.be/2009/07/17/recordings-of-last-event-available-on-chopsticks/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 21:41:00 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[Event]]></category>
		<category><![CDATA[SQLUG.BE]]></category>
		<category><![CDATA[Azure]]></category>
		<category><![CDATA[Chopsticks]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[TFS]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/?p=17</guid>
		<description><![CDATA[Visual StudioTeam System 2008 Database Edition by Bart Wullems The Azure Services Platform and SQL Services by Kurt Claeys Enjoy the movies!!]]></description>
			<content:encoded><![CDATA[<p><span class="Apple-style-span"   style="  ;font-family:Verdana;font-size:13px;">
<ul>
<li><a href="http://www.microsoft.com/belux/msdn/nl/chopsticks/default.aspx?id=1264" style="color: rgb(34, 51, 85); text-decoration: none; "><span class="Apple-style-span"  style="color:#000000;">Visual</span> StudioTeam System 2008 Database Edition by Bart Wullems</a></li>
<li><a href="http://www.microsoft.com/belux/msdn/nl/chopsticks/default.aspx?id=1262" style="color: rgb(34, 51, 85); text-decoration: none; ">The Azure Services Platform and SQL Services by Kurt Claeys</a></li>
</ul>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; ">Enjoy the movies!!</p>
<p></span></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://blog.davyknuysen.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.davyknuysen.be/2009/07/17/recordings-of-last-event-available-on-chopsticks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring Reporting Service to use Host Headers for the Report Manager Website</title>
		<link>http://blog.davyknuysen.be/2009/02/05/configuring-reporting-service-to-use-host-headers-for-the-report-manager-website/</link>
		<comments>http://blog.davyknuysen.be/2009/02/05/configuring-reporting-service-to-use-host-headers-for-the-report-manager-website/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 16:37:00 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerPedia]]></category>
		<category><![CDATA[data]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/?p=13</guid>
		<description><![CDATA[Ever tried to change the URL of the Report Manager in IIS using host headers? I did, but got the following error message when I tried to open the Report Manager: &#8220;The request failed with HTTP status 400: Bad Request&#8221; There is some extra configuration needed to make this work: Edit the RSWebApplication.config file to [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-family: Verdana; font-size: 13px; "> </span></p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; ">Ever tried to change the URL of the Report Manager in IIS using host headers?</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; ">I did, but got the following error message when I tried to open the Report Manager:</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; "><span style="color:#0000ff;">&#8220;The request failed with HTTP status 400: Bad Request&#8221;</span></p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; "><span id="more-13"></span>There is some extra configuration needed to make this work:</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; ">Edit the <strong>RSWebApplication.config</strong> file to update the report server URL, that Report Manager uses to connect to the report server:</p>
<ul>
<li>Delete the default entry in <strong>ReportServerVirtualDirectory</strong></li>
<li>Type the new URL using host headers in <strong>ReportServerURL</strong></li>
</ul>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; ">The configuration should look like this:</p>
<blockquote style="background-color: #eeeeee; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 18px; border-style: initial; border-color: initial; border-left-style: solid; border-left-color: #cccccc; padding-top: 4px; padding-right: 4px; padding-bottom: 4px; padding-left: 4px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<pre style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 22px; font-size: 1em; ">http://myhostheader/reportserver</pre>
</blockquote>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; ">
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; ">Now, if you want to be able to open the Report Manager also on the machine hosting the Reporting Services website, you need to make some changes to the Registry, to add an exception to the l<em>oopback check security feature</em>that is designed to help prevent <em>reflection attacks</em> on your computer. If not, authentication will fail with the following error message:</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; "><span style="color:#0000ff;">&#8220;HTTP 401.1 &#8211; Unauthorized: Logon Failed&#8221;</span></p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; ">To add the exception follow these steps:</p>
<ol>
<li>Click <strong>Start</strong>, click <strong>Run</strong>, type regedit, and then click <strong>OK</strong>.</li>
<li>In Registry Editor, locate and then click the following registry key:
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; "><strong>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0</strong></p>
</li>
<li>Right-click <strong>MSV1_0</strong>, point to <strong>New</strong>, and then click <strong>Multi-String Value</strong>.</li>
<li>Type BackConnectionHostNames, and then press ENTER.</li>
<li>Right-click <strong>BackConnectionHostNames</strong>, and then click <strong>Modify</strong>.</li>
<li>In the <strong>Value data</strong> box, type the host name or the host names for the sites that are on the local computer, and then click <strong>OK</strong>.</li>
<li>Quit Registry Editor, and then restart the IISAdmin service.</li>
</ol>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://blog.davyknuysen.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.davyknuysen.be/2009/02/05/configuring-reporting-service-to-use-host-headers-for-the-report-manager-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
