<?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</title>
	<atom:link href="http://powerpivotgeek.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://powerpivotgeek.com</link>
	<description>An adventure in managed self-service computing</description>
	<lastBuildDate>Wed, 14 Jul 2010 04:51:53 +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>If running on Windows Server, make sure you have &#8216;Desktop Experience&#8217; feature turned on</title>
		<link>http://powerpivotgeek.com/2010/07/12/if-running-on-windows-server-make-sure-you-have-desktop-experience-feature-turned-on/</link>
		<comments>http://powerpivotgeek.com/2010/07/12/if-running-on-windows-server-make-sure-you-have-desktop-experience-feature-turned-on/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 04:30:43 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/07/12/if-running-on-windows-server-make-sure-you-have-desktop-experience-feature-turned-on/</guid>
		<description><![CDATA[<p>Oh the joys of SharePoint again. I just responded to an internal posting where someone was raising the issue that “Path not found” errors were being reported when Excel Desktop tried to publish a workbook to SharePoint. Again, this isn’t PowerPivot directly, but it can be reported as a PowerPivot problem if the workbook contains [...]]]></description>
			<content:encoded><![CDATA[<p>Oh the joys of SharePoint again. I just responded to an internal posting where someone was raising the issue that “Path not found” errors were being reported when Excel Desktop tried to publish a workbook to SharePoint. Again, this isn’t PowerPivot directly, but it can be reported as a PowerPivot problem if the workbook contains PowerPivot data.</p>
<p>The issue is that on Windows Server machines (Window Server 2008 and Windows Server 2008 R2), the ‘Desktop Experience’ feature contains a required component for Excel (or any application posting content to SharePoint). </p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/07/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/07/image_thumb.png" width="644" height="484" /></a> </p>
<p>Normally you don’t see this because on a Windows client machine (Windows 7, Windows Vista, or Windows XP), Desktop Experience is turned on by default – but not for Server OS’s. The underlying component at issue here is WebDAV. Excel desktop need it for the publishing process because they post content to SharePoint as if SharePoint was a remote file share. Thus if you are going to run Excel desktop on a Windows Server OS and publish content to SharePoint – then you need ‘Desktop Experience’ turned on.</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%2F07%2F12%2Fif-running-on-windows-server-make-sure-you-have-desktop-experience-feature-turned-on%2F&amp;linkname=If%20running%20on%20Windows%20Server%2C%20make%20sure%20you%20have%20%26lsquo%3BDesktop%20Experience%26rsquo%3B%20feature%20turned%20on"><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/07/12/if-running-on-windows-server-make-sure-you-have-desktop-experience-feature-turned-on/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using a SharePoint list as a data source</title>
		<link>http://powerpivotgeek.com/2010/07/12/using-a-sharepoint-list-as-a-data-source/</link>
		<comments>http://powerpivotgeek.com/2010/07/12/using-a-sharepoint-list-as-a-data-source/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 23:10:48 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/07/12/using-a-sharepoint-list-as-a-data-source/</guid>
		<description><![CDATA[<p>So . . . here I am playing around with PowerPivot to get ready for a demo. As this is a group from the SharePoint dev team (actually SharePoint Online), I wanted to include some cool SharePoint functionality into the demo. Trying to be cool and ‘wow’ them, I decide to use a SharePoint list [...]]]></description>
			<content:encoded><![CDATA[<p>So . . . here I am playing around with PowerPivot to get ready for a demo. As this is a group from the SharePoint dev team (actually SharePoint Online), I wanted to include some cool SharePoint functionality into the demo. Trying to be cool and ‘wow’ them, I decide to use a SharePoint list as a data source. I want to show the data mashup capabilities of PowerPivot so I have the bulk of my demo come from the Contoso sample database (the three product catalog tables) and the 4 million row Sales Fact table.</p>
<p>I create my SP list by extracting the 11 distinct manufacturers – and I assign them to a ‘shipper’ that I made up.</p>
<p> <span id="more-1161"></span>
<p>When I go to SharePoint an click on:</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/07/capture.jpg"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="capture" border="0" alt="capture" src="http://powerpivotgeek.com/wp-content/uploads/2010/07/capture_thumb.jpg" width="640" height="484" /></a> </p>
<p>PowerPivot comes up but it returns an error:</p>
<blockquote><p>&quot;For security reasons DTD is prohibited in this XML document. To enable DTD processing set the ProhibitDtd property on XmlReaderSettings to false and pass the settings into XmlReader.Create method.&quot;</p>
</blockquote>
<p>So it turns out that I forgot (it happens to the best of us) to install the ADO.NET Data Services 3.5 SP1, located here: <a title="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=3e102d74-37bf-4c1e-9da6-5175644fe22d" href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=3e102d74-37bf-4c1e-9da6-5175644fe22d">http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=3e102d74-37bf-4c1e-9da6-5175644fe22d</a></p>
<p>Which I would have known if I had taken my own advice and read BOL beforehand. Read the “New server” installation notes here: <a title="http://msdn.microsoft.com/en-us/library/ee210708.aspx#nextsteps" href="http://msdn.microsoft.com/en-us/library/ee210708.aspx#nextsteps">http://msdn.microsoft.com/en-us/library/ee210708.aspx#nextsteps</a>&#160;</p>
<p>So the moral of the story is: RTFM</p>
<p>After installing ADO.NET Data Services on my SharePoint site, I was able to bring up the data feed in PowerPivot – setup the relationship between the Manufacturer field in the SharePoint list and the Manufacturer field in the Contoso database and I was off and running . . . I also setup daily data refresh job . . . and I could see the Gallery snapshot changing as I entered new data into the SharePoint list . . WOW!</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%2F07%2F12%2Fusing-a-sharepoint-list-as-a-data-source%2F&amp;linkname=Using%20a%20SharePoint%20list%20as%20a%20data%20source"><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/07/12/using-a-sharepoint-list-as-a-data-source/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Incoming emails to a PowerPivot Gallery</title>
		<link>http://powerpivotgeek.com/2010/07/12/incoming-emails-to-a-powerpivot-gallery/</link>
		<comments>http://powerpivotgeek.com/2010/07/12/incoming-emails-to-a-powerpivot-gallery/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 22:08:39 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/07/12/incoming-emails-to-a-powerpivot-gallery/</guid>
		<description><![CDATA[<p>From time to time you run into something on SharePoint that is a known SharePoint ‘issue’, but you wouldn’t necessarily see PowerPivot being impacted. After all SharePoint is this huge juggernaut of a product and PowerPivot is just this one small little app in the corner. Well, here is one that I ran into today. [...]]]></description>
			<content:encoded><![CDATA[<p>From time to time you run into something on SharePoint that is a known SharePoint ‘issue’, but you wouldn’t necessarily see PowerPivot being impacted. After all SharePoint is this huge juggernaut of a product and PowerPivot is just this one small little app in the corner. Well, here is one that I ran into today. We had a bug report that the incoming email setup for a PowerPivot Gallery was missing the ‘incoming emails’ link –&gt; after some searching, I found this interesting posting:</p>
<p><a title="http://blogs.msdn.com/b/malag/archive/2010/02/15/incoming-email-settings-link-disappears-from-document-library-settings.aspx" href="http://blogs.msdn.com/b/malag/archive/2010/02/15/incoming-email-settings-link-disappears-from-document-library-settings.aspx">http://blogs.msdn.com/b/malag/archive/2010/02/15/incoming-email-settings-link-disappears-from-document-library-settings.aspx</a></p>
<blockquote><p>One of my customer had created a custom document library deriving from OOTB document library. They are able to create their document library from custom list definition properly without any issues. But when in the document library created using custom list definition, if you go to list settings page, it does not show &quot;Incoming Email settings&quot; link under &quot;Communications&quot; column. Incoming Email settings are setup properly and OOTB document library has got incoming email settings link and it is getting emails properly. Just libraries created from their custom list definition does not have Incoming Email settings link! </p>
<p>So what is causing the issue?      <br />Digging into SharePoint, found that this is hard-coded and SharePoint will only show Incoming Email settings link for OOTB lists of type Announcements, Event, Document Library, Picture Library, XML Form, Discussion Board, Posts. </p>
</blockquote>
<p>Now all is explained. Gallery derives from Document Library, but it is not Document Library. Remember, all things PowerPivot run through SharePoint!</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%2F07%2F12%2Fincoming-emails-to-a-powerpivot-gallery%2F&amp;linkname=Incoming%20emails%20to%20a%20PowerPivot%20Gallery"><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/07/12/incoming-emails-to-a-powerpivot-gallery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installation error: Running the wrong version of SharePoint</title>
		<link>http://powerpivotgeek.com/2010/06/30/installation-error-running-the-wrong-version-of-sharepoint/</link>
		<comments>http://powerpivotgeek.com/2010/06/30/installation-error-running-the-wrong-version-of-sharepoint/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 23:53:03 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/06/30/installation-error-running-the-wrong-version-of-sharepoint/</guid>
		<description><![CDATA[<p>(Well, maybe you are – maybe you aren’t . . . How can you check directly?)</p>
<p>In an earlier post (http://powerpivotgeek.com/2010/03/04/installing-the-right-version-of-sharepoint/) I spoke about the way that PowerPivot determines if you are on the right version of SharePoint. Cory Retherford reported some errors and after investigating it for a few days we found the solution.</p>
<p>Here is [...]]]></description>
			<content:encoded><![CDATA[<p>(Well, maybe you are – maybe you aren’t . . . How can you check directly?)</p>
<p>In an earlier post (<a title="http://powerpivotgeek.com/2010/03/04/installing-the-right-version-of-sharepoint/" href="http://powerpivotgeek.com/2010/03/04/installing-the-right-version-of-sharepoint/">http://powerpivotgeek.com/2010/03/04/installing-the-right-version-of-sharepoint/</a>) I spoke about the way that PowerPivot determines if you are on the right version of SharePoint. Cory Retherford reported some errors and after investigating it for a few days we found the solution.</p>
<p>Here is some more info:</p>
<p>The SQL setup rule checks for the guid of installed SharePoint. We have two guids that correspond to the SharePoint Server Enterprise Edition SKU. If the guid in the registry doesn’t match one of our guids and a farm is configured and the bits for SharePoint exists then the rule is triggered. </p>
<p>What is the value of the following registry key?</p>
<blockquote><p>SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\InstalledProducts\{90140000-110D-0000-1000-0000000FF1CE}</p>
</blockquote>
<p>The installed guids we are looking for is either one of these:</p>
<blockquote><p>&quot;D5595F62-449B-4061-B0B2-0CBAD410BB51&quot;     <br /> &quot;88BED06D-8C6B-4E62-AB01-546D6005FE97&quot;</p>
</blockquote>
<p>If your guids do not match these then we believe that the installation is not SharePoint 2010 Enterprise Edition and you see a validation error.</p>
<p>It turns out that in Cory’s case, there is an interesting SharePoint bug that you might run into. There was a bad early SharePoint Server 2010 FIS distribution made available for download, see KB2143810 (<a href="http://support.microsoft.com/kb/2143810">http://support.microsoft.com/kb/2143810</a>), that impacted the guids installed on the system. Cory installed the right ‘version’ of SharePoint 2010, but not all of the features were activated and the <u>wrong</u> guid was being reported.</p>
<p>At least now, if you get a “wrong version of SharePoint installed” error, you have something to check.</p>
<p>Hope that helps.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F06%2F30%2Finstallation-error-running-the-wrong-version-of-sharepoint%2F&amp;linkname=Installation%20error%3A%20Running%20the%20wrong%20version%20of%20SharePoint"><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/06/30/installation-error-running-the-wrong-version-of-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Client: What happens if I install the wrong &#8216;bitness&#8217;?</title>
		<link>http://powerpivotgeek.com/2010/06/17/client-what-happens-if-i-install-the-wrong-bitness/</link>
		<comments>http://powerpivotgeek.com/2010/06/17/client-what-happens-if-i-install-the-wrong-bitness/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 00:07:35 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Client]]></category>
		<category><![CDATA[Installation]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/06/17/client-what-happens-if-i-install-the-wrong-bitness/</guid>
		<description><![CDATA[<p>Recently ran into this situation: Customer installed the wrong PowerPivot bits on their machine. They were running on a 64-bit OS with Office 2010 x64, but installed PowerPivot for Excel 32-bit. Everything installed OK, but when they clicked on the PowerPivot tab in Excel; then the PowerPivot Window they received the following error:</p>
<p>Embedded Analysis Services [...]]]></description>
			<content:encoded><![CDATA[<p>Recently ran into this situation: Customer installed the wrong PowerPivot bits on their machine. They were running on a 64-bit OS with Office 2010 x64, but installed PowerPivot for Excel 32-bit. Everything installed OK, but when they clicked on the PowerPivot tab in Excel; then the PowerPivot Window they received the following error:</p>
<blockquote><p>Embedded Analysis Services Engine: Could not open embedded PowerPivot data     <br />Click OK      <br />Embedded Analysis Services Engine: Could not open embedded PowerPivot data      <br />Unable to load the VertiPaq engine (HRESULT 0&#215;0800A03EC)</p>
</blockquote>
<p>Solution: Uninstalled PowerPivot for Excel and installed the x64 bit version of PowerPivot. Everything now works.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F06%2F17%2Fclient-what-happens-if-i-install-the-wrong-bitness%2F&amp;linkname=Client%3A%20What%20happens%20if%20I%20install%20the%20wrong%20%26lsquo%3Bbitness%26rsquo%3B%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/06/17/client-what-happens-if-i-install-the-wrong-bitness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modifying the SharePoint v4.master page for the PowerPivot Gallery</title>
		<link>http://powerpivotgeek.com/2010/06/17/modifying-the-sharepoint-v4-master-page-for-the-powerpivot-gallery/</link>
		<comments>http://powerpivotgeek.com/2010/06/17/modifying-the-sharepoint-v4-master-page-for-the-powerpivot-gallery/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 20:06:37 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/06/17/modifying-the-sharepoint-v4-master-page-for-the-powerpivot-gallery/</guid>
		<description><![CDATA[<p>Attempting to use a modified version of the SharePoint v4.master page is a great way to style our SharePoint site.&#160; If you interested in doing this, then the first thing to do is to make sure that you go to the right place:</p>

Go to Site Settings -&#62; Site Collection Features -&#62; Make sure “SharePoint Server [...]]]></description>
			<content:encoded><![CDATA[<p>Attempting to use a modified version of the SharePoint v4.master page is a great way to style our SharePoint site.&#160; If you interested in doing this, then the first thing to do is to make sure that you go to the right place:</p>
<ol>
<li>Go to Site Settings -&gt; Site Collection Features -&gt; Make sure “SharePoint Server Publishing Infrastructure” is activated. </li>
<li>Go to Site Settings -&gt; Manage Site Features -&gt; Make sure “SharePoint Server Publishing” is activated.</li>
<li>Finally then on the Site settings page, you should get an entry for Master Page under the “Look and feel” section.</li>
</ol>
<p>Modifying the master page works fine for the landing page, document libraries, calendar and other pages—but causes an error with the PowerPivot Gallery.&#160; The error is—“The referenced file ‘/_layouts/Gemini/ReportGalleryView.ascx’ is not allowed on this page.&quot;&#160; The problem is that the page cannot load because the control ReportGalleryView.ascx is not marked as a safe control. To mark report galllery view as a safe control the following like should be added to web.config on &quot;SafeControls&quot; (under C:\inetpub\wwwroot\wss\VirtualDirectories\&lt;web app port#, e.g. 80), in the &lt;SharePoint&gt;/&lt;SafeControls&gt; section</p>
<blockquote><p>&lt;SafeControl Src=&quot;~/_layouts/powerpivot/*&quot; IncludeSubFolders=&quot;True&quot; Safe=&quot;True&quot; AllowRemoteDesigner=&quot;True&quot; SafeAgainstScript=&quot;True&quot; /&gt;</p>
</blockquote>
<p>Enjoy.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F06%2F17%2Fmodifying-the-sharepoint-v4-master-page-for-the-powerpivot-gallery%2F&amp;linkname=Modifying%20the%20SharePoint%20v4.master%20page%20for%20the%20PowerPivot%20Gallery"><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/06/17/modifying-the-sharepoint-v4-master-page-for-the-powerpivot-gallery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Uninstalling PowerPivot does what ?? Arg!!@@!!!</title>
		<link>http://powerpivotgeek.com/2010/06/14/uninstalling-powerpivot-does-what-arg/</link>
		<comments>http://powerpivotgeek.com/2010/06/14/uninstalling-powerpivot-does-what-arg/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 23:06:52 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Installation]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/06/14/uninstalling-powerpivot-does-what-arg/</guid>
		<description><![CDATA[<p>(With my thanks to Fernando Delgado, our excellent setup dev for working up this solution)</p>
<p>After uninstalling PowerPivot for SharePoint, Excel Services and other features in the PremiumSite feature will be disabled. At a certain level for “new server”, this makes sense since turning on and configuring of Excel Services et. al. was part of the [...]]]></description>
			<content:encoded><![CDATA[<p>(With my thanks to Fernando Delgado, our excellent setup dev for working up this solution)</p>
<p>After uninstalling PowerPivot for SharePoint, Excel Services and other features in the PremiumSite feature will be disabled. At a certain level for “new server”, this makes sense since turning on and configuring of Excel Services et. al. was part of the “new server” installation. But for “existing farm”, this is a huge NO-NO and will cause considerable aggregation. Fortunately it is easy to fix. In order to re-enable the feature in all the sites in the Farm where it was previously enabled you just need to follow a simple set of steps. If there is a small number of sites, just re-enable them manually with the regular UI. If you would like an automated way, then the following step will scan through the SQL Server log file, pull out those sites that were disable and re-enable them (this is great if you have a large number of sites or if you don’t know which sites to enable manually).</p>
<p><strong>Note:</strong> All these steps must be run as administrator </p>
<p> <span id="more-1142"></span>
</p>
<ol>
<li>Go to %ProgramFiles%\Microsoft Sql Server\100\Setup Bootstrap\Log\ </li>
<li>Look for the directory with the modified date corresponding to your uninstall procedure. If no other SQL component else has been installed or you have not run repair, then this should be the directory with the latest date. </li>
<li>The directory names will be something like YearMonthDay_HourMinutesSeconds choose the newer one and navigate to that directory. </li>
<li>Copy Detail.txt to a known location like C:\LogFiles </li>
<li>Copy the file Post–KJUninstall.ps1 (see below) to the same location as the Detail.txt file </li>
<li>Start the SharePoint 2010 Management Shell as the Farm Administrator account. </li>
<li>From the shell run the following command (assuming both files are in C:\LogFiles): (as an administrator)</li>
</ol>
<blockquote><p>PS C:\LogFiles&gt; C:\LogFiles\Post-KJUninstall.ps1 –UninstallLogFilePath C:\LogFiles\Detail.txt </p>
</blockquote>
<p>That should reactivate the PremiumSite feature for all the sites where it was previously enabled. </p>
<p>File: Post-KJUninstall.ps1 :</p>
<blockquote><p>Param($UninstallLogFilePath)     <br />$file = $UninstallLogFilePath </p>
<p>Add-PSSnapin Microsoft.SharePoint.PowerShell </p>
<p>$powerPivotFeatures = @(&quot;1a33a234-b4a4-4fc6-96c2-8bdb56388bd5&quot;, &quot;e9c4784b-d453-46f5-8559-3c891d7159dd&quot;, &quot;f8c51e81-0b46-4535-a3d5-244f63e1cab9&quot;)     <br />$premiumSiteId = &quot;8581a8a7-cf16-4770-ac54-260265ddb0b2&quot; </p>
<p>#Remove PowerPivot features     <br />foreach($featureId in $powerPivotFeatures)      <br />{      <br />&#160;&#160;&#160; if(Get-SPFeature | where {$_.Id -eq $featureId})      <br />&#160;&#160;&#160; {      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; Write-Host &quot;Found feature $featureId&quot;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; Uninstall-SPFeature -Id $featureId -force      <br />&#160;&#160;&#160; }      <br />} </p>
<p># Verify if the premium site feature was indeed removed     <br />$premiumSiteFeature = Get-SPFeature | where {$_.Id -eq $premiumSiteId}      <br />if($premiumSiteFeature -eq $null)      <br />{      <br />&#160;&#160;&#160; # Re-install the feature      <br />&#160;&#160;&#160; Install-SPFeature -path PremiumSite      <br />} </p>
<p>switch -regex -file $file     <br />{      <br />&#160;&#160;&#160; &quot;de-activating feature&quot;&#160;&#160;&#160; {      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; # This will return every entry in the file for feature deactivation      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $Url = $_.Split() | ?{$_ -match &quot;<a href="http://([a-zA-Z0-9_\-]+)([\.][[a-zA-Z0-9_\-]+)*(\:[0-9]+)*(/\S*)?&quot;}">http://([a-zA-Z0-9_\-]+)([\.][[a-zA-Z0-9_\-]+)*(\:[0-9]+)*(/\S*)?&quot;}</a>      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; #Remove the period at the end      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $Url = $Url.Substring(0, $Url.Length &#8211; 1)      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; # Match the Guid for the feature      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $Id = $_.Split() | ?{$_ -match &quot;([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}&quot;}      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if(!($powerPivotFeatures -contains $Id))      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Write-Host &quot;Re-activating feature $Id on site $Url&quot;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Enable-SPFeature -Id $Id -Url $Url      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; trap       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Write-Host &quot;Could not Re-activate feature $Id on site $Url&quot;      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Write-Host $(&quot;Exception: &quot;+ $_.Exception.Message);      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; continue      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; } </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; continue     <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }      <br />} </p>
</blockquote>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F06%2F14%2Funinstalling-powerpivot-does-what-arg%2F&amp;linkname=Uninstalling%20PowerPivot%20does%20what%20%3F%3F%20Arg%21%21%40%40%21%21%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/06/14/uninstalling-powerpivot-does-what-arg/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installation failure: &#8220;Could not load file or assembly &#8216;Microsoft.AnalysisServices.SharePoint.Integration.dll&#8217; . . .</title>
		<link>http://powerpivotgeek.com/2010/06/14/installation-failure-could-not-load-file-or-assembly-microsoft-analysisservices-sharepoint-integration-dll/</link>
		<comments>http://powerpivotgeek.com/2010/06/14/installation-failure-could-not-load-file-or-assembly-microsoft-analysisservices-sharepoint-integration-dll/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 22:42:21 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/06/14/installation-failure-could-not-load-file-or-assembly-microsoft-analysisservices-sharepoint-integration-dll/</guid>
		<description><![CDATA[<p>We’ve been hearing reports of this failure for several weeks, but we’ve not been able to get a good repro until a week ago. And it was the most “most reported bug” at TechEd &#8212; if there is such a category   &#8212; but it looks like we have a solution after many hours [...]]]></description>
			<content:encoded><![CDATA[<p>We’ve been hearing reports of this failure for several weeks, but we’ve not been able to get a good repro until a week ago. And it was the most “most reported bug” at TechEd &#8212; if there is such a category <img src='http://powerpivotgeek.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  &#8212; but it looks like we have a solution after many hours of hard work.</p>
<p>(With my thanks to Fernando Delgado, our excellent setup dev for working up this solution)</p>
<p>(RTM build 10.5.1600.1) As a picture is worth a thousand words, here is the error:</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/06/image.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/06/image_thumb.png" width="644" height="171" /></a></p>
<p>This failure occurs when installing PowerPivot (either “existing farm” or “new server”) after a previous SSAS installation has been done on the machine.</p>
</p>
<p> <span id="more-1141"></span>
</p>
<p><strong>Cause:</strong></p>
<p>In SQL Server 2008 R2, the msmdsrv.exe process (which is the SSAS engine) includes a reference to the PowerPivot SharePoint integration dll (as do other components). Since the normal SSAS installation does not include the SharePoint integration dll, the registration marks the .NET assembly cache as failed. Later on, when you install PowerPivot, we copy the SharePoint integration dll to the right place, but the .NET assembly cache has already been marked failed from the previous SSAS installation and .NET does not attempt to load it (and you get the error message above).</p>
<p><strong>Solution:</strong></p>
<p><u>A. <strong>Best solution</strong>:</u> If using “New Server” PowerPivot installation option then delay installing any instances besides SQL Server RDMBS until <u>after</u> you have PowerPivot installed and configured. That way you never hit this error condition. Doing a SQL Server RDBMS installation <u>only</u> for “existing farm” is OK – it is the installation of other non-RDBMS components that is the root cause of the issue.</p>
<p><u>B. If you have an RDBMS only instance(s) installed and are getting ready for a PowerPivot installation (“New Server” or “Existing Farm”):</u> Save the following text to a file named setup100.exe.config (no .txt extension):</p>
<blockquote><ol>
<li>Save the following text to a file named setup100.exe.config (no .txt extension):        </p>
<p>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt;         <br />&lt;configuration&gt;         <br />&#160; &lt;runtime&gt;         <br />&#160;&#160;&#160; &lt;disableCachingBindingFailures enabled=&quot;1&quot; /&gt;         <br />&#160; &lt;/runtime&gt;         <br />&lt;/configuration&gt;         </li>
<li>b. Copy the file to the folder: %ProgramFiles%\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\x64\ and install PowerPivot for SharePoint. </li>
</ol>
</blockquote>
<p><u>C. You have already installed PowerPivot and gotten the “Could not load file or assembly” error above</u>, then:</p>
<blockquote><ol>
<li>Uninstall the PowerPivot instance of Analysis Services, this will also uninstall PowerPivot for SharePoint components. </li>
<li>Reboot the machine </li>
<li>Run scripts to re-enable PremiumSite feature. See <a title="http://powerpivotgeek.com/2010/06/14/uninstalling-powerpivot-does-what-arg/" href="http://powerpivotgeek.com/2010/06/14/uninstalling-powerpivot-does-what-arg/">http://powerpivotgeek.com/2010/06/14/uninstalling-powerpivot-does-what-arg/</a> </li>
<li>Reboot the machine </li>
<li>Copy the setup100.exe.config file, as outlined in (B) above, to %ProgramFiles%\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\x64 </li>
<li>Install PowerPivot for SharePoint. </li>
</ol>
</blockquote>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F06%2F14%2Finstallation-failure-could-not-load-file-or-assembly-microsoft-analysisservices-sharepoint-integration-dll%2F&amp;linkname=Installation%20failure%3A%20%26ldquo%3BCould%20not%20load%20file%20or%20assembly%20%26lsquo%3BMicrosoft.AnalysisServices.SharePoint.Integration.dll%26rsquo%3B%20.%20.%20."><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/06/14/installation-failure-could-not-load-file-or-assembly-microsoft-analysisservices-sharepoint-integration-dll/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Changing service accounts and handling password resets</title>
		<link>http://powerpivotgeek.com/2010/06/14/changing-service-accounts-and-handling-password-resets/</link>
		<comments>http://powerpivotgeek.com/2010/06/14/changing-service-accounts-and-handling-password-resets/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 21:29:00 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Central Admin]]></category>
		<category><![CDATA[passwords]]></category>
		<category><![CDATA[service accounts]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2009/11/17/changing-service-accounts-and-handling-password-resets/</guid>
		<description><![CDATA[<p>While this is technically a pure SharePoint posting, we have found it useful in our labs. We have password resets all of the time and this cheat sheet was developed to make it as painless as possible. I hope you find it as useful as we do.</p>
<p>Step 1: Start Services.msc</p>

For each service using the machine [...]]]></description>
			<content:encoded><![CDATA[<p>While this is technically a pure SharePoint posting, we have found it useful in our labs. We have password resets all of the time and this cheat sheet was developed to make it as painless as possible. I hope you find it as useful as we do.</p>
<p>Step 1: Start Services.msc</p>
<ul>
<li>For each service using the machine account, update the password and start the service</li>
</ul>
<p>Step 2: Start IIS Manager. Under Application Pools, select each of the app pools that use the account that you are changing:</p>
<ul>
<li>Click Advanced Settings</li>
<li>Click Identity</li>
<li>Set the username and password</li>
<li>iisreset</li>
</ul>
<p><span id="more-194"></span></p>
<p>Step 3: Start SharePoint Central Admin, click on Security</p>
<ul>
<li>Select ‘Configure Managed Accounts’</li>
<li>Edit the account</li>
<li>Enter ‘Existing Password’</li>
</ul>
<p>Step 4: If RS is installed, start ‘Reporting Services Configuration Manager’</p>
<ul>
<li>Select ‘Database’</li>
<li>Select ‘Change Credentials’, click ‘Next’ to get to the Credentials page</li>
<li>Enter new password</li>
<li>Take the defaults of the rest of the pages and finish the wizard</li>
</ul>
<p>And for more details, look in BOL under: <a href="http://msdn.microsoft.com/en-us/library/ee210642%28SQL.105%29.aspx">http://msdn.microsoft.com/en-us/library/ee210642%28SQL.105%29.aspx</a></p>
<p><strong>Updated: 21-Dec-2009</strong> –&gt; note that you also might have to update the PowerPivotUnattendedAccount if you have done a NEW FARM installation. In NEW FARM, we create this account in Secure Store and assign it the Farm administrator’s username and password. If that is the password that has changed, then you will likely also have to go into the PowerPivotUnattendedAccount application in Secure Store and enter a new password.</p>
<p><strong>Updated: 14-Jun-2010</strong> –&gt; depending on your configuration you might also have to change the password for the SQL RDBMS, AS instances or auxiliary processes such as SQL Agent. (I just got burned on this today when I had a password change, ran through this list of items to update and forgot SQL Agent and the RDBMS).</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%2F06%2F14%2Fchanging-service-accounts-and-handling-password-resets%2F&amp;linkname=Changing%20service%20accounts%20and%20handling%20password%20resets"><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/06/14/changing-service-accounts-and-handling-password-resets/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Why is allocation always selecting the same machine?</title>
		<link>http://powerpivotgeek.com/2010/06/14/why-is-allocation-always-selecting-the-same-machine/</link>
		<comments>http://powerpivotgeek.com/2010/06/14/why-is-allocation-always-selecting-the-same-machine/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 21:19:28 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Midtier]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/06/14/why-is-allocation-always-selecting-the-same-machine/</guid>
		<description><![CDATA[<p>If you are running PowerPivot for SharePoint on more than one backend app server, then it is a common issue that folks are seeing only one server being used. It turns out that this might be ‘by-design’ so let’s talk about it for a bit. Let’s look at the two allocation methods we support:</p>

Round-robin (the [...]]]></description>
			<content:encoded><![CDATA[<p>If you are running PowerPivot for SharePoint on more than one backend app server, then it is a common issue that folks are seeing only one server being used. It turns out that this might be ‘by-design’ so let’s talk about it for a bit. Let’s look at the two allocation methods we support:</p>
<ol>
<li>Round-robin (the default) – This algorithm selects first one app server; then the next; then the next; until it loops back around. Since the actual marker for what is “the next” is kept in the proxy for the PowerPivot service application, the net-effect of this in practice is that the selection looks different from what you would expect. The behavior is a lot closer to random rather than sequential. Being random, and with a low number of servers to pick from (for example, 2), you should naturally expect that one app server might seem to be biased. Add more servers and you will see less bias.</li>
<li>Health-based – This is the one that most large shops will likely choose. The idea behind health-based is that the system will decide which is the ‘best’ app server for a machine. So when the allocation appears bias, it seems like health-based isn’t working. In reality, health-based may be doing exactly what was intended. If all machines have memory available (i.e. none of them are under memory pressure), then health-based uses CPU to break any ties, i.e. which ever CPU has the most CPU free wins. Let’s take an example:Suppose you have two machines “A” and “B”. Both are running PowerPivot. They both have 32GB on them with four quad-core processors. Rather than being dedicated to PowerPivot, “A” also doubles as the backend app server for Excel Services. Likewise, “B” doubles as the backend app server for PerformancePoint Services. So long as Excel Services and PerformancePoint consume similar CPU time, then databases will be loaded back and forth between “A” and “B” as one is more lightly loaded than the other. However, if PerformancePoint is lightly used and “B” is consistently less loaded (CPU-wise), then you will see PowerPivot databases being allocated to “B” until it becomes under memory pressure, and then allocation will shift to “A”.</li>
</ol>
<p>All-in-all, health-based is still the best algorithm for large shops. Remember that the PowerPivot engine is an in-memory system. Our first goal is to get databases allocated wherever memory is available – balancing across the farm is not a priority.</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%2F06%2F14%2Fwhy-is-allocation-always-selecting-the-same-machine%2F&amp;linkname=Why%20is%20allocation%20always%20selecting%20the%20same%20machine%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/06/14/why-is-allocation-always-selecting-the-same-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
