<?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; BI</title>
	<atom:link href="http://blog.davyknuysen.be/tag/bi/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>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>Next SQLUG-event: Business Intelligence in a SAAS (software as a service) Environment &#8211; April 29th, 2009</title>
		<link>http://blog.davyknuysen.be/2009/04/21/next-sqlug-event-business-intelligence-in-a-saas-software-as-a-service-environment-april-29th-2009/</link>
		<comments>http://blog.davyknuysen.be/2009/04/21/next-sqlug-event-business-intelligence-in-a-saas-software-as-a-service-environment-april-29th-2009/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 21:40:00 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[Event]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLUG.BE]]></category>
		<category><![CDATA[BI]]></category>
		<category><![CDATA[SAAS]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/?p=15</guid>
		<description><![CDATA[This event is brought to you by InfoSupport and handles the implementation of BI within a SAAS concept. Agenda Oscar Zonneveldand and Josquin Booij from InfoSupport will discuss the following topics: 1. The Business Case2. The Functional and Technical Architecture3. Near-realtime BI4. The Real world About the speakers Oscar Zonneveld is a BI and Datawarehouse [...]]]></description>
			<content:encoded><![CDATA[<p><span class="Apple-style-span" style="font-family: Verdana; font-size: 13px; "><br />
<table cellspacing="5" cellpadding="0">
<tbody>
<tr>
<td style="font-size: small; ">
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; ">This event is brought to you by <a target="_blank" href="http://sqlug.be/controlpanel/go/infosupport" style="color: rgb(34, 51, 85); text-decoration: none; ">InfoSupport</a> and handles the implementation of BI within a SAAS concept.</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; "><span style="text-decoration: underline; "><strong>Agenda</strong></span> Oscar Zonneveldand and Josquin Booij from InfoSupport will discuss the following topics:</p>
</td>
</tr>
<tr>
<td style="font-size: small; ">
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; ">1. The Business Case<br />2. The Functional and Technical Architecture<br />3. Near-realtime BI<img align="right" alt="" src="http://geekswithblogs.net/images/geekswithblogs_net/davyknuysen/WindowsLiveWriter/NextSQLUGeveningonThuMay29_8AD1/sqlug_2.gif" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; width: 255px; height: 69px; " /><br />4. The Real world</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; "><span style="text-decoration: underline; "><strong>About the speakers</strong></span></p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; ">Oscar Zonneveld is a BI and Datawarehouse Architect at Info Support&#8217;s Business Intelligence en Datawarehousing Competence Centre.<br />Josquin Booij is a Database Architect at Info Support&#8217;s Business Intelligence en Datawarehousing Competence Centre.</p>
<p>They have a combined experience spanning in excess of 10 years within the Financial, HRM, Healthcare and Indutrial sectors.</p>
<p>Right now they are implementing a near-realtime solution in a SAAS within the HRM Industry.</p>
</td>
</tr>
<tr>
<td style="font-size: small; "> </td>
</tr>
<tr>
<td style="font-size: small; ">The session will take place in the offices of InfoSupport in Mechelen.</td>
</tr>
<tr>
<td style="font-size: small; "> </td>
</tr>
<tr>
<td style="font-size: small; "><strong><span style="text-decoration: underline; ">Schedule</span>:</strong><br />
<table cellspacing="5" cellpadding="0">
<tbody>
<tr>
<td style="font-size: small; ">18u00</td>
<td style="font-size: small; ">Registration and welcome</td>
</tr>
<tr>
<td style="font-size: small; ">18u30</td>
<td style="font-size: small; ">Session start</td>
</tr>
<tr>
<td style="font-size: small; ">21u30</td>
<td style="font-size: small; ">Session end</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="font-size: small; ">
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; "></p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; ">This is a free event, but <a href="http://sqlug.be/register/" style="color: rgb(34, 51, 85); text-decoration: none; ">registration </a>is required.</p>
</td>
</tr>
</tbody>
</table>
<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/04/21/next-sqlug-event-business-intelligence-in-a-saas-software-as-a-service-environment-april-29th-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kimball University: Microsoft SQL Server Comes of Age for Data Warehousing</title>
		<link>http://blog.davyknuysen.be/2008/07/30/kimball-university-microsoft-sql-server-comes-of-age-for-data-warehousing/</link>
		<comments>http://blog.davyknuysen.be/2008/07/30/kimball-university-microsoft-sql-server-comes-of-age-for-data-warehousing/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 21:27:00 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[BI]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://blog.davyknuysen.be/?p=4</guid>
		<description><![CDATA[I justed wanted to share this interesting article: With new compression, partitioning and star schema optimization features,Microsoft&#8217;s SQL Server 2008 is catching up with the state of the industry in data warehousing.Here&#8217;s why these three capabilities are crucial for scalability and performance on any platform. By Warren Thornthwaite Read the full article here.]]></description>
			<content:encoded><![CDATA[<p><span class="Apple-style-span" style="font-family: Verdana; font-size: 13px; ">
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; "><strong>I justed wanted to share this interesting article:</strong></p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; "><em>With new compression, partitioning and star schema optimization features,<br />Microsoft&#8217;s SQL Server 2008 is catching up with the state of the industry in data warehousing.<br />Here&#8217;s why these three capabilities are crucial for scalability and performance on any platform.</em></p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 14px; margin-left: 0px; "><em>By </em><a href="http://www.intelligententerprise.com/experts/kimball;jsessionid=MNSU3HCYF5XT0QSNDLPCKHSCJUNN2JVN" style="color: rgb(34, 51, 85); text-decoration: none; "><em>Warren Thornthwaite</em></a></p>
<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; "><strong>Read the full article </strong><a target="_blank" href="http://www.intelligententerprise.com/channels/business_intelligence/showArticle.jhtml?articleID=208800172" style="color: rgb(34, 51, 85); text-decoration: none; "><strong>here</strong></a><strong>.</strong></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/2008/07/30/kimball-university-microsoft-sql-server-comes-of-age-for-data-warehousing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSAS: Class not registered (Exception from HRESULT: 0&#215;80040154 (REGDB_E_CLASSNOTREG))</title>
		<link>http://blog.davyknuysen.be/2007/05/09/ssas-class-not-registered-exception-from-hresult-0x80040154-regdb_e_classnotreg/</link>
		<comments>http://blog.davyknuysen.be/2007/05/09/ssas-class-not-registered-exception-from-hresult-0x80040154-regdb_e_classnotreg/#comments</comments>
		<pubDate>Wed, 09 May 2007 08:03:17 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[Analysis Services]]></category>
		<category><![CDATA[BI]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://geekswithblogs.net/davyknuysen/archive/2007/05/09/112358.aspx</guid>
		<description><![CDATA[Today I got this error while trying to browse a cube from the Business Intelligence Development Studio: The detailed error information told me that the connection failed, because the server actively refused it. Connecting from another pc worked perfectly, so it had to be a problem with my computer. To solve this problem I needed to [...]]]></description>
			<content:encoded><![CDATA[<p>Today I got this error while trying to browse a cube from the Business Intelligence Development Studio:</p>
<p><img src="/images/geekswithblogs_net/davyknuysen/errorSSAS.jpg" alt="" width="457" height="161" /></p>
<p>The detailed error information told me that the connection failed, because the server actively refused it. Connecting from another pc worked perfectly, so it had to be a problem with my computer.</p>
<p>To solve this problem I needed to reinstall the OWC Component (Microsoft Office 2003 Web Components)<br />
You can find the download here: <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=7287252c-402e-4f72-97a5-e0fd290d4b76&amp;DisplayLang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=7287252c-402e-4f72-97a5-e0fd290d4b76&amp;DisplayLang=en<br />
</a></p>
<p><a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=112358"><img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=112358" border="0" alt="" /></a></p>
<p>&lt;br /&gt; &lt;mce:script language=mce-&#8217;javascript1.1&#8242; mce_src=&#8221;http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;amp;PageID=31016&amp;amp;SiteID=1&#8243;&gt;&lt;/mce:script&gt;&lt;br /&gt; &lt;noscript&gt;&lt;a href=&#8221;http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016&#8243; mce_href=&#8221;http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016&#8243; target=&#8221;_blank&#8221;&gt;&lt;br /&gt; &lt;img src=&#8221;http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016&#8243; mce_src=&#8221;http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016&#8243; width=&#8221;1&#8243; height=&#8221;1&#8243; border=&#8221;0&#8243;  alt=&#8221;"&gt;&lt;/a&gt;&lt;br /&gt; &lt;/noscript&gt;&lt;br /&gt;<br />
<img src="http://geekswithblogs.net/davyknuysen/aggbug/112358.aspx" alt="" width="1" height="1" /></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/2007/05/09/ssas-class-not-registered-exception-from-hresult-0x80040154-regdb_e_classnotreg/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Problem opening report solution: Project item &#8216;#itemn°#&#8217; does not represent a file.</title>
		<link>http://blog.davyknuysen.be/2007/04/25/problem-opening-report-solution-project-item-itemn%c2%b0-does-not-represent-a-file/</link>
		<comments>http://blog.davyknuysen.be/2007/04/25/problem-opening-report-solution-project-item-itemn%c2%b0-does-not-represent-a-file/#comments</comments>
		<pubDate>Wed, 25 Apr 2007 11:11:38 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[BI]]></category>

		<guid isPermaLink="false">http://geekswithblogs.net/davyknuysen/archive/2007/04/25/111964.aspx</guid>
		<description><![CDATA[Today I had some problems with a report solution created in Visual Studio 2005: After I got the latest version out of SourceSafe, I could not open it anymore. The error message was &#8220;Project item &#8217;4294967294&#8242; does not represent a file.&#8221; Searching for this error on the internet I came to this solution: - Open [...]]]></description>
			<content:encoded><![CDATA[<p>Today I had some problems with a report solution created in Visual Studio 2005:</p>
<p>After I got the latest version out of SourceSafe, I could not open it anymore. The error message was <strong><em>&#8220;Project item &#8217;4294967294&#8242; does not represent a file.&#8221; </em></strong></p>
<p>Searching for this error on the internet I came to this <strong>solution</strong>:</p>
<blockquote style="margin-right: 0px;" dir="ltr"><p><em><span style="color: #0000ff;">- Open the .rptproj file in notepad (or another text editor) and delete the line that begins with &#8220;&lt;State&gt;$base64$&#8221;<br />
- Open the solution<br />
- Delete the source control bindings<br />
- Add it to source control again</span></em></p>
<p><em><span style="color: #0000ff;">- Done!</span></em></p></blockquote>
<p><span style="color: #000000;"> </span></p>
<p><span style="color: #000000;">Davy Knuysen</span></p>
<p style="margin-right: 0px;" dir="ltr">
<p><a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=111964"><img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=111964" border="0" alt="" /></a></p>
<p>&lt;br /&gt; &lt;mce:script language=mce-&#8217;javascript1.1&#8242; mce_src=&#8221;http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;amp;PageID=31016&amp;amp;SiteID=1&#8243;&gt;&lt;/mce:script&gt;&lt;br /&gt; &lt;noscript&gt;&lt;a href=&#8221;http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016&#8243; mce_href=&#8221;http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016&#8243; target=&#8221;_blank&#8221;&gt;&lt;br /&gt; &lt;img src=&#8221;http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016&#8243; mce_src=&#8221;http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016&#8243; width=&#8221;1&#8243; height=&#8221;1&#8243; border=&#8221;0&#8243;  alt=&#8221;"&gt;&lt;/a&gt;&lt;br /&gt; &lt;/noscript&gt;&lt;br /&gt;<br />
<img src="http://geekswithblogs.net/davyknuysen/aggbug/111964.aspx" alt="" width="1" height="1" /></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/2007/04/25/problem-opening-report-solution-project-item-itemn%c2%b0-does-not-represent-a-file/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SQL Server Reporting Services: Create and Call a Custom Assembly</title>
		<link>http://blog.davyknuysen.be/2007/03/27/sql-server-reporting-services-create-and-call-a-custom-assembly/</link>
		<comments>http://blog.davyknuysen.be/2007/03/27/sql-server-reporting-services-create-and-call-a-custom-assembly/#comments</comments>
		<pubDate>Tue, 27 Mar 2007 03:51:00 +0000</pubDate>
		<dc:creator>Davy</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[BI]]></category>

		<guid isPermaLink="false">http://geekswithblogs.net/davyknuysen/archive/2007/03/26/109901.aspx</guid>
		<description><![CDATA[In one of my previous articles I explained how to use embedded code in SQL Server Reporting Services. The possibility to add embedded code to a report, is a very powerfull feature to add some custom functionality to your report. But sometimes it might be necessary to add some custom functionality that is too complicated [...]]]></description>
			<content:encoded><![CDATA[<p style="margin: 0cm 0cm 10pt;" class="MsoNormal"><span lang="EN-US" style=""><font size="3"><font color="#000000"><font face="Calibri">In one of my previous articles I explained how to use embedded code in SQL Server Reporting Services. The possibility to add embedded code to a report, is a very powerfull feature to add some custom functionality to your report.<br />
But sometimes it might be necessary to add some custom functionality that is too complicated for embedded code to handle efficiently, or you need to access the same function from multiple reports, or you would like to write you code in C#&#8230;<br />
In one of these cases you should develop a custom assembly to call from your report.<o:p></o:p></font></font></font></span></p>
<p style="margin: 0cm 0cm 10pt;" class="MsoNormal"><span lang="EN-US" style=""><font size="3"><font color="#000000"><font face="Calibri">Let’s start with a simple example and develop a function PercentageToColor() to return a color based on a numeric value representing a percentage.<o:p></o:p></font></font></font></span></p>
<p style="margin: 0cm 0cm 0pt; line-height: normal;" class="MsoNormal"><span lang="EN-US" style="font-size: 10pt; color: blue; font-family: 'Courier New';">namespace</span><span lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"><font color="#000000"> MyAssembly<o:p></o:p></font></span></p>
<p style="margin: 0cm 0cm 0pt; line-height: normal;" class="MsoNormal"><span lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"><font color="#000000">{<o:p></o:p></font></span></p>
<p style="margin: 0cm 0cm 0pt; line-height: normal;" class="MsoNormal"><span lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"><span style=""><font color="#000000">    </font></span><span style="color: blue;">public</span><font color="#000000"> </font><span style="color: blue;">class</span><font color="#000000"> </font><span style="color: teal;">Colors<o:p></o:p></span></span></p>
<p style="margin: 0cm 0cm 0pt; line-height: normal;" class="MsoNormal"><span lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"><font color="#000000"><span style="">    </span>{<o:p></o:p></font></span></p>
<p style="margin: 0cm 0cm 0pt; line-height: normal;" class="MsoNormal"><span lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"><span style=""><font color="#000000">        </font></span><span style="color: blue;">public</span><font color="#000000"> </font><span style="color: blue;">string</span><font color="#000000"> PercentageToColor(</font><span style="color: blue;">double</span><font color="#000000"> percentage)<o:p></o:p></font></span></p>
<p style="margin: 0cm 0cm 0pt; line-height: normal;" class="MsoNormal"><span lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"><font color="#000000"><span style="">        </span>{<o:p></o:p></font></span></p>
<p style="margin: 0cm 0cm 0pt; line-height: normal;" class="MsoNormal"><span lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"><span style=""><font color="#000000">            </font></span><span style="color: blue;">string</span><font color="#000000"> returnValue = </font><span style="color: blue;">string</span><font color="#000000">.Empty;<o:p></o:p></font></span></p>
<p style="margin: 0cm 0cm 0pt; line-height: normal;" class="MsoNormal"><span lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"><o:p><font color="#000000"> </font></o:p></span></p>
<p style="margin: 0cm 0cm 0pt; line-height: normal;" class="MsoNormal"><span lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"><span style=""><font color="#000000">            </font></span><span style="color: blue;">if</span><font color="#000000"> (percentage &lt; 20)<o:p></o:p></font></span></p>
<p style="margin: 0cm 0cm 0pt; line-height: normal;" class="MsoNormal"><span lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"><font color="#000000"><span style="">            </span>{<o:p></o:p></font></span></p>
<p style="margin: 0cm 0cm 0pt; line-height: normal;" class="MsoNormal"><span lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"><font color="#000000"><span style="">                </span>returnValue = </font><span style="color: maroon;">&#8220;red&#8221;</span><font color="#000000">;<o:p></o:p></font></span></p>
<p style="margin: 0cm 0cm 0pt; line-height: normal;" class="MsoNormal"><span lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"><font color="#000000"><span style="">            </span>}<o:p></o:p></font></span></p>
<p style="margin: 0cm 0cm 0pt; line-height: normal;" class="MsoNormal"><span lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"><span style=""><font color="#000000">            </font></span><span style="color: blue;">else</span><font color="#000000"> </font><span style="color: blue;">if</span><font color="#000000"> (percentage &lt; 80)<o:p></o:p></font></span></p>
<p style="margin: 0cm 0cm 0pt; line-height: normal;" class="MsoNormal"><span lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"><font color="#000000"><span style="">            </span>{<o:p></o:p></font></span></p>
<p style="margin: 0cm 0cm 0pt; line-height: normal;" class="MsoNormal"><span lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"><font color="#000000"><span style="">                </span>returnValue = </font><span style="color: maroon;">&#8220;blue&#8221;</span><font color="#000000">;<o:p></o:p></font></span></p>
<p style="margin: 0cm 0cm 0pt; line-height: normal;" class="MsoNormal"><span lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"><font color="#000000"><span style="">            </span>}<o:p></o:p></font></span></p>
<p style="margin: 0cm 0cm 0pt; line-height: normal;" class="MsoNormal"><span lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"><span style=""><font color="#000000">            </font></span><span style="color: blue;">else<o:p></o:p></span></span></p>
<p style="margin: 0cm 0cm 0pt; line-height: normal;" class="MsoNormal"><span lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"><font color="#000000"><span style="">            </span>{<o:p></o:p></font></span></p>
<p style="margin: 0cm 0cm 0pt; line-height: normal;" class="MsoNormal"><span lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"><font color="#000000"><span style="">                </span>returnValue = </font><span style="color: maroon;">&#8220;green&#8221;</span><font color="#000000">;<o:p></o:p></font></span></p>
<p style="margin: 0cm 0cm 0pt; line-height: normal;" class="MsoNormal"><font color="#000000"><span lang="EN-US" style="font-size: 10pt; font-family: 'Courier New';"><span style="">            </span></span><span style="font-size: 10pt; font-family: 'Courier New';">}<o:p></o:p></span></font></p>
<p style="margin: 0cm 0cm 0pt; line-height: normal;" class="MsoNormal"><span style="font-size: 10pt; font-family: 'Courier New';"><o:p><font color="#000000"> </font></o:p></span></p>
<p style="margin: 0cm 0cm 0pt; line-height: normal;" class="MsoNormal"><span style="font-size: 10pt; font-family: 'Courier New';"><span style=""><font color="#000000">            </font></span><span style="color: blue;">return</span><font color="#000000"> returnValue;<o:p></o:p></font></span></p>
<p style="margin: 0cm 0cm 0pt; line-height: normal;" class="MsoNormal"><span style="font-size: 10pt; font-family: 'Courier New';"><font color="#000000"><span style="">        </span>}<o:p></o:p></font></span></p>
<p style="margin: 0cm 0cm 0pt; line-height: normal;" class="MsoNormal"><span style="font-size: 10pt; font-family: 'Courier New';"><font color="#000000"><span style="">    </span>}<o:p></o:p></font></span></p>
<p style="margin: 0cm 0cm 10pt;" class="MsoNormal"><font color="#000000"><span style="font-size: 10pt; line-height: 115%; font-family: 'Courier New';">}</span><span lang="EN-US" style=""><o:p></o:p></span></font></p>
<p style="margin: 0cm 0cm 10pt;" class="MsoNormal"><span lang="EN-US" style=""><font size="3"><font color="#000000"><font face="Calibri">Once you’ve compiled your class you need to copy the resulting assembly to the directory in which it is accessible from within your report:<o:p></o:p></font></font></font></span></p>
<p style="margin: 0cm 0cm 0pt 18pt; text-indent: -18pt;" class="MsoListParagraphCxSpFirst"><span lang="EN-US" style="color: rgb(0, 112, 192); font-family: Symbol;"><span style=""><font size="3">·</font><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">         </span></span></span><span lang="EN-US" style=""><font size="3"><font face="Calibri"><font color="#000000">To use it in the report designer, you need to copy it to:<br />
<span style=""> </span></font><span style="color: rgb(0, 112, 192);">C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies<o:p></o:p></span></font></font></span></p>
<p style="margin: 0cm 0cm 10pt 18pt; text-indent: -18pt;" class="MsoListParagraphCxSpLast"><span lang="EN-US" style="color: rgb(0, 112, 192); font-family: Symbol;"><span style=""><font size="3">·</font><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">         </span></span></span><span lang="EN-US" style=""><font size="3"><font face="Calibri"><font color="#000000">To make it available for reports that have been deployed to the report server, you need to copy it to:<br />
</font><span style="color: rgb(0, 112, 192);"><span style=""> </span>C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportServer\bin</span></font></font></span></p>
<p style="margin: 0cm 0cm 10pt 18pt; text-indent: -18pt;" class="MsoListParagraphCxSpLast"><span lang="EN-US" style=""><font size="3"><font face="Calibri"><span style="color: rgb(0, 112, 192);"><o:p></o:p></span></font></font></span> </p>
<p style="margin: 0cm 0cm 10pt;" class="MsoNormal"><span lang="EN-US" style=""><font size="3"><font color="#000000"><font face="Calibri"><img border="0" src="http://blog.n-technologies.be/content/binary/SSRSReferences.jpg" alt="" /></font></font></font></span></p>
<p style="margin: 0cm 0cm 10pt;" class="MsoNormal"><span lang="EN-US" style=""><font size="3"><font color="#000000"><font face="Calibri"></font></font></font></span> </p>
<p style="margin: 0cm 0cm 10pt;" class="MsoNormal"><span lang="EN-US" style=""><font size="3"><font color="#000000"><font face="Calibri">Before you can access your custom assembly you have to reference the assembly: Open the report properties (Menu: <em style="">Report – Report Properties</em>) and select the References tab.<o:p></o:p></font></font></font></span></p>
<p style="margin: 0cm 0cm 10pt;" class="MsoNormal"><span style=""><v:shapetype coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f" id="_x0000_t75"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"></v:path><o:lock v:ext="edit" aspectratio="t"></o:lock></v:shapetype></span><span lang="EN-US" style=""><o:p></o:p></span></p>
<p style="margin: 0cm 0cm 10pt;" class="MsoNormal"><span lang="EN-US" style=""><font size="3"><font color="#000000"><font face="Calibri">Browse to your assembly and define a Class Name and an Instance Name. (The Class Name and the Instance Name or only for non-static methods). Make sure to prefix your class name with the assembly name. <o:p></o:p></font></font></font></span></p>
<p style="margin: 0cm 0cm 10pt;" class="MsoNormal"><span lang="EN-US" style=""><font size="3"><font color="#000000"><font face="Calibri">Now you can call the methods in your assembly from your report, using an expression:<o:p></o:p></font></font></font></span></p>
<p style="margin: 0cm 0cm 0pt 36pt; text-indent: -18pt;" class="MsoListParagraphCxSpFirst"><span lang="EN-US" style="color: rgb(0, 112, 192); font-family: Symbol;"><span style=""><font size="3">·</font><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">         </span></span></span><span lang="EN-US" style=""><font size="3"><font face="Calibri"><font color="#000000">To call a static method: </font><span style="color: rgb(0, 112, 192);">=&lt;AssemblyName&gt;.&lt;ClassName&gt;.&lt;StaticMethodName&gt;<o:p></o:p></span></font></font></span></p>
<p style="margin: 0cm 0cm 10pt 36pt; text-indent: -18pt;" class="MsoListParagraphCxSpLast"><span lang="EN-US" style="color: rgb(0, 112, 192); font-family: Symbol;"><span style=""><font size="3">·</font><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">         </span></span></span><span lang="EN-US" style=""><font size="3"><font face="Calibri"><font color="#000000">To call an instance method: </font><span style="color: rgb(0, 112, 192);">=Code.&lt;InstanceName&gt;.&lt;PublicMethodName&gt;<o:p></o:p></span></font></font></span></p>
<p style="margin: 0cm 0cm 10pt;" class="MsoNormal"><span lang="EN-US" style=""><font size="3"><font face="Calibri"><font color="#000000">So in our example this would be: </font><span style="color: rgb(0, 112, 192);">=Code.TestColor.PercentageToColor(<em style="">Fields!Percentage.Value</em>)<o:p></o:p></span></font></font></span></p>
<p style="margin: 0cm 0cm 10pt;" class="MsoNormal"><span lang="EN-US" style=""><o:p><font size="3" face="Calibri" color="#000000"> That&#8217;s it! You&#8217;ve just created and called a custom assembly from your report&#8230;</font></o:p></span></p>
<p style="margin: 0cm 0cm 10pt;" class="MsoNormal"><span lang="EN-US" style=""><o:p><font size="3" face="Calibri" color="#000000"></font></o:p></span> </p>
<p style="margin: 0cm 0cm 10pt;" class="MsoNormal"><span lang="EN-US" style=""><o:p><font size="3" face="Calibri" color="#000000"> In one of my future articles I will explain how to pass parameters to the class constructor and I will also tell something about SSRS and .Net Permissions&#8230;</font></o:p></span></p>
<p style="margin: 0cm 0cm 10pt;" class="MsoNormal"><span lang="EN-US" style=""><o:p><font size="3" face="Calibri" color="#000000"></font></o:p></span> </p>
<p style="margin: 0cm 0cm 10pt;" class="MsoNormal"><span lang="EN-US" style=""><o:p><font size="3" face="Calibri" color="#000000"> </font></o:p></span></p>
<p style="margin: 0cm 0cm 10pt;" class="MsoNormal"><span lang="EN-US" style=""><font size="3"><font color="#000000"><font face="Calibri">Davy Knuysen<o:p></o:p></font></font></font></span></p>
<p><a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&#038;u=109901"><img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&#038;u=109901" border="0"/></a></p>
<p><iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;Task=Get&amp;PageID=31016&amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No><br />
<script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;Task=Get&amp;Browser=NETSCAPE4&amp;NoCache=True&#038;PageID=31016&amp;SiteID=1"></script><br />
<noscript><a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;Task=Click&amp;Mode=HTML&amp;SiteID=1&amp;PageID=31016" target="_blank"><br />
<img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;Task=Get&amp;Mode=HTML&amp;SiteID=1&amp;PageID=31016" width="1" height="1" border="0"  alt=""></a><br />
</noscript><br />
</iframe><br />
<img src="http://geekswithblogs.net/davyknuysen/aggbug/109901.aspx" width="1" height="1" /></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/2007/03/27/sql-server-reporting-services-create-and-call-a-custom-assembly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
