<?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; Bug</title>
	<atom:link href="http://powerpivotgeek.com/category/bug/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>Health rule error reports: &#8220;PowerPivot: The deployed farm solution is not up-to-date.&#8221;</title>
		<link>http://powerpivotgeek.com/2010/10/24/health-rule-error-reports-powerpivot-the-deployed-farm-solution-is-not-up-to-date/</link>
		<comments>http://powerpivotgeek.com/2010/10/24/health-rule-error-reports-powerpivot-the-deployed-farm-solution-is-not-up-to-date/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 03:57:29 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Bug]]></category>
		<category><![CDATA[Health rules]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/10/24/health-rule-error-reports-powerpivot-the-deployed-farm-solution-is-not-up-to-date/</guid>
		<description><![CDATA[<p>I recently ran into this in scanning through some forum problem reports. Typically this health rule violation is reported on a large farm installation. The health rule reports the app servers that do not have PowerPivot installed on them as being out of date. Can you read “bug?” Yes, this is one. You can either [...]]]></description>
			<content:encoded><![CDATA[<p>I recently ran into this in scanning through some forum problem reports. Typically this health rule violation is reported on a large farm installation. The health rule reports the app servers that do not have PowerPivot installed on them as being out of date. Can you read “bug?” Yes, this is one. You can either safely ignore the error report or you can disable the health rule. The problem is solved in CU3.</p>
<p>As always, sorry for the inconvenience. We should have done a better job in our error reporting.</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%2F24%2Fhealth-rule-error-reports-powerpivot-the-deployed-farm-solution-is-not-up-to-date%2F&amp;linkname=Health%20rule%20error%20reports%3A%20%26ldquo%3BPowerPivot%3A%20The%20deployed%20farm%20solution%20is%20not%20up-to-date.%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/10/24/health-rule-error-reports-powerpivot-the-deployed-farm-solution-is-not-up-to-date/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Installation error: &#8220;System.IO.FileLoadException: Loading this assembly would produce a different grant set from other instances.&#8221;</title>
		<link>http://powerpivotgeek.com/2010/10/24/installation-error-system-io-fileloadexception-loading-this-assembly-would-produce-a-different-grant-set-from-other-instances/</link>
		<comments>http://powerpivotgeek.com/2010/10/24/installation-error-system-io-fileloadexception-loading-this-assembly-would-produce-a-different-grant-set-from-other-instances/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 03:48:17 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Bug]]></category>
		<category><![CDATA[Installation]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/10/24/installation-error-system-io-fileloadexception-loading-this-assembly-would-produce-a-different-grant-set-from-other-instances/</guid>
		<description><![CDATA[<p>Occasionally I’ve ran into this problem as part of a SharePoint installation. Typically this is with Excel Services – but since Excel Services is so central to the PowerPivot architecture, we run into this too. The ULS shows something like:</p>
<p>Medium             ExcelServiceBase.BeginProcessOperation: Caught an exception: System.TypeInitializationException: The type initializer for &#8216;Microsoft.Office.Excel.Server.CalculationServer.ExcelServerApp&#8217; threw an exception. &#8212;&#62; System.IO.FileLoadException: [...]]]></description>
			<content:encoded><![CDATA[<p>Occasionally I’ve ran into this problem as part of a SharePoint installation. Typically this is with Excel Services – but since Excel Services is so central to the PowerPivot architecture, we run into this too. The ULS shows something like:</p>
<blockquote><p>Medium             ExcelServiceBase.BeginProcessOperation: Caught an exception: System.TypeInitializationException: The type initializer for &#8216;Microsoft.Office.Excel.Server.CalculationServer.ExcelServerApp&#8217; threw an exception. &#8212;&gt; System.IO.FileLoadException: Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0&#215;80131401)     at Microsoft.Office.Server.Diagnostics.ULS.SendWatsonOnExceptionTag(UInt32 tagID, ULSCatBase categoryID, String output, Boolean fRethrowException, TryBlock tryBlock, CatchBlock catchBlock, FinallyBlock finallyBlock)     at Microsoft.Office.Excel.Server.CalculationServer.ExcelServerApp..ctor()     at Microsoft.Office.Excel.Server.CalculationServer.ExcelServerApp..cctor()     &#8212; End of inner exception stack trace &#8212;     at Microsoft.O&#8230;       555ec6e6-4a53-49cf-8cb7-4b8614a8fa21<br />
10/14/2010 11:56:42.20*            w3wp.exe (0&#215;1E38)                                     0&#215;25B8              Excel Services Application           Excel Calculation Services            ecd1              Medium                &#8230;ffice.Excel.Server.CalculationServer.ExcelServiceBase.SafeSetContext()     at Microsoft.Office.Excel.Server.CalculationServer.ExcelServiceBase.BeginProcessOperation(CommandParameter parameter, WebMethodBehaviorAttribute webMethodBehavior, WebMethodType webMethodType, AsyncCallback callback, Object state, UserOperation operation)          555ec6e6-4a53-49cf-8cb7-4b8614a8fa21<br />
10/14/2010 11:56:42.20              w3wp.exe (0&#215;1E38)                                     0&#215;25B8              Excel Services Application           Excel Calculation Services            d64g              Medium             UserOperation.Dispose: Disposing Microsoft.Office.Excel.Server.CalculationServer.Operations.EmptyOperation, WebMethod: .  555ec6e6-4a53-49cf-8cb7-4b8614a8fa21</p></blockquote>
<p>Solution: <strong>Reboot</strong></p>
<p>What I believe is happening is that as part of the installation process, an object is being registered in a different app domain (if you follow the long convoluted threads on this topic from the web).  On a reboot this is cleared up. I’ve never been able to discover the circumstance root cause – but always a reboot has solved it.</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%2F24%2Finstallation-error-system-io-fileloadexception-loading-this-assembly-would-produce-a-different-grant-set-from-other-instances%2F&amp;linkname=Installation%20error%3A%20%26ldquo%3BSystem.IO.FileLoadException%3A%20Loading%20this%20assembly%20would%20produce%20a%20different%20grant%20set%20from%20other%20instances.%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/10/24/installation-error-system-io-fileloadexception-loading-this-assembly-would-produce-a-different-grant-set-from-other-instances/feed/</wfw:commentRss>
		<slash:comments>0</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>&#8220;Unsupported features&#8221; warning message from Excel Services</title>
		<link>http://powerpivotgeek.com/2010/05/21/unsupported-features-warning-message-from-xcel-services/</link>
		<comments>http://powerpivotgeek.com/2010/05/21/unsupported-features-warning-message-from-xcel-services/#comments</comments>
		<pubDate>Sat, 22 May 2010 00:03:00 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Bug]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/05/17/unsupported-features-in-ctp3-workbooks-rtm-fixed/</guid>
		<description><![CDATA[<p>(Thanks to Ankur Goyal, one of the PowerPivot mid-tier testers, for this detailed write-up)</p>
<p>You might have noticed that Excel Services sometimes complains about how the PowerPivot workbook is organized. It reports an warning error like this one::</p>
<p></p>
<p>In this posting, I’ll talk about why these rectangles exist (i.e. what they do) and how you can have [...]]]></description>
			<content:encoded><![CDATA[<p>(Thanks to Ankur Goyal, one of the PowerPivot mid-tier testers, for this detailed write-up)</p>
<p>You might have noticed that Excel Services sometimes complains about how the PowerPivot workbook is organized. It reports an warning error like this one::</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/05/image4.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://powerpivotgeek.com/wp-content/uploads/2010/05/image_thumb4.png" width="227" height="240" /></a></p>
<p>In this posting, I’ll talk about why these rectangles exist (i.e. what they do) and how you can have this error come up – along with a fix for how to stop them.</p>
</p>
<p> <span id="more-1097"></span>Let’s start with the fix – and then I’ll explain how this error arises and how the fix works.
</p>
<p>1. Open the workbook in PowerPivot client and click on the any Pivot chart in the workbook and click on Selection Pane from the Format menu.</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/05/clip_image004.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image004" border="0" alt="clip_image004" src="http://powerpivotgeek.com/wp-content/uploads/2010/05/clip_image004_thumb.jpg" width="644" height="449" /></a></p>
<p>2. You will see a new pane “Selection and Visibility” right next to Field List. . In the pane I selected objects with name “Rectangle…” and deleted them. In the selection pane you see all shapes on the sheet: charts, slicers, rectangle shapes etc. You need to delete <span style="text-decoration: underline">all rectangle shapes</span> in order to get rid of the warning. Sometimes when you delete rectangle shape new one gets created, you can leave these new shapes alone. When you save workbook, they will be removed by our add-in. In CTP3 we used to create rectangle shapes with name O…, in the RTM build they have default name “Rectangle …”.</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/05/clip_image006.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image006" border="0" alt="clip_image006" src="http://powerpivotgeek.com/wp-content/uploads/2010/05/clip_image006_thumb.jpg" width="644" height="385" /></a></p>
<p>3. Save your workbook and upload it back to SharePoint. Clear your browser cache and you will notice that the warning message is gone. Don’t worry if rectangles come back after you delete them. This is expected behavior (because of the way that the add-in works – it always needs the rectangles to be there – our goal here is to delete the old ones.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Ok. The fix is done. Now let’s get our geek hats on and talk about what is happening and why.</p>
<p>First, what is the purpose of these rectangle areas? You will notice that each rectangle area surrounds a slicer area. The PowerPivot addin uses these rectangles to auto-position the slicers. When the add-in starts up, it create a rectangle for each slicer area. When Excel closes, the add-in removes the rectangles that it added. The add-in won’t touch other rectangles – it just deletes the ones that were added. Thus the normal condition is that the workbook with embedded PowerPivot data does not have rectangles in it.</p>
<p>This is good because Excel Services does not support rectangles. In fact it does not support any ‘shapes’ in the workbook. If they appear, then an error message is generated. This is the famous “Unsupported feature in workbook” error message.</p>
<p>Things are all well and good – The PowerPivot add-in does its thing – and Excel Services does its thing –&gt; all is great.</p>
<p>Now along comes a bug in the PowerPivot add-in. There is a sequence of steps (in fact, a <span style="text-decoration: underline">commonly used</span> sequence of steps) that can cause the add-in to not remove the rectangles. And once they are in the workbook, there is no automatic way to remove them. You have to use the fix above to remove them manually.</p>
<p>So, Dave, don’t hold us in suspense any longer! What’s the root cause?</p>
<p>(do you know you know how many PowerPivot developers it takes to screw in a light bulb?)</p>
<p>Ok, Sorry.</p>
<p>The bug is that if you hit Close in Excel with a dirty workbook, then when the data is saved to the workbook, but the rectangles are not removed (it is caused by a weird way that the Excel OM raises events). If you hit Save and then Close things are OK. So whether or not you get into this situation is not related to if you save or not – but rather it is <strong><span style="text-decoration: underline">HOW</span></strong> you save.</p>
<p><strong><span style="text-decoration: underline">Always Save and then Close – never just Close Excel.</span></strong></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%2F05%2F21%2Funsupported-features-warning-message-from-xcel-services%2F&amp;linkname=%26ldquo%3BUnsupported%20features%26rdquo%3B%20warning%20message%20from%20Excel%20Services"><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/05/21/unsupported-features-warning-message-from-xcel-services/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SharePoint Timer Service error</title>
		<link>http://powerpivotgeek.com/2010/05/12/sharepoint-timer-service-error/</link>
		<comments>http://powerpivotgeek.com/2010/05/12/sharepoint-timer-service-error/#comments</comments>
		<pubDate>Thu, 13 May 2010 05:06:28 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Bug]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/05/12/sharepoint-timer-service-error/</guid>
		<description><![CDATA[<p>In another one of those “oh heck, I just spent a couple hours of my life chasing my tail” and in an effort to ‘prepare everyone for RTM’, you might notice the following error pop up from time to time.</p>
<p> </p>
<p>And in the NT Event Log you might seen entries like:</p>
<p>An unhandled exception occurred and [...]]]></description>
			<content:encoded><![CDATA[<p>In another one of those “oh heck, I just spent a couple hours of my life chasing my tail” and in an effort to ‘prepare everyone for RTM’, you might notice the following error pop up from time to time.</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/05/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/05/image_thumb2.png" width="440" height="236" /></a> </p>
<p>And in the NT Event Log you might seen entries like:</p>
<blockquote><p>An unhandled exception occurred and the process was terminated.</p>
<p>Application ID: DefaultDomain     <br />Process ID: 1852      <br />Exception: System.Security.Cryptography.CryptographicException</p>
<p>Message: Keyset does not exist</p>
<p>StackTrace:&#160;&#160;&#160; at System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr)     <br />&#160;&#160; at System.Security.Cryptography.SafeProvHandle._FreeCSP(IntPtr pProvCtx)      <br />&#160;&#160; at System.Security.Cryptography.SafeProvHandle.ReleaseHandle()      <br />&#160;&#160; at System.Runtime.InteropServices.SafeHandle.InternalFinalize()      <br />&#160;&#160; at System.Runtime.InteropServices.SafeHandle.Dispose(Boolean disposing)      <br />&#160;&#160; at System.Runtime.InteropServices.SafeHandle.Finalize()</p>
</blockquote>
<p>There is a known problem with SharePoint RTM. The warning happens whenever the SharePoint Timer Service OWSTIMER.EXE recycles, typically every 24 hours, but it’s just a warning and can be safely ignored.&#160; The underlying exception happens on all systems but is only noticeable with the development tools installed since it causes the JIT debugger to fire. The underlying issue is being caused by the GC and has no bad impact unless you have a debugger installed which will trigger the popup.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F05%2F12%2Fsharepoint-timer-service-error%2F&amp;linkname=SharePoint%20Timer%20Service%20error"><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/05/12/sharepoint-timer-service-error/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Bug: Management Dashboard .odc file is broken</title>
		<link>http://powerpivotgeek.com/2010/04/26/bug-management-dashboard-odc-file-is-broken/</link>
		<comments>http://powerpivotgeek.com/2010/04/26/bug-management-dashboard-odc-file-is-broken/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 17:28:00 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Bug]]></category>
		<category><![CDATA[Management Dashboard]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/04/26/bug-management-dashboard-odc-file-is-broken/</guid>
		<description><![CDATA[<p>OK, here is our first ‘bug’. As part of the PowerPivot Management Dashboard, we ship a .odc file that is used to point to the PowerPivot dashboard data workbook (the data you see in the dashboard reports). You can click on the .odc file and Excel desktop will popup pointing to the dashboard data. Unfortunately [...]]]></description>
			<content:encoded><![CDATA[<p>OK, here is our first ‘bug’. As part of the PowerPivot Management Dashboard, we ship a .odc file that is used to point to the PowerPivot dashboard data workbook (the data you see in the dashboard reports). You can click on the .odc file and Excel desktop will popup pointing to the dashboard data. Unfortunately the file has a connect string property that you have to remove – i.e. the “;Embedded Data=False” at the end of the connect string.</p>
<p><span id="more-851"></span></p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/04/image5.png"><img style="display: inline; border: 0px;" title="image" src="http://powerpivotgeek.com/wp-content/uploads/2010/04/image_thumb4.png" border="0" alt="image" width="690" height="500" /></a></p>
<p>To locate the file click on:</p>
<ol>
<li>“All Site Content”, then</li>
<li>“PowerPivot Management” (under Document Libraries), then</li>
<li>a GUID subfolder (you should have one for each PowerPivot service application – normally there is only one)</li>
<li>You will see a series of subfolders with locales (1028-3082) and a “PowerPivot Management Data.xlsx” file. Click on your locale language (1033 is English (U.S.).</li>
<li>You will see a series of files which <span style="text-decoration: underline;">are</span> the contents of this Reports web part. You want to edit the “PowerPivot Management Data.odc” file.</li>
</ol>
<p>In the RTM bits, the .odc file contains an improper reference to a property on the connect string. Edit the file (I downloaded the file, edited it locally with Notepad and saved it back to the SharePoint document library with the name “PowerPivot Management (fixed).odc”) removing the “;Embedded Data=False” string:</p>
<blockquote><p>&lt;odc:ConnectionString&gt;Provider=MSOLAP.4;Integrated Security=SSPI;Persist Security Info=True;Initial Catalog=;Data Source=<a href="http://dwickert-rtm:55000/PowerPivot">http://dwickert-rtm:55000/PowerPivot</a> Management/6dac39ac-290a-4a2d-a41f-72a209ad01ce/PowerPivot Management Data.xlsx;MDX Compatibility=1;Safety Options=2;MDX Missing Member Mode=Error;Edit Mode=0<strong><span style="text-decoration: underline;"><span style="color: #800000;">;Embedded Data=False</span></span></strong>&lt;/odc:ConnectionString&gt;</p></blockquote>
<p>to:</p>
<blockquote><p>&lt;odc:ConnectionString&gt;Provider=MSOLAP.4;Integrated Security=SSPI;Persist Security Info=True;Initial Catalog=;Data Source=<a href="http://dwickert-rtm:55000/PowerPivot">http://dwickert-rtm:55000/PowerPivot</a> Management/6dac39ac-290a-4a2d-a41f-72a209ad01ce/PowerPivot Management Data.xlsx;MDX Compatibility=1;Safety Options=2;MDX Missing Member Mode=Error;Edit Mode=0&lt;/odc:ConnectionString&gt;</p></blockquote>
<p>(your server, ports, and service application guids will vary)</p>
<p>And now the .odc file works. Just click on the fixed .odc file. The net-net is that you just have to remove the “;Embedded Data=False” at the end of the connect string.</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/04/image6.png"><img style="display: inline; border: 0px;" title="image" src="http://powerpivotgeek.com/wp-content/uploads/2010/04/image_thumb5.png" border="0" alt="image" width="490" height="188" /></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%2F04%2F26%2Fbug-management-dashboard-odc-file-is-broken%2F&amp;linkname=Bug%3A%20Management%20Dashboard%20.odc%20file%20is%20broken"><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/26/bug-management-dashboard-odc-file-is-broken/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

