<?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; SharePoint</title>
	<atom:link href="http://powerpivotgeek.com/category/sharepoint/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>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>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>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>&#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>1</slash:comments>
		</item>
		<item>
		<title>Testing the Claims To Windows Token Service for different identities</title>
		<link>http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/</link>
		<comments>http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/#comments</comments>
		<pubDate>Fri, 21 May 2010 15:54:00 +0000</pubDate>
		<dc:creator>powerpivotwahoo</dc:creator>
				<category><![CDATA[Midtier]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/05/21/testing-the-claims-to-windows-token-service-for-different-identities/</guid>
		<description><![CDATA[<p>As noted in a previous blog post on debugging “The data connection uses windows authentication and user credentials could not be delegated” there are times (very rare times) when the issue is a problem with your Active Directory configuration. I want to reiterate that this is rare and it is usually something as simple as [...]]]></description>
			<content:encoded><![CDATA[<p>As noted in a previous blog post on debugging <a href="the-data-connection-uses-windows-authentication-and-user-credentials-could-not-be-delegated" target="_blank">“The data connection uses windows authentication and user credentials could not be delegated”</a> there are times (very rare times) when the issue is a problem with your Active Directory configuration. I want to reiterate that this is rare and it is usually something as simple as the c2wts service is not running. However, we have now seen two cases of “mis-configured” Active Directories which have led to this problem. It can manifest itself as either you always get this error or you get this error for all users except a couple. To test and see if it is a problem with your Active Directory settings, I am including some code for you to compile and run. At a very low level in Excel Calculation Services, they take the User Principal Name of the interactive user and attempt to convert it to a WindowsIdentity token using c2wts. The code below attempts to do the exact same thing and then just checks for errors and tries to give you some useful information about it (it is derived from <a href="http://msdn.microsoft.com/en-us/library/ee517258.aspx" target="_blank">this</a>). If you compile this application and test the interactive users by attempting to get their WindowsIdentity token and it succeeds for them, then the issue was one of the ones listed earlier in the post on data connection delegation issues. If acquiring the token fails, then you most likely have an AD issue. Dave, Denny and I will try to keep adding information about what the possible configuration errors could be, but here is some code so you can test this on your own and perhaps resolve the whole problem without having to call CSS.</p>
<p><span id="more-1112"></span>Make sure to run this executable as the service account under which Excel Calculation Service is running. If you are not sure what account that is, first go to Central Admin’s “Security” page:</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/05/CentralAdmin_Security.png"><img style="border-width: 0px;" src="http://powerpivotgeek.com/wp-content/uploads/2010/05/CentralAdmin_Security_thumb.png" border="0" alt="CentralAdmin_Security" width="644" height="264" /></a></p>
<p>Then under “General Security” chose “Configure Service Accounts”:</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/05/CentralAdmin_ManageServiceAccounts.png"><img style="border-width: 0px;" src="http://powerpivotgeek.com/wp-content/uploads/2010/05/CentralAdmin_ManageServiceAccounts_thumb.png" border="0" alt="CentralAdmin_ManageServiceAccounts" width="1028" height="307" /></a></p>
<p>In the drop down list on the right side you are looking for a “Service Application Pool” which contains your “Excel Services Application Web Service Application” (in the middle list). The account at the bottom would be the account you want to make sure you run the test application as to accurately simulate what ECS is doing when you are actually using SharePoint. Using the wrong account might give misleading results.</p>
<p>You must provide the User Principle Name (UPN) of the interactive user to the test application. All users have an implicit UPN which can be expressed as &lt;user&gt;@&lt;domain&gt; (I would be <a href="mailto:“leegr@redmond">“leegr@redmond</a>”). You may also have been given an explicit UPN which might look slightly different (although the implicit UPN would still work). If you are concerned that you are not using the right UPN, you can dig through the ULS log to find the UPN associated with the failure. This is the log entry that I got when I turned the c2wts service off:</p>
<blockquote><p>SPSecurityContext.WindowsIdentity: Could not retrieve a valid windows identity for NTName=&#8217;REDMOND\leegr&#8217;, UPN=&#8217;leegr@microsoft.com&#8217;. UPN is required when Kerberos constrained delegation is used.</p></blockquote>
<p>Note that the bit about &#8220;Kerberos” can be ignored because we do not require Kerberos constrained delegation to work (and neither does c2wts … it just returns a limited token in this case which is fine for us). Also, your log entry might look a bit different since I don’t know if they output different things to the log based on the exception type at this level.</p>
<p>To compile this code, you need to link to:</p>
<ul>
<li>Microsoft.IdentityModel</li>
<li>System</li>
<li>System.Core</li>
<li>System.IdentityModel</li>
<li>System.ServiceModel</li>
</ul>
<p> </p>
<p>using System;<br />
using System.Security.Principal;<br />
using System.ServiceModel;<br />
using System.ServiceModel.Security;<br />
using Microsoft.IdentityModel.WindowsTokenService;</p>
<p>namespace C2WTSTest<br />
{<br />
    class Program<br />
    {<br />
        static void OutputUsage()<br />
        {<br />
            Console.WriteLine(&#8220;Usage:&#8221;);<br />
            Console.WriteLine(&#8220;/tc2wtstest.exe &lt;upn&gt;&#8221;);<br />
            Console.WriteLine(&#8220;/tExample: c2wtstest.exe dwickert@redmond&#8221;);<br />
        }</p>
<p>        static void Main(string[] args)<br />
        {<br />
            if ((args.Length != 1) || (string.Compare(args[0], &#8220;/?&#8221;) == 0) || (string.Compare(args[0], &#8220;-?&#8221;) == 0) || (string.Compare(args[0], &#8220;?&#8221;) == 0))<br />
            {<br />
                OutputUsage();<br />
                return;<br />
            }</p>
<p>            string upn = args[0];</p>
<p>            WindowsIdentity windowsIdentity = null;<br />
            if (!String.IsNullOrEmpty(upn))<br />
            {<br />
                try<br />
                {<br />
                    Console.WriteLine(&#8220;Attempting to acquire windows identity for upn: &#8216;{0}&#8217;&#8221;, upn);<br />
                    windowsIdentity = S4UClient.UpnLogon(upn);<br />
                }<br />
                catch (SecurityAccessDeniedException)<br />
                {<br />
                    Console.WriteLine(&#8220;Could not map the upn claim to a valid windows identity. Security Access Denied&#8221;);<br />
                    return;<br />
                }<br />
                catch (EndpointNotFoundException)<br />
                {<br />
                    Console.WriteLine(&#8220;Could not map the upn claim to a valid windows identity because the c2wts service was unavailable&#8221;);<br />
                    return;<br />
                }<br />
                catch (FaultException e)<br />
                {<br />
                    Console.WriteLine(&#8220;Could not map the upn claim to a valid windows identity because the c2wts service returned a fault&#8221;);<br />
                    Console.WriteLine(e.ToString());<br />
                    return;<br />
                }<br />
                catch (Exception e)<br />
                {<br />
                    Console.WriteLine(&#8220;Could not map the upn claim to a valid windows identity because of an unexpected exception&#8221;);<br />
                    Console.WriteLine(e.ToString());<br />
                    return;<br />
                }<br />
            }<br />
            else<br />
            {<br />
                throw new Exception(&#8220;No UPN claim found&#8221;);<br />
            }</p>
<p>            using (WindowsImpersonationContext ctxt = windowsIdentity.Impersonate())<br />
            {<br />
                Console.WriteLine(&#8220;Successfully acquired token and impersonated user: &#8216;{0}&#8217;&#8221;, WindowsIdentity.GetCurrent().Name);<br />
            }</p>
<p>        }<br />
    }<br />
}</p>
<p>HTH<br />
Lee</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F05%2F21%2Ftesting-the-claims-to-windows-token-service-for-different-identities%2F&amp;linkname=Testing%20the%20Claims%20To%20Windows%20Token%20Service%20for%20different%20identities"><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/testing-the-claims-to-windows-token-service-for-different-identities/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Enabling the SharePoint Developer Dashboard</title>
		<link>http://powerpivotgeek.com/2010/05/18/enabling-the-sharepoint-developer-dashboard/</link>
		<comments>http://powerpivotgeek.com/2010/05/18/enabling-the-sharepoint-developer-dashboard/#comments</comments>
		<pubDate>Wed, 19 May 2010 01:58:07 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/05/18/enabling-the-sharepoint-developer-dashboard/</guid>
		<description><![CDATA[<p>(Thanks to Ankur Goyal, one of the PowerPivot mid-tier testers)</p>
<p>SharePoint 2010 comes with a whole group of new developer tools. But there is none cooler than the Developer Dashboard. The Developer Dashboard allows you to monitor page load performance on SharePoint. Now how cool is that – you see how each element on the page [...]]]></description>
			<content:encoded><![CDATA[<p>(Thanks to Ankur Goyal, one of the PowerPivot mid-tier testers)</p>
<p>SharePoint 2010 comes with a whole group of new developer tools. But there is none cooler than the Developer Dashboard. The Developer Dashboard allows you to monitor page load performance on SharePoint. Now how cool is that – you see how each element on the page loads! You can enable this tool by running the following PowerShell scripts on the SharePoint 2010 Management Shell on the WFE. For example, here is my Start menu:</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/05/image5.png"><img style="display: inline; border: 0px;" title="image" src="http://powerpivotgeek.com/wp-content/uploads/2010/05/image_thumb5.png" border="0" alt="image" width="231" height="244" /></a></p>
<p>And here is the script:</p>
<blockquote><p>$webSvc = [Microsoft.SharePoint.Administration.SPWebService]::ContentService<br />
$webSvc.CollectSPRequestAllocationCallStacks = ‘True’<br />
$webSvc.Update()<br />
$webSvc.DeveloperDashboardSettings.EnableDiagnosticMode()</p></blockquote>
<p>This tool allows you to see query statistics on any SharePoint page, basically what is running and for how long. Once you run the above script, you will see an extra icon on the top left side of the page (as shown below).</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/05/clip_image002.jpg"><img style="display: inline; border: 0px;" title="clip_image002" src="http://powerpivotgeek.com/wp-content/uploads/2010/05/clip_image002_thumb.jpg" border="0" alt="clip_image002" width="244" height="57" /></a></p>
<p>Once you will click on it, it will give you a detail history at the bottom of the page.</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/05/clip_image0041.jpg"><img style="display: inline; border: 0px;" title="clip_image004" src="http://powerpivotgeek.com/wp-content/uploads/2010/05/clip_image004_thumb1.jpg" border="0" alt="clip_image004" width="472" height="484" /></a></p>
<p>Notice all of the information that now appears at the bottom of the page. Now how cool is that!!</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%2F18%2Fenabling-the-sharepoint-developer-dashboard%2F&amp;linkname=Enabling%20the%20SharePoint%20Developer%20Dashboard"><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/18/enabling-the-sharepoint-developer-dashboard/feed/</wfw:commentRss>
		<slash:comments>0</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>0</slash:comments>
		</item>
	</channel>
</rss>
