<?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>PowerPivotGeek &#187; Architecture</title>
	<atom:link href="http://powerpivotgeek.com/category/architecture/feed/" rel="self" type="application/rss+xml" />
	<link>http://powerpivotgeek.com</link>
	<description>An adventure in managed self-service computing</description>
	<lastBuildDate>Wed, 19 Jan 2011 23:04:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A Peek Inside: Special steps for Excel Services-only app servers</title>
		<link>http://powerpivotgeek.com/2010/10/04/a-peek-inside-special-steps-for-excel-services-only-app-servers/</link>
		<comments>http://powerpivotgeek.com/2010/10/04/a-peek-inside-special-steps-for-excel-services-only-app-servers/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 22:50:08 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[A Peek Inside]]></category>
		<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Excel Services]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Midtier]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/10/04/a-peek-inside-special-steps-for-excel-services-only-app-servers/</guid>
		<description><![CDATA[<p>It has been a while since I did one of the “A Peek Inside” postings and I thought “what the heck . . . do I have anything better to do while I am visiting with my in-laws during a vacation” . . . I couldn’t think of one so here goes.</p>
<p>PowerPivot has some special [...]]]></description>
			<content:encoded><![CDATA[<p>It has been a while since I did one of the “A Peek Inside” postings and I thought “what the heck . . . do I have anything better to do while I am visiting with my in-laws during a vacation” . . . I couldn’t think of one so here goes.</p>
<p>PowerPivot has some special steps that have to be done to get all of our components in and running on an Excel Services-only app server. While we document what these steps are, see <a title="http://msdn.microsoft.com/en-us/library/ee210608.aspx" href="http://msdn.microsoft.com/en-us/library/ee210608.aspx">http://msdn.microsoft.com/en-us/library/ee210608.aspx</a> , we don’t describe <u>why</u> this is an issue – thus this is a great “A Peek Inside” topic.</p>
<p>First, the root cause is that SharePoint 2010 ships with the SQL Server 2008 SP2 version of the msolap OLE DB provider; NOT THE POWERPIVOT R2 version. I won’t bore you with why this was done, but it was. Thus as the BOL entry tells you, the administrator must go to the R2 feature pack and manually install the R2 version of the msolap OLE DB provider. Sure that is it . . . right? Well, unfortunately it isn’t.</p>
<p>The distribution is purposely missing a required component, called the ChannelTransport.dll, that is used by the SharePoint PowerPivot implementation to communicate from the Excel Services app server to the PowerPivot System Service. When the PowerPivot installation is done on the same machine as Excel Services this DLL is automatically installed and registered. But how does that happen on the Excel Services machines? That is a piece of black magic and is the topic of this “A Peek Inside”.</p>
<p>The Microsoft.AnalysisServices.ChannelTransport.dll is actually deployed as a two step process:</p>
<ol>
<li>Getting the .dll file physically onto the Excel Services machine. To do this, the file is included in the PowerPivot global solution. When this solution is deployed out onto the SharePoint farm, it is physically copied to each machine. Actually it is serialized into the config db and then a timer job on each machine re-hydrates the file and copies it into the target folder. The problem is that while the solution can copy the file, it cannot regasm it. </li>
<li>To regasm it, and get a load of this one, we use a health rule. There is a health rule that is deployed with PowerPivot that fires on each machine in the SharePoint farm. It looks to see if the ChannelTransport.dll is available (in the correct, deployed folder) but not registered. If so, the health rule does a regasm on it. Now the Excel Services machine can communicate with PowerPivot . . . </li>
</ol>
<p>Now that is a nasty piece of geek black magic.</p>
<p>Enjoy!</p>
<p>_-_-_ Dave</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F10%2F04%2Fa-peek-inside-special-steps-for-excel-services-only-app-servers%2F&amp;linkname=A%20Peek%20Inside%3A%20Special%20steps%20for%20Excel%20Services-only%20app%20servers"><img src="http://powerpivotgeek.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://powerpivotgeek.com/2010/10/04/a-peek-inside-special-steps-for-excel-services-only-app-servers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Whitepaper: &#8220;Everything You Always Wanted to Know About PowerPivot Data Refresh but Were Afraid to Ask&#8221;</title>
		<link>http://powerpivotgeek.com/2010/09/10/whitepaper-everything-you-always-wanted-to-know-about-powerpivot-data-refresh-but-were-afraid-to-ask/</link>
		<comments>http://powerpivotgeek.com/2010/09/10/whitepaper-everything-you-always-wanted-to-know-about-powerpivot-data-refresh-but-were-afraid-to-ask/#comments</comments>
		<pubDate>Fri, 10 Sep 2010 21:08:35 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Announcement]]></category>
		<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Data refresh]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[White paper]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/09/10/whitepaper-everything-you-always-wanted-to-know-about-powerpivot-data-refresh-but-were-afraid-to-ask/</guid>
		<description><![CDATA[<p>Is now available here: http://msdn.microsoft.com/en-us/library/ff976569.aspx</p>
<p>Enjoy!</p>
]]></description>
			<content:encoded><![CDATA[<p>Is now available here: <a title="http://msdn.microsoft.com/en-us/library/ff976569.aspx" href="http://msdn.microsoft.com/en-us/library/ff976569.aspx">http://msdn.microsoft.com/en-us/library/ff976569.aspx</a></p>
<p>Enjoy!</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F09%2F10%2Fwhitepaper-everything-you-always-wanted-to-know-about-powerpivot-data-refresh-but-were-afraid-to-ask%2F&amp;linkname=Whitepaper%3A%20%26ldquo%3BEverything%20You%20Always%20Wanted%20to%20Know%20About%20PowerPivot%20Data%20Refresh%20but%20Were%20Afraid%20to%20Ask%26rdquo%3B"><img src="http://powerpivotgeek.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://powerpivotgeek.com/2010/09/10/whitepaper-everything-you-always-wanted-to-know-about-powerpivot-data-refresh-but-were-afraid-to-ask/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A Peek Inside: Getting the most from data refresh</title>
		<link>http://powerpivotgeek.com/2010/09/08/a-peek-inside-getting-the-most-from-data-refresh/</link>
		<comments>http://powerpivotgeek.com/2010/09/08/a-peek-inside-getting-the-most-from-data-refresh/#comments</comments>
		<pubDate>Wed, 08 Sep 2010 19:30:26 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[A Peek Inside]]></category>
		<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[Data refresh]]></category>
		<category><![CDATA[Midtier]]></category>
		<category><![CDATA[applicaiton database]]></category>
		<category><![CDATA[jobs]]></category>
		<category><![CDATA[parallelization]]></category>
		<category><![CDATA[runable]]></category>
		<category><![CDATA[service instance]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/09/08/a-peek-inside-getting-the-most-from-data-refresh/</guid>
		<description><![CDATA[<p>Recently there was a forum post concerning how PowerPivot parallelizes data refresh . . and I thought this might be an interesting topic for a “Peek Inside” blog posting. The first question is: Why are we doing this? What is the purpose of parallelizing data refresh? Why is this so important? Well . . there [...]]]></description>
			<content:encoded><![CDATA[<p>Recently there was a forum post concerning how PowerPivot parallelizes data refresh . . and I thought this might be an interesting topic for a “Peek Inside” blog posting. The first question is: Why are we doing this? What is the purpose of parallelizing data refresh? Why is this so important? Well . . there are two reasons. The first reason is that we want to get the maximum throughput from all of the compute resources that we have in the farm. We paid a lot for the servers and we want to keep them busy. However, secondly, particularly as users start deploying more and more workbooks, the number of jobs will increase as well. We expect that the automatic refresh capabilities of the PowerPivot system will be a popular feature. Information workers like to keep their workbooks up-to-date – and data refresh is a powerful new feature of PowerPivot. For a large farm with tens of thousands of Excel workbooks, there might be thousands of PowerPivot embedded data workbooks (10:1). And of these there might be hundreds of workbooks that need nightly data refresh (again, using a 10:1 ratio). If we did the data refresh one-by-one and each one took 10 minutes, this means it would take almost 10 to 20 hours to refresh them all. Obviously we need to perform many of them at the same time to fit within a reasonable nightly window.</p>
<p>As the steps that we do to accomplish this ‘parallelization’ isn’t talked too much in the regular BOL (there is a bit, but mostly around the setting dialog boxes), I thought that it would make a good blog posting.</p>
<p> <span id="more-1222"></span>
<p>First, let’s start off with the basic PowerPivot overall architecture: (I will let other postings cover the details; here is a basic overview)</p>
<ul>
<li>PowerPivot for SharePoint has two shared services: one service called the <em>PowerPivot System service</em> is responsible for all back-end PowerPivot work (except the Engine itself); and we have a second shared service that is (you guessed it), the SSAS Engine itself. The Engine service is the regular SSAS Windows service wrapped as a SharePoint shared service. It is set to Vertipaq mode and is ready for loading, querying and processing of embedded PowerPivot datasets that are part of your Excel workbooks. When you install PowerPivot you get both services installed on the SharePoint app server. Across the SharePoint farm, you have “x&#8217;” pairs of services (i.e. where you have installed PowerPivot for SharePoint). This might be all app servers in the farm; one app server in the farm; or anywhere in-between. As an administrator you get to decide which app servers will be providing PowerPivot services.</li>
<li>Associated with the PowerPivot System service is a service application database. There is one service application database per PowerPivot System service application. Here is how you find out which RDBMS is created:
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/09/image.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://powerpivotgeek.com/wp-content/uploads/2010/09/image_thumb.png" width="574" height="305" /></a>       </p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/09/image1.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://powerpivotgeek.com/wp-content/uploads/2010/09/image_thumb1.png" width="574" height="462" /></a>       </p>
<p>The service application database holds:</li>
<ol>
<li>The ‘instance map’ which tells the system which app server has a given workbook’s data is loaded, or cached</li>
<li>The data refresh schedules that have been created by end-users. It also contains the ‘run queue’ for those data refresh jobs that are now runable, or being ran.</li>
<li>Lastly, the service application database contains data refresh history, i.e. when jobs ran and their status (success, failure, or informational messages).       </li>
</ol>
<li>There is no “Master” PowerPivot app server. All of our code assumes that each PowerPivot app server is independent and is always looking for work. When a data refresh job is put into the run queue, any of the PowerPivot machines can pick up the work and assign it to themselves. Where we need to control concurrency (since each service instance is independent of each other), we use locking capabilities of the SQL RDBMS for the service application database, e.g. we place write-locks on the run queue table to ensure that no other server attempts to update the run queue at the same time.</li>
</ul>
<p>To configure data refresh jobs, there are two Engine service instance properties. To see these settings, run Central Administration and click on the SSAS Engine service instance. In this case, here is a server in my office at Microsoft. I went to Central Admin “Services on Server” for the machine DWICKERT-RTM and clicked on the “SQL Server Analysis Services” service at the bottom:</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/09/image2.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://powerpivotgeek.com/wp-content/uploads/2010/09/image_thumb2.png" width="594" height="545" /></a> </p>
<p>And here are the data refresh settings for the SSAS Engine service instance on DWICKERT-RTM:</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/09/image3.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://powerpivotgeek.com/wp-content/uploads/2010/09/image_thumb3.png" width="594" height="324" /></a> </p>
<p>The first checkbox tells the system that DWICKERT-RTM can be used for querying, i.e. loading read-only databases on the machine. If the checkbox was not enabled (unckecked), then this machine would have been dedicated to data refresh. The second checkbox is a similar setting for data refresh. If neither is enabled, then the instance will not be used. It is installed and configured, but it won’t be used. The default setting is that both options are enabled, i.e. that a server can be used for both querying and data refresh – but if you want to change it and dedicate the server for one or the other activity, here is where you set the role.</p>
<p>If you have enabled data refresh on this machine then you get to decide how many workbooks can be concurrently refreshing at the same time. We call these data refresh units of work a <em>slot</em>. In the case above we have enabled 4 slots on DWICKERT-RTM. The default setting is the amount of memory divided by 4GB (thus a 16GB machine should result in default setting of 4 concurrent jobs) – although there is a current bug in the system where the setting is always set to 1 regardless of how large the server memory is. The maximum value is the number of CPUs. To get the most use from your machine resources, I strongly recommend that you set the maximum concurrency if the machine is dedicated to data refresh. If you are running on a quad core machine, then the maximum number is 4. The way the system is designed is a bit complication. The UI allows you to enter any value you wish for this dialog box (e.g. you could enter 100 instead of 4 if you wished), but when the system goes to actually run the data refresh jobs, it will generate errors if the maximum concurrent jobs is larger than the number of cores on the machine. While this is not the best behavior, we would have like to stop you from entering a wrong number in the dialog box right up front, but given the fact that it is difficult to monitor remote machines, this was the most effective approach.</p>
<p>So . . . now we have things running, we are all done, Right?? Well as it turns out, No. The one remaining thing to talk about is how a data refresh job gets ‘kicked off’ to begin with. The “kicker” is the PowerPivot Data Refresh Timer job: (again, running Central Admin, PowerPivot Management Dashboard, here it is:)</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/09/image4.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://powerpivotgeek.com/wp-content/uploads/2010/09/image_thumb4.png" width="644" height="404" /></a> </p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/09/image5.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://powerpivotgeek.com/wp-content/uploads/2010/09/image_thumb5.png" width="594" height="341" /></a> </p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/09/image6.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://powerpivotgeek.com/wp-content/uploads/2010/09/image_thumb6.png" width="594" height="469" /></a> </p>
<p>As you can see, the timer job runs once a minute. This means that the timer job calls into the PowerPivot System service (on each machine where data refresh is enabled) giving it a ‘kick’ to take a look at its scheduled jobs every minute. The PowerPivot System service looks to see if any of the scheduled jobs is now ‘runable’ and if so, the job is placed in the run queue. At the end of each timer job (i.e. each minute), the PowerPivot System service looks to see if there are any runable jobs waiting, and if there are any ‘slots’ available for this machine. If so, the PowerPivot System service starts the refresh process. </p>
<p>All SharePoint interactions, i.e. reading the workbook from the SharePoint content database, saving the file back to the content database, are done in the same calling thread from the RPC call from the timer job into the PowerPivot System service, but when the job is ready to actually do the SSAS processing (where the Engine goes out and refreshes the cube data from the original data sources), then that work <u>is requested in parallel on separate threads within the PowerPivot</u> <u>System service</u> (one thread per ‘slot’). Remember that the actual processing is done by the local Engine service. Remember that in PowerPivot for SharePoint, the PowerPivot System service and the local SSAS Engine instance are always installed and operate as pairs. The PowerPivot System service acts as a ‘gatekeeper’ for the local Engine service. We never have the situation where the data refresh is done by a PowerPivot System service, but executed on a remote Engine service. The local Engine is all that PowerPivot System service knows (or cares) about.</p>
<p>So, like many things in PowerPivot, while data refresh seems simple and straightforward, there is actually a fair amount of technology underneath.</p>
<p>I hoped you enjoyed the geeky tour.</p>
<p>Enjoy! </p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F09%2F08%2Fa-peek-inside-getting-the-most-from-data-refresh%2F&amp;linkname=A%20Peek%20Inside%3A%20Getting%20the%20most%20from%20data%20refresh"><img src="http://powerpivotgeek.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://powerpivotgeek.com/2010/09/08/a-peek-inside-getting-the-most-from-data-refresh/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>New PowerPivot technical architecture diagram released: Security Architecture</title>
		<link>http://powerpivotgeek.com/2010/08/30/new-powerpivot-technical-architecture-diagram-released-security-architecture/</link>
		<comments>http://powerpivotgeek.com/2010/08/30/new-powerpivot-technical-architecture-diagram-released-security-architecture/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 15:28:33 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/08/30/new-powerpivot-technical-architecture-diagram-released-security-architecture/</guid>
		<description><![CDATA[<p>Because PowerPivot for Excel and PowerPivot for SharePoint involves so many components from SQL Server 2008 R2 Analysis Services, Office 2010, and SharePoint 2010, this poster provides an end-to-end view of the PowerPivot Security Architecture in one view.&#160; This view includes nearly all of the logical security surface areas and illustrates how these systems interact.</p>
<p>Included [...]]]></description>
			<content:encoded><![CDATA[<p>Because PowerPivot for Excel and PowerPivot for SharePoint involves so many components from SQL Server 2008 R2 Analysis Services, Office 2010, and SharePoint 2010, this poster provides an end-to-end view of the PowerPivot Security Architecture in one view.&#160; This view includes nearly all of the logical security surface areas and illustrates how these systems interact.</p>
<p>Included in this diagram are:</p>
<ul>
<li>Service Accounts </li>
<li>SharePoint Databases </li>
<li>Security Hardening </li>
<li>Automatic Data Refresh </li>
<li>User Identity Flow </li>
<li>PowerPivot Permissions Levels </li>
</ul>
<p><a title="http://sqlcat.com/whitepapers/archive/2010/08/17/powerpivot-technical-diagram-powerpivot-security-architecture.aspx" href="http://sqlcat.com/whitepapers/archive/2010/08/17/powerpivot-technical-diagram-powerpivot-security-architecture.aspx">http://sqlcat.com/whitepapers/archive/2010/08/17/powerpivot-technical-diagram-powerpivot-security-architecture.aspx</a></p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/08/security.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="security" border="0" alt="security" src="http://powerpivotgeek.com/wp-content/uploads/2010/08/security_thumb.png" width="597" height="772" /></a> </p>
<p>Enjoy!</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F08%2F30%2Fnew-powerpivot-technical-architecture-diagram-released-security-architecture%2F&amp;linkname=New%20PowerPivot%20technical%20architecture%20diagram%20released%3A%20Security%20Architecture"><img src="http://powerpivotgeek.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://powerpivotgeek.com/2010/08/30/new-powerpivot-technical-architecture-diagram-released-security-architecture/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cool new videos posted &#8211; WOW!</title>
		<link>http://powerpivotgeek.com/2010/08/16/cool-new-videos-posted-wow/</link>
		<comments>http://powerpivotgeek.com/2010/08/16/cool-new-videos-posted-wow/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 01:32:51 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Videos]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/08/16/cool-new-videos-posted-wow/</guid>
		<description><![CDATA[<p>A series of new videos have just been posted that talk about the PowerPivot for SharePoint architecture. This 4-part series is about how user identity is established and flows in different PowerPivot environments. </p>
<p>Part 1: SharePoint User Identity Fundamentals for PowerPivot Administrators = http://www.youtube.com/user/sqlserver#p/u/8/uku4KuzQDIk    Part 2: Security context of PowerPivot Connections in [...]]]></description>
			<content:encoded><![CDATA[<p>A series of new videos have just been posted that talk about the PowerPivot for SharePoint architecture. This 4-part series is about how user identity is established and flows in different PowerPivot environments. </p>
<p>Part 1: SharePoint User Identity Fundamentals for PowerPivot Administrators = <a href="http://www.youtube.com/user/sqlserver#p/u/8/uku4KuzQDIk">http://www.youtube.com/user/sqlserver#p/u/8/uku4KuzQDIk</a>    <br />Part 2: Security context of PowerPivot Connections in the farm = <a href="http://www.youtube.com/user/sqlserver#p/u/9/rXiS7b_Z7Jw">http://www.youtube.com/user/sqlserver#p/u/9/rXiS7b_Z7Jw</a>    <br />Part 3: PowerPivot Data Refresh = <a href="http://www.youtube.com/watch?v=RN5YZtytWZk">http://www.youtube.com/watch?v=RN5YZtytWZk</a>    <br />Part 4: Using PowerPivot Workbooks as a data source = <a href="http://www.youtube.com/user/sqlserver#p/u/6/nSEx6-9UWqA">http://www.youtube.com/user/sqlserver#p/u/6/nSEx6-9UWqA</a></p>
<p>Enjoy!</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F08%2F16%2Fcool-new-videos-posted-wow%2F&amp;linkname=Cool%20new%20videos%20posted%20%26ndash%3B%20WOW%21"><img src="http://powerpivotgeek.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://powerpivotgeek.com/2010/08/16/cool-new-videos-posted-wow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New PowerPivot Component Architecture blog posting</title>
		<link>http://powerpivotgeek.com/2010/04/14/new-powerpivot-component-architecture-blog-posting/</link>
		<comments>http://powerpivotgeek.com/2010/04/14/new-powerpivot-component-architecture-blog-posting/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 21:31:00 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Announcement]]></category>
		<category><![CDATA[Architecture]]></category>
		<category><![CDATA[White paper]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/03/22/new-powerpivot-component-architecture-blog-posting/</guid>
		<description><![CDATA[<p>(Update: A complete version of this whitepaper is now available at: http://msdn.microsoft.com/en-us/library/ff628113.aspx &#8211; take a look. It is very cool.)</p>
<p>For those interested there was a new PowerPivot component architecture blog that was just posted on the official PowerPivot Team blog, see http://blogs.msdn.com/powerpivot/archive/2010/03/22/powerpivot-component-architecture.aspx. This is an excerpt of an upcoming SQL Server technical white paper called “Microsoft [...]]]></description>
			<content:encoded><![CDATA[<p>(Update: A complete version of this whitepaper is now available at: <a title="http://msdn.microsoft.com/en-us/library/ff628113.aspx" href="http://msdn.microsoft.com/en-us/library/ff628113.aspx">http://msdn.microsoft.com/en-us/library/ff628113.aspx</a> &#8211; take a look. It is very cool.)</p>
<p>For those interested there was a new PowerPivot component architecture blog that was just posted on the official PowerPivot Team blog, see <a href="http://blogs.msdn.com/powerpivot/archive/2010/03/22/powerpivot-component-architecture.aspx">http://blogs.msdn.com/powerpivot/archive/2010/03/22/powerpivot-component-architecture.aspx</a>. This is an excerpt of an upcoming SQL Server technical white paper called “Microsoft SQL Server PowerPivot Planning and Deployment”)</p>
<p>Enjoy!</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F04%2F14%2Fnew-powerpivot-component-architecture-blog-posting%2F&amp;linkname=New%20PowerPivot%20Component%20Architecture%20blog%20posting"><img src="http://powerpivotgeek.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://powerpivotgeek.com/2010/04/14/new-powerpivot-component-architecture-blog-posting/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Help: c2wts has fallen and it cannot get up</title>
		<link>http://powerpivotgeek.com/2010/04/02/help-c2wts-has-fallen-and-it-cannot-get-up/</link>
		<comments>http://powerpivotgeek.com/2010/04/02/help-c2wts-has-fallen-and-it-cannot-get-up/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 06:30:03 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/04/02/help-c2wts-has-fallen-and-it-cannot-get-up/</guid>
		<description><![CDATA[<p>(This applies to the RTM version of SharePoint and is an extremely common problem that is occurring with all of our RTM servers. I think that it will quickly become one of those things that everyone does each and every time they install a SharePoint server.)</p>
<p>There are two reasons why the “Claims to Windows Token [...]]]></description>
			<content:encoded><![CDATA[<p>(This applies to the RTM version of SharePoint and is an extremely common problem that is occurring with <span style="text-decoration: underline;">all of our RTM servers</span>. I think that it will quickly become one of those things that everyone does each and every time they install a SharePoint server.)</p>
<p>There are two reasons why the “Claims to Windows Token Service” (c2wts) might not be started: (looking at the state of the service with the Service Manager MMC snapin will tell you which one applies to you)</p>
<p>1) If the service is in the Disabled state, then you did not turn it on using Central Admin. By default, c2wts is turned off (Disabled). You have to turn it on by-hand. This is one of the BOL post-installation steps that we tell you that you <span style="text-decoration: underline;">must</span> do if after an EXISTING FARM installation. It must be done on each machine as you add it to the farm. It is not a “do-it-once-for-the-whole-farm” kind of command. If you installed the PowerPivot server as a “NEW SERVER” then we start the c2wts service for you automatically.</p>
<p>2) If c2wts is set to Automatic, but it is not started, then there is a known bug with the service (won’t be fixed for RTM) that the service ships lacking a dependency to the Crypto service. On a slow server, like a VM or one that is heavily loaded during reboot. e.g. you installed an update and there is lots of background activity during the reboot sequence, then the service startup may fail. To fix the issue, you can add the dependency by-hand by executing the following command as an elevated administrator:</p>
<blockquote><p>C:\&gt; sc config c2wts depend= cryptsvc</p></blockquote>
<p>Ultimately, if you don’t add the dependency, you will find that the service actually does restart after a reboot. It takes a few minutes but ultimately the SharePoint infrastructure will see that there is a service that should be started but isn’t and SharePoint will start it for you. If you are unwilling to wait the 5-10 minutes for it to catch this condition, then issue the command above. Alternatively you can set the service as delayed start and that will solve the problem also.</p>
<p>Oh, the joys of administrating a SharePoint farm.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F04%2F02%2Fhelp-c2wts-has-fallen-and-it-cannot-get-up%2F&amp;linkname=Help%3A%20c2wts%20has%20fallen%20and%20it%20cannot%20get%20up"><img src="http://powerpivotgeek.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://powerpivotgeek.com/2010/04/02/help-c2wts-has-fallen-and-it-cannot-get-up/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>64-bit verses 32-bit . . . What&#8217;s right for you?</title>
		<link>http://powerpivotgeek.com/2010/03/25/64-bit-verses-32-bit-whats-right-for-you/</link>
		<comments>http://powerpivotgeek.com/2010/03/25/64-bit-verses-32-bit-whats-right-for-you/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 05:14:32 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Client]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/03/25/64-bit-verses-32-bit-whats-right-for-you/</guid>
		<description><![CDATA[<p>Recently we been hit with a rash of inquiries around whether folks should install the 32-bit version of the PowerPivot client, or go with the larger capacity 64-bit version. Office 2010 is the first version of Office to offer a native 64-bit option. In previous releases, you had to install the 32-bit version to run [...]]]></description>
			<content:encoded><![CDATA[<p>Recently we been hit with a rash of inquiries around whether folks should install the 32-bit version of the PowerPivot client, or go with the larger capacity 64-bit version. Office 2010 is the first version of Office to offer a native 64-bit option. In previous releases, you had to install the 32-bit version to run under WOW (Windows-On-Windows) mode. WOW emulates a 32-bit environment under the 64-bit OS. That is cool and all, but you were still limited by the 32-bit address space (2GB of memory). Now with Office 2010 64-bit the memory use is virtually unlimited for a client application.</p>
<p><span id="more-796"></span></p>
<p>So where to begin . . . Being a geek, let’s start off with a technical topic. When you are running in a 64-bit process, then you can only use dlls and other executables that are build as native 64-bit applications. Therefore whatever our choice, 32-bit or 64-bit, the ‘bit-ness’ of our approach has to hold for the entire process. For example, if we pick 64-bit, then we need the 64-bit version of Excel 2010, we need the 64-bit versions of any add-ins, such as PowerPivot for Excel, and we need 64-bit versions of any OLE DB providers or ODBC drivers (using the 64-bit version of the OLE DB Provider for ODBC <a href="http://blogs.msdn.com/data/archive/2008/04/07/64-bit-oledb-provider-for-odbc-msdasql-is-now-available-for-windows-server-2003.aspx">here</a>). So let’s keep that in mind.</p>
<p>Ok, here we go:</p>
<p>Pro for 32-bit:</p>
<ul>
<li>It does not require an upgrade to a new OS. While yes, Windows 64-bit is still Windows, there are subtle differences between them.</li>
<li>Likewise, it does not require new PCs. Depending on what your PCs are, they might not be capable of running 64-bit or may not have the capacity to make use of the 64-bit address space, e.g. they might only have 2GB of memory.</li>
<li>There is better availability of add-ins and other components on 32-bit. Your existing add-ins will continue to work. For example, if we want to run the Microsoft Communicator add-in to Outlook 2010, then there is only a 32-bit version available. The installation of 32-bit verses 64-bit is at the Office “level” – you cannot have a 32-bit version of Outlook and a 64-bit version of Excel.</li>
</ul>
<blockquote><p>An excellent example of this limitation is that the Data Mining add-in for Excel is only available as a 32-bit version. Therefore if you need to run the data mining add-in then you must install Excel 32-bit. The larger dataset and performance improvements of 64-bit are not available to you.</p></blockquote>
<ul>
<li>Likewise there is better availability of data providers on 32-bit. This can be important, particularly if you are using the PowerPivot mashup capability, then being able to use older legacy ODBC drivers is important. Some of those ODBC drivers are available in 64-bit versions (for example, there is a 64-bit version of the SQL Server OLE DB provider), but not all of them. Remember that you cannot mix ‘bit-ness’. If you install the 64-bit version of Excel, then you must use the 64-bit versions of any data providers. But this can be a double edged sword. Data refresh on the server is a 64-bit only environment. Therefore you could easily back yourself back into a corner by selecting a data provider that is available in 32-bit on the PowerPivot for Excel client – but is not available for the 64-bit server and thus you cannot use the data refresh facility on the server. The workaround for a situation like this can be problematic – it is to install a 32-bit version of SSRS and use the data feeds feature to get access to the data. The 32-bit server running Reporting Services is the ‘link’ via to the 32-bit provider. Or you could use a linked server in a similar 64-bit server connecting through a 32-bit server. Kind of a hack if you ask me.</li>
<li>Lastly, an advantage of 32-bit is that you can run Office 2007 and Office 2010 side-by-side on the same 32-bit desktop. This is not possible with 64-bit because there is no 64-bit version of Office 2007 (we need a common registry hive to have the side-by-side work).</li>
</ul>
<p>Pros for 64-bit:</p>
<ul>
<li>Let’s start with the biggest advantage first – you can handler larger datasets with 64-bit. You can save an Excel workbook with embedded PowerPivot data in it up to 2GB of embedded data. This represents 4GB of in-memory data. In the 32-bit world, you will find that the largest Excel workbook with embedded PowerPivot data is about 300-400MB. This is because in the 32-bit world, the 2GB virtual address space has to handle Excel, plus any add-ins including the PowerPivot for Excel add-in, plus the PowerPivot vertipaq in-memory engine, plus its data structures, dlls, etc . . . thus you will find the largest in-memory data is about 600-800MB – and that translates to a workbook of 300-400MB. Now, it may be that this is large enough for all of your user data, and you may even have a set a lower limit for the SharePoint maximum file size upload. Out-of-the-box PowerPivot for SharePoint in a “New Server” configuration sets the maximum file upload to 200MB. But if you want to go larger, you may quickly find that 32-bit just isn’t large enough for the datasets that end-users need.</li>
<li>There are some performance gains at the OS level as applications grow beyond 2GB. While this might not be an issue with most desktop applications such as Office, it is quite apparent in larger applications that push the computing power of the desktop – and those benefit from not having to page virtual address space to disk as its memory usage increases. No knowing if your desktop users might be using one of these ‘power’ applications on their desktop it is hard to establish if they will see a performance gain in going to 64-bit, but there are some apps that do.</li>
</ul>
<p>Thus you have some interesting choices ahead of yourself as we all walk the path of the Brave New World of 64-bit on the desktop. Let’s just hope that we can have some fun while we struggle with it.</p>
<p>Enjoy.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F03%2F25%2F64-bit-verses-32-bit-whats-right-for-you%2F&amp;linkname=64-bit%20verses%2032-bit%20.%20.%20.%20What%26rsquo%3Bs%20right%20for%20you%3F"><img src="http://powerpivotgeek.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://powerpivotgeek.com/2010/03/25/64-bit-verses-32-bit-whats-right-for-you/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

