<?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; Troubleshooting</title>
	<atom:link href="http://powerpivotgeek.com/category/troubleshooting/feed/" rel="self" type="application/rss+xml" />
	<link>http://powerpivotgeek.com</link>
	<description>An adventure in managed self-service computing</description>
	<lastBuildDate>Wed, 19 Jan 2011 23:04:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>General problems with Gallery snapshots not being taken &#8211; no items listed in the ULS log</title>
		<link>http://powerpivotgeek.com/2010/10/24/general-problems-with-gallery-snapshots-not-being-taken-no-items-listed-in-the-uls-log/</link>
		<comments>http://powerpivotgeek.com/2010/10/24/general-problems-with-gallery-snapshots-not-being-taken-no-items-listed-in-the-uls-log/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 03:37:59 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Gallery]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/10/24/general-problems-with-gallery-snapshots-not-being-taken-no-items-listed-in-the-uls-log/</guid>
		<description><![CDATA[<p>For most problems with the Gallery snapshot problem, there are entries in the ULS – but sometimes there are no items or if there are, there is just the “Timeout Exception”. Under these circumstances there is so little to go on that it is hard to figure out how to even get started. Here are [...]]]></description>
			<content:encoded><![CDATA[<p>For most problems with the Gallery snapshot problem, there are entries in the ULS – but sometimes there are no items or if there are, there is just the “Timeout Exception”. Under these circumstances there is so little to go on that it is hard to figure out how to even get started. Here are some of the general ‘how to get started’ recommendations that I have:</p>
<ul>
<li>First and most importantly, the rendering engine for the entry must be running.</li>
<ul>
<li>For workbooks, Excel Services must be running. The way that snapshots are taken is that a web browser is brought up by the GetSnapshot.exe process and inserted into the document library as a collection of images (representing the worksheets in the workbook).</li>
<li>For reports, Reporting Services must be running in SharePoint integrated mode so that the .rdl files can be rendered in a browser.</li>
</ul>
<li>Go into the site collection and look to see if the PowerPivot feature is enabled. </li>
<ul>
<li>Sometimes you will find that it is disabled. Typically this happens if the user starts from the “Blank” Site template. For most templates, such as the Team Site, we use feature stapling so that the PowerPivot feature is automatically enabled. However the Blank Site is specifically designed by SharePoint as having all features disabled. So if the end-user starts with the Blank Site and then adds a PowerPivot Gallery (which is a document library), you will find that snapshots will just never happen.</li>
<li>Sometimes even if the PowerPivot feature is enabled, sometimes the SharePoint event handler just stops firing. The GetSnapshot.exe process is started from the Gallery event handler (when a new document is added or if an existing document is being updated). If GetSnapshot.exe isn’t being started (see <a title="http://powerpivotgeek.com/2010/10/24/snapshots-not-being-taken/" href="http://powerpivotgeek.com/2010/10/24/snapshots-not-being-taken/">http://powerpivotgeek.com/2010/10/24/snapshots-not-being-taken/</a> for another reason why it might not be started, but at least it had an error being recorded) then it could be an issue with the event handler. The workaround that we have found works is to <u>deactivate and then re-enable the PowerPivot site collection level feature</u>.</li>
</ul>
<li>Look to see if GetSnapshot.exe process starts. If it does, the ULS should contain something, even if it just a Timeout Exception. If this is happening:</li>
<ul>
<li>Gallery should set the doclib advanced setting &quot;Opening documents in the browser&quot; from &quot;Use the system default&quot; to &quot;Open in the browser&quot; – we are finding that when some apps are installed on SharePoint, that the default value is being changed to “Open in client application”</li>
</ul>
<li>If all else fails, log onto the server interactively using the web application app pool service account. Then try to view the file that you are having problems with. As the first item above mentions, the rendering engine must be working. It may be that there are issues with the web application app pool service account that is stopping the browser control from rendering the content.</li>
</ul>
<p>Hope this helps.</p>
<p>_-_-_ Dave</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F10%2F24%2Fgeneral-problems-with-gallery-snapshots-not-being-taken-no-items-listed-in-the-uls-log%2F&amp;linkname=General%20problems%20with%20Gallery%20snapshots%20not%20being%20taken%20%26ndash%3B%20no%20items%20listed%20in%20the%20ULS%20log"><img src="http://powerpivotgeek.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://powerpivotgeek.com/2010/10/24/general-problems-with-gallery-snapshots-not-being-taken-no-items-listed-in-the-uls-log/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Developer Dashboard</title>
		<link>http://powerpivotgeek.com/2010/10/04/sharepoint-2010-developer-dashboard/</link>
		<comments>http://powerpivotgeek.com/2010/10/04/sharepoint-2010-developer-dashboard/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 22:51:35 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Performance]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/10/04/sharepoint-2010-developer-dashboard/</guid>
		<description><![CDATA[<p>I having been playing around with a new SharePoint 2010 feature called the Developer Dashboard. It is a great tool to use when figuring out how your pages work behind the scenes.</p>
<p>See some previous postings on the topic here:    http://blogs.technet.com/b/speschka/archive/2009/10/28/using-the-developer-dashboard-in-sharepoint-2010.aspx     http://powerpivotgeek.com/2010/05/18/enabling-the-sharepoint-developer-dashboard/</p>
<p>To disable the Developer Dashboard:</p>
<p>STSADM.exe –o setproperty –pn [...]]]></description>
			<content:encoded><![CDATA[<p>I having been playing around with a new SharePoint 2010 feature called the <em>Developer Dashboard</em>. It is a great tool to use when figuring out how your pages work behind the scenes.</p>
<p>See some previous postings on the topic here:    <br /><a title="http://blogs.technet.com/b/speschka/archive/2009/10/28/using-the-developer-dashboard-in-sharepoint-2010.aspx" href="http://blogs.technet.com/b/speschka/archive/2009/10/28/using-the-developer-dashboard-in-sharepoint-2010.aspx">http://blogs.technet.com/b/speschka/archive/2009/10/28/using-the-developer-dashboard-in-sharepoint-2010.aspx</a>     <br /><a title="http://powerpivotgeek.com/2010/05/18/enabling-the-sharepoint-developer-dashboard/" href="http://powerpivotgeek.com/2010/05/18/enabling-the-sharepoint-developer-dashboard/">http://powerpivotgeek.com/2010/05/18/enabling-the-sharepoint-developer-dashboard/</a></p>
<p>To disable the Developer Dashboard:</p>
<p>STSADM.exe –o setproperty –pn developer-dashboard –pv Off</p>
<p>Then enable the Developer Dashboard with OnDemand Switch :</p>
<p>STSADM.exe –o setproperty –pn developer-dashboard –pv&#160; [ OnDemand | On | Off ]</p>
<p>‘OnDemand’ turns the Dashboard on, but hides it until the click of an icon beside the ‘Open Menu’ on the top of the SharePoint page.</p>
<p>Very cool stuff!</p>
<p>_-_-_ Dave</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F10%2F04%2Fsharepoint-2010-developer-dashboard%2F&amp;linkname=SharePoint%202010%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/10/04/sharepoint-2010-developer-dashboard/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 revised ULSViewer</title>
		<link>http://powerpivotgeek.com/2010/08/21/sharepoint-2010-revised-ulsviewer/</link>
		<comments>http://powerpivotgeek.com/2010/08/21/sharepoint-2010-revised-ulsviewer/#comments</comments>
		<pubDate>Sun, 22 Aug 2010 05:56:09 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[ULS]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/08/21/sharepoint-2010-revised-ulsviewer/</guid>
		<description><![CDATA[<p>From time to time I get questions from folks asking me “What is the best debugging tool for PowerPivot?” – The Answer is that there is clear cut favorite and it is EXTREMELY useful, but I didn’t know that it was released to the public. Well . . . after some investigation, it looks like [...]]]></description>
			<content:encoded><![CDATA[<p>From time to time I get questions from folks asking me “What is the best debugging tool for PowerPivot?” – The Answer is that there is clear cut favorite and it is EXTREMELY useful, but I didn’t know that it was released to the public. Well . . . after some investigation, it looks like it is available – not only that, it has been for a while. But better late than never . . take a look at it! </p>
<p><a href="http://code.msdn.microsoft.com/ULSViewer">http://code.msdn.microsoft.com/ULSViewer</a></p>
<p><u>From the Codeplex docs:</u></p>
<p> The ULSViewer tool performs various actions against the data from ULS log files in order to better analyze it. ULSViewer allows the user to:
<ul>
<li>Highlight data of importance to the user on the fly </li>
<li>Bookmark log entries </li>
<li>Append logs to other logs in order to track trends </li>
<li>Hide unimportant data </li>
<li>Only view critical log entries by sorting data by severity </li>
<li>Write rules to prompt the user when certain events occur </li>
<li>View your data in a spreadsheet instead of the text file ULS generates </li>
<li>Monitor remote machines logs that are running ULS services&#160;&#160; <strong>&lt;—my favorite feature!</strong></li>
<li>Open multiple logs at the same time in order to compare log files. </li>
<li>Open logs files from multiple machines at the same time. </li>
</ul>
<p>Enjoy!</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F08%2F21%2Fsharepoint-2010-revised-ulsviewer%2F&amp;linkname=SharePoint%202010%20revised%20ULSViewer"><img src="http://powerpivotgeek.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://powerpivotgeek.com/2010/08/21/sharepoint-2010-revised-ulsviewer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What is a &#8220;snapshot&#8221; when you enable client-side tracing</title>
		<link>http://powerpivotgeek.com/2010/08/02/what-is-a-snapshot-when-you-enable-client-side-tracing/</link>
		<comments>http://powerpivotgeek.com/2010/08/02/what-is-a-snapshot-when-you-enable-client-side-tracing/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 00:19:34 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Client]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/08/02/what-is-a-snapshot-when-you-enable-client-side-tracing/</guid>
		<description><![CDATA[<p>In getting ready for a recent internal presentation on PowerPivot, I was asked what this button actually does . . . (see below)</p>
<p> </p>
<p>The primary purpose for the settings page is to setup diagnostic tracing. The trace file itself is pretty straightforward, it is the regular SSAS tracing subsystem that we know and love . [...]]]></description>
			<content:encoded><![CDATA[<p>In getting ready for a recent internal presentation on PowerPivot, I was asked what this button actually does . . . (see below)</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/08/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/08/image_thumb.png" width="594" height="117" /></a> </p>
<p>The primary purpose for the settings page is to setup diagnostic tracing. The trace file itself is pretty straightforward, it is the regular SSAS tracing subsystem that we know and love . . . get ready to spin up SQL Profiler to read it. But the most common question that I get is “What is that snapshot thing??”.</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/08/image1.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/08/image_thumb1.png" width="594" height="525" /></a> </p>
<p>The best ‘geek’ answer is the code snippet that generates it:</p>
<blockquote><p>GetSchemaInformation(connection, &quot;DISCOVER_OBJECT_MEMORY_USAGE&quot;);      <br />GetSchemaInformation(connection, &quot;DISCOVER_OBJECT_ACTIVITY&quot;);       <br />GetSchemaInformation(connection, &quot;DISCOVER_COMMAND_OBJECTS&quot;);       <br />GetSchemaInformation(connection, &quot;DISCOVER_STORAGE_TABLES&quot;);       <br />GetSchemaInformation(connection, &quot;DISCOVER_STORAGE_TABLE_COLUMNS&quot;);       <br />GetSchemaInformation(connection, &quot;DISCOVER_STORAGE_TABLE_COLUMN_SEGMENTS&quot;)</p>
</blockquote>
<p>As you can see, what it does is to send a series of XMLA Discover commands to the embedded SSAS engine, listing what objects are being used, how often, and what their sizes are. All of it great info . . . </p>
<p>Enjoy!</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F08%2F02%2Fwhat-is-a-snapshot-when-you-enable-client-side-tracing%2F&amp;linkname=What%20is%20a%20%26ldquo%3Bsnapshot%26rdquo%3B%20when%20you%20enable%20client-side%20tracing"><img src="http://powerpivotgeek.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://powerpivotgeek.com/2010/08/02/what-is-a-snapshot-when-you-enable-client-side-tracing/feed/</wfw:commentRss>
		<slash:comments>0</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>1</slash:comments>
		</item>
		<item>
		<title>Querying data within the PowerPivot Excel client add-in</title>
		<link>http://powerpivotgeek.com/2010/04/27/querying-data-within-the-powerpivot-excel-client-add-in/</link>
		<comments>http://powerpivotgeek.com/2010/04/27/querying-data-within-the-powerpivot-excel-client-add-in/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 19:48:28 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Client]]></category>
		<category><![CDATA[Engine]]></category>
		<category><![CDATA[Sample Code]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/04/27/querying-data-within-the-powerpivot-excel-client-add-in/</guid>
		<description><![CDATA[<p>Recently we have been seeing some users complain about how the PowerPivot Excel client add-in deals with queries. There are three limitations that you need deal with when working with SQL (TSQL, PL/SQL, or whatever) and stored procedures:</p>

The result set must have a name associated with each column. If you are not returning the column [...]]]></description>
			<content:encoded><![CDATA[<p>Recently we have been seeing some users complain about how the PowerPivot Excel client add-in deals with queries. There are three limitations that you need deal with when working with SQL (TSQL, PL/SQL, or whatever) and stored procedures:</p>
<ol>
<li>The result set must have a name associated with each column. If you are not returning the column name, then you must assign an SQL alias to the column. Some query tools allow you to work with ordinal numbers for the columns; some query tools assign a name based on the ordinal (e.g. COLUMN_42); some query tools use a combination of the two. The add-in (and the SSAS engine) does not not – it directly binds to the column name.</li>
<li>You cannot have duplicate column names. Each column name must be unique.</li>
<li>You cannot return multiple rowsets. The client add-in only deals with a single rowset. Some tools allow you to return multiple rowsets but only deal with first one; or the last one. In the client add-in, you must have only a single return rowset. If you are entering queries via SQL then this is typically not a problem – but it has serious complications if you are using stored procedures. If you don’t use “SET NOCOUNT ON” at the beginning of your stored procedure, then a rowset is returned for each SELECT expression, even if that expression is just setting a variable. Thus you must have a “SET NOCOUNT NO” at the start of your stored procedure or the stored procedures are likely to fail with the client add-in.</li>
</ol>
<p>I am just sharing the love here . . . the end result is that you might not be able to use all of your existing queries and stored procedures with the PowerPivot Excel client add-in. Being for-warned is for-armed.</p>
<p>And &#8220;Oh&#8230;&#8221; another possibility issue that you might run into is support for variant datatype. The rowset previewer can handle variant data &#8212; but the Engine cannot.</p>
<p>Enjoy.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F04%2F27%2Fquerying-data-within-the-powerpivot-excel-client-add-in%2F&amp;linkname=Querying%20data%20within%20the%20PowerPivot%20Excel%20client%20add-in"><img src="http://powerpivotgeek.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://powerpivotgeek.com/2010/04/27/querying-data-within-the-powerpivot-excel-client-add-in/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Why PowerPivot requires &#8216;classic-mode&#8217; web applications</title>
		<link>http://powerpivotgeek.com/2010/04/22/why-powerpivot-requires-classic-mode-web-applications/</link>
		<comments>http://powerpivotgeek.com/2010/04/22/why-powerpivot-requires-classic-mode-web-applications/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 19:12:58 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/04/22/why-powerpivot-requires-classic-mode-web-applications/</guid>
		<description><![CDATA[<p>SharePoint 2010 has a new ‘claims-based’ authentication system that allows you to use federated identities with SharePoint. And there are certainly some customers that are excited to start playing around with this capability. That is neat and cool and all . . . but that isn’t the major reason why folks should be getting excited [...]]]></description>
			<content:encoded><![CDATA[<p>SharePoint 2010 has a new ‘claims-based’ authentication system that allows you to use federated identities with SharePoint. And there are certainly some customers that are excited to start playing around with this capability. That is neat and cool and all . . . but that isn’t the major reason why folks should be getting excited about ‘claims’. It is just a side-effect. The <span style="text-decoration: underline;">real</span> reason why SharePoint uses claims is to bypass the Kerberos requirement within the farm. This is a huge benefit for SharePoint. In SharePoint 2007 once you grow beyond a single machine, then you must configure Kerberos between all of the servers – this quickly becomes a huge problem and limits both SharePoint adoption and its growth because many customers do not have the infrastructure needed to run Kerberos. But before you get too carried away with claims, particularly with PowerPivot, you have to remember two things: (a) PowerPivot only support Windows users and (b) we don’t support claims integration down to the client. The first one is easy to understand as SSAS only supports Windows credentials – and Excel Services uses that to establish the Windows identity for the connection. Having claims down to the client means that the user can perform one login to SharePoint – and have it be remembered for all future logins.</p>
<p><span id="more-836"></span></p>
<p>The second one (i.e. ‘b’ above) is a bit trickier and it is the core issue for this blog entry. In PowerPivot, when connecting through our front-end web services (aka, the PowerPivot Web Service, or PWS in our architectural design) the underlying protocol is the same as the one that earlier versions of Analysis Services used for the ‘data pump’ feature (<a title="http://technet.microsoft.com/en-us/library/cc917711.aspx" href="http://technet.microsoft.com/en-us/library/cc917711.aspx">http://technet.microsoft.com/en-us/library/cc917711.aspx</a>). That protocol does not know about claims – it relies on getting a Windows identity.</p>
<p>The implications of this is when creating a SharePoint web application, you must ensure that you select the <span style="text-decoration: underline;">‘classic-mode’</span> for the web application authentication:</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/04/image3.png"><img style="display: inline; border-width: 0px;" title="image" src="http://powerpivotgeek.com/wp-content/uploads/2010/04/image_thumb3.png" border="0" alt="image" width="494" height="451" /></a></p>
<p>If you select “claims-based’ then SharePoint will pop up the forms-based authentication dialog box when a client application that does not expose the user’s claims identity to SharePoint. SharePoint pops up the dialog box even if Windows is the authentication provider. The idea is that if the user is a Windows user, then they type their Windows user name and password into the FBA login dialog box. This is all well and cool – except for our front-end web service – it needs the Windows identity to continue. For backend web services such as the PSS (PowerPivot System Service) and the channel transport used by ECS (and others) to route requests to the PSS – they run perfectly fine. The claims identity flows with their WCF calls. This issue is between the client and the web application – how is the user’s identity established right at the front-door?</p>
<p>If you select ‘classic’ and you are coming in the front-door then the SharePoint infrastructure uses standard IIS capabilities to get the user’s identity and then translate that identity into a claims token. For our front-end web service, this means that the user’s Windows identity is moved up from the client to the IIS server, or IIS uses basic authentication, or some other IIS mapping is done to get to the Windows user.</p>
<p>Claims-based on the other hand tells the SharePoint infrastructure that the client will provide the claims identity directly. If it does not, then the SharePoint system has no option other than to ask the user to provide them which it does so by popping up the FBA login dialog box. But some systems, like our front-end web service, cannot respond to the login properly. If you select ‘claims-based’, then the PowerPivot front-end web service will return a ‘Too many automatic redirections were attempted. (System)’ error. Why is that? The issue is that since our service needs the user’s identity, the FBA dialog box will try to be rendered to try and get the user’s credentails. The FBA fails and our code asks for the user’s identity, then FBA fails, and the system keeps repeating until the ‘too many redirects’ error is returned.</p>
<p>One of my favorite jokes is “A man walks into a doctor’s office. He says ‘Doctor, doctor, my arm hurts when I move it like this!’ The doctor replies ‘Then don’t move it like that’ “ &#8212; Well . . . maybe it isn’t too funny, but gosh it applies in lots of places. And one of those places is here. To re-phrase: “Doctor, Doctor, my PowerPivot web application tells me that it has too many redirects” – the doctor replies “Then don’t do that – set it for classic mode.” Any funnier now?</p>
<p>Enjoy.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F04%2F22%2Fwhy-powerpivot-requires-classic-mode-web-applications%2F&amp;linkname=Why%20PowerPivot%20requires%20%26lsquo%3Bclassic-mode%26rsquo%3B%20web%20applications"><img src="http://powerpivotgeek.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://powerpivotgeek.com/2010/04/22/why-powerpivot-requires-classic-mode-web-applications/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Giving remote users rights to log on to your domain controller</title>
		<link>http://powerpivotgeek.com/2010/04/07/giving-remote-users-rights-to-log-on-to-your-domain-controller/</link>
		<comments>http://powerpivotgeek.com/2010/04/07/giving-remote-users-rights-to-log-on-to-your-domain-controller/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 18:25:00 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/04/07/giving-remote-users-rights-to-log-on-to-your-domain-controller/</guid>
		<description><![CDATA[<p>For all of you that are running a combined all-in-1 system, i.e. domain controller, SharePoint and all of PowerPivot (desktop + server), you will notice that if you are trying to debug with non-administrator accounts that you can no longer remote desktop on to your machine. This is because by default only administrators are allowed [...]]]></description>
			<content:encoded><![CDATA[<p>For all of you that are running a combined all-in-1 system, i.e. domain controller, SharePoint and all of PowerPivot (desktop + server), you will notice that if you are trying to debug with non-administrator accounts that you can no longer remote desktop on to your machine. This is because by default <span style="text-decoration: underline;">only administrators are allowed to remote desktop onto a domain controller</span>. To allow all Remote Desktop users that right:</p>
<ol>
<li>Click on Start and type “gpedit.msc” into the Start Search box</li>
<li>Navigate to “Computer Configuration &#8211; Windows Settings &#8211; Security Settings &#8211; Local Policies &#8211; User rights Assignment”</li>
<li>Click on &#8220;Allow log on through Terminal Services&#8221;</li>
<li>You will notice that only Administrators are listed. Add “Remote Desktop Users”</li>
</ol>
<p><span id="more-820"></span></p>
<p>Here is a screen shot:</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/04/image2.png"><img style="display: inline; border: 0px;" title="image" src="http://powerpivotgeek.com/wp-content/uploads/2010/04/image_thumb2.png" border="0" alt="image" width="524" height="367" /></a></p>
<p>Enjoy!</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F04%2F07%2Fgiving-remote-users-rights-to-log-on-to-your-domain-controller%2F&amp;linkname=Giving%20remote%20users%20rights%20to%20log%20on%20to%20your%20domain%20controller"><img src="http://powerpivotgeek.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://powerpivotgeek.com/2010/04/07/giving-remote-users-rights-to-log-on-to-your-domain-controller/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>A new Diagnostic Guide posted in the Troubleshooting section</title>
		<link>http://powerpivotgeek.com/2010/02/24/a-new-diagnostic-guide-posted-in-the-troubleshooting-section/</link>
		<comments>http://powerpivotgeek.com/2010/02/24/a-new-diagnostic-guide-posted-in-the-troubleshooting-section/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 02:17:06 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Announcement]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/02/24/a-new-diagnostic-guide-posted-in-the-troubleshooting-section/</guid>
		<description><![CDATA[<p>I just posted a new diagnostic guide in the troubleshooting section:</p>
<p>“Diagnostic Guide for Usage and the PowerPivot Management Dashboard” by Ankur Goyal
http://powerpivotgeek.com/troubleshooting/diagnostic-guide-for-usage-and-the-powerpivot-management-dashboard/</p>
<p>Enjoy!</p>
<p>_-_-_ Dave</p>
]]></description>
			<content:encoded><![CDATA[<p>I just posted a new diagnostic guide in the troubleshooting section:</p>
<p>“Diagnostic Guide for Usage and the PowerPivot Management Dashboard” by <em>Ankur Goyal<br />
</em><a title="http://powerpivotgeek.com/troubleshooting/diagnostic-guide-for-usage-and-the-powerpivot-management-dashboard/" href="http://powerpivotgeek.com/troubleshooting/diagnostic-guide-for-usage-and-the-powerpivot-management-dashboard/">http://powerpivotgeek.com/troubleshooting/diagnostic-guide-for-usage-and-the-powerpivot-management-dashboard/</a></p>
<p>Enjoy!</p>
<p>_-_-_ Dave</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F02%2F24%2Fa-new-diagnostic-guide-posted-in-the-troubleshooting-section%2F&amp;linkname=A%20new%20Diagnostic%20Guide%20posted%20in%20the%20Troubleshooting%20section"><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/02/24/a-new-diagnostic-guide-posted-in-the-troubleshooting-section/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to start debugging a PowerPivot for SharePoint installation issue</title>
		<link>http://powerpivotgeek.com/2010/01/22/how-to-start-debugging-a-powerpivot-for-sharepoint-installation-issue/</link>
		<comments>http://powerpivotgeek.com/2010/01/22/how-to-start-debugging-a-powerpivot-for-sharepoint-installation-issue/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 01:32:09 +0000</pubDate>
		<dc:creator>powerpivotwahoo</dc:creator>
				<category><![CDATA[Installation]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/01/22/how-to-start-debugging-a-powerpivot-for-sharepoint-installation-issue/</guid>
		<description><![CDATA[<p>A number of people have had issues with PowerPivot installation failures in CTP3. Hopefully, we have resolved all of these for RTM, but I can tell you that setup is still a bit tricky. To give you something of an understanding, the “New Farm” installation option is responsible for getting your machine up and running [...]]]></description>
			<content:encoded><![CDATA[<p>A number of people have had issues with PowerPivot installation failures in CTP3. Hopefully, we have resolved all of these for RTM, but I can tell you that setup is still a bit tricky. To give you something of an understanding, the “New Farm” installation option is responsible for getting your machine up and running with as few steps from you as possible. It installs SQL Relational Engine &amp; AS, then configures SharePoint using the newly installed Relational Engine, then configures AS integration with SharePoint. In can be especially tricky in the case of patching and so forth since technically speaking SQL Server does not have to be running to be patched but we cannot interact with SharePoint if SQL Server is not running. We have done a lot of work to try and get this right, but I am not foolish enough to think that there will be no issues. Any issues you hit should be reported to the appropriate forums and perhaps followed up with CSS if necessary, but to get you started on installation issues, this is what you want to look at:</p>
<p>In the %ProgramFiles%\Microsoft SQL Server\100\Setup Bootstrap\Log you will see a list of folders with Date-like names. Search inside them for a file called detail.txt (easiest way is probably “dir /s /b detail.txt”). You want to go to the most recent directory with this file and open up this file and search for the string ”Running Action: ASSPI_Install_ASSPIInstallStartupFinalize”. This is the beginning of the section in which we do our configuration of SharePoint with Analysis Services. I will admit that the logging has not been “scrubbed” so grammatical errors might abound, however you should be able to glean some potentially useful information from it. I tend to look for exceptions with stacks. Even if you can’t figure out what the error means, it will be useful to include in any “help” postings and might get you faster turnaround.</p>
<p>Please make sure, even if you figure out what is happening and are able to “workaround” it, that you report any issues so that we can continue to improve the experience.</p>
<p>Thanks   <br />Lee</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F01%2F22%2Fhow-to-start-debugging-a-powerpivot-for-sharepoint-installation-issue%2F&amp;linkname=How%20to%20start%20debugging%20a%20PowerPivot%20for%20SharePoint%20installation%20issue"><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/01/22/how-to-start-debugging-a-powerpivot-for-sharepoint-installation-issue/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

