<?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, 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>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>
		<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>4</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>2</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>1</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>0</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>1</slash:comments>
		</item>
		<item>
		<title>Could not load type &#8216;Microsoft.AnalysisServices.SharePoint.Integration.ReportGalleryView&#8217;.</title>
		<link>http://powerpivotgeek.com/2010/01/20/could-not-load-type-microsoft-analysisservices-sharepoint-integration-reportgalleryview/</link>
		<comments>http://powerpivotgeek.com/2010/01/20/could-not-load-type-microsoft-analysisservices-sharepoint-integration-reportgalleryview/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 02:01:56 +0000</pubDate>
		<dc:creator>powerpivotwahoo</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/01/20/could-not-load-type-microsoft-analysisservices-sharepoint-integration-reportgalleryview/</guid>
		<description><![CDATA[<p>A number of people have hit this issue and so it deserves a quick walkthrough of why it (unfortunately) can happen and how you fix it.</p>
<p> </p>
<p>The error occurs when you try to select a Document Library of type PowerPivot Gallery (sometimes referred to as Report Gallery). After installing Power Pivot for SharePoint, all new [...]]]></description>
			<content:encoded><![CDATA[<p>A number of people have hit this issue and so it deserves a quick walkthrough of why it (unfortunately) can happen and how you fix it.</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/01/Site_ReportGalleryView_LoadFailure.png"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="Site_ReportGalleryView_LoadFailure" src="http://powerpivotgeek.com/wp-content/uploads/2010/01/Site_ReportGalleryView_LoadFailure_thumb.png" width="644" height="332" /></a> </p>
<p>The error occurs when you try to select a Document Library of type PowerPivot Gallery (sometimes referred to as Report Gallery). After installing Power Pivot for SharePoint, all new site collections you create have the option to create a new document library of this type and if you use the PowerPivot Site template when creating the site collection, we automatically add a library of this type (that is the main thing we do in this template). The ability to add this type of library in all new site collections is there because we defined the library in a feature which is subsequently stapled to all sites. This means it is automatically activated on all site collections. The problem is that the page which is loaded when you click on the library as its default view uses an ASP.Net control whose code behind is found in a dll which is not being found. So when does this happen. Every case I have seen so far, this occurs when the user creates a new Web Application and does not deploy our WebApp solution to the new Web Application. Because of how we reference the classes for our pages, we need to have the associated assembly in the &lt;vdir&gt;\bin directory. This assembly is Microsoft.AnalysisServices.SharePoint.Integration.dll. The dll is “pushed” to the web applications on every WFE in the farm via the SharePoint solution infrastructure. </p>
<p> <span id="more-630"></span>
<p>Ignoring any of the questions around “how should we have done this to avoid this error” .. to fix this situation, you simply need to deploy our web app solution to the Web Application you just created. To do this, go first to the System Settings page in Central Admin</p>
</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/01/CentralAdmin_SystemSettings1.png"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="CentralAdmin_SystemSettings" src="http://powerpivotgeek.com/wp-content/uploads/2010/01/CentralAdmin_SystemSettings_thumb1.png" width="1028" height="602" /></a> </p>
<p>Under Farm Management, select Manage farm solutions.</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/01/CentralAdmin_ManageFarmSolutions.png"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="CentralAdmin_ManageFarmSolutions" src="http://powerpivotgeek.com/wp-content/uploads/2010/01/CentralAdmin_ManageFarmSolutions_thumb.png" width="1028" height="283" /></a> </p>
<p>Click on the powerpivotwebapp.wsp solution to see its properties</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/01/CentralAdmin_SolutionProperties.png"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="CentralAdmin_SolutionProperties" src="http://powerpivotgeek.com/wp-content/uploads/2010/01/CentralAdmin_SolutionProperties_thumb.png" width="1028" height="295" /></a> </p>
<p>On the properties page, you will see the “Deployed To” list and notice that your new web application is not on this list. Select the “Deploy Solution” link at the top of this page</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/01/CentralAdmin_DeploySolution.png"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="CentralAdmin_DeploySolution" src="http://powerpivotgeek.com/wp-content/uploads/2010/01/CentralAdmin_DeploySolution_thumb.png" width="1028" height="383" /></a> </p>
<p>You can now chose to deploy our solution to the new Web Application you have created (and you can chose to do it “Now”). After this, the bits will be pushed to all machines in the farm and you can use the PowerPivot Gallery in your new site collections.&#160; One thing to note (since I got burned by this) … instinct is, after this is done, to just go back to the error page and hit refresh thinking that it should be fixed now. The error page, though, is an actual error page and when you hit refresh, all you are doing is reloading the error page. To actually reload the PowerPivot Gallery, use the back button in your browser or click on the “Go back to site” link in the error page.</p>
<p>&#160;</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%2F01%2F20%2Fcould-not-load-type-microsoft-analysisservices-sharepoint-integration-reportgalleryview%2F&amp;linkname=Could%20not%20load%20type%20%26lsquo%3BMicrosoft.AnalysisServices.SharePoint.Integration.ReportGalleryView%26rsquo%3B."><img src="http://powerpivotgeek.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://powerpivotgeek.com/2010/01/20/could-not-load-type-microsoft-analysisservices-sharepoint-integration-reportgalleryview/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Why you shouldn&#8217;t stop / start Analysis Services from SCM when running in SharePoint Integration Mode</title>
		<link>http://powerpivotgeek.com/2010/01/18/why-you-shouldnt-stop-start-analysis-services-from-scm-when-running-in-sharepoint-integration-mode/</link>
		<comments>http://powerpivotgeek.com/2010/01/18/why-you-shouldnt-stop-start-analysis-services-from-scm-when-running-in-sharepoint-integration-mode/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 21:59:54 +0000</pubDate>
		<dc:creator>powerpivotwahoo</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/01/18/why-you-shouldnt-stop-start-analysis-services-from-scm-when-running-in-sharepoint-integration-mode/</guid>
		<description><![CDATA[<p>Hopefully this will be my first of many posts as I have been meaning to try and start doing memory dumps to this blog. Hopefully some of those memory dumps also made it into our docs … I tried.</p>
<p>So most people who are used to using Windows based services are used to using Service Control [...]]]></description>
			<content:encoded><![CDATA[<p>Hopefully this will be my first of many posts as I have been meaning to try and start doing memory dumps to this blog. Hopefully some of those memory dumps also made it into our docs … I tried.</p>
<p>So most people who are used to using Windows based services are used to using Service Control Manager (SCM) (started via services.msc) to start and stop the service. Some also use “net &lt;stop | start&gt;” to control the service. And in normal situations … this works great. When services are integrated and managed by SharePoint, however, this is not recommended and doing so might leave you a bit confused. This is why:</p>
<p>As of SharePoint 2010, they have exposed their “Services” infrastructure which was previously used only by teams like Excel Services, Access Services, … This is some of the infrastructure that PowerPivot for SharePoint hooks into. As such, if you go to System Settings in Central Admin</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/01/CentralAdmin_SystemSettings.png"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="CentralAdmin_SystemSettings" src="http://powerpivotgeek.com/wp-content/uploads/2010/01/CentralAdmin_SystemSettings_thumb.png" width="1028" height="602" /></a>&#160;&#160; </p>
<p>And chose Manage services on server you will see our service in the list:</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/01/CentralAdmin_ServicesOnServer.png"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="CentralAdmin_ServicesOnServer" src="http://powerpivotgeek.com/wp-content/uploads/2010/01/CentralAdmin_ServicesOnServer_thumb.png" width="1028" height="552" /></a> </p>
</p>
<p>(SQL Server Analysis Services – that is our NT Service)</p>
<p>(SQL Server PowerPivot System Service – that is a web service we expose on every app server which all WFE machines communicate with. No WFE components communicate directly with SSAS)</p>
<p>From this “Manage services on server” page, you can stop and start our server. If you do so manually you might get hit by an issue where sometime in the next hour the service magically turns back to the state it was previously in. That is because SharePoint has a HealthRule that runs every hour that checks to make sure all of the services it is managing are in the state that it expects. When SharePoint stops a service, it actually disables it to prevent a restart if the machine is rebooted. You can find this HealthRule if you go to the Monitoring section on Central Admin:</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/01/CentralAdmin_Monitoring.png"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="CentralAdmin_Monitoring" src="http://powerpivotgeek.com/wp-content/uploads/2010/01/CentralAdmin_Monitoring_thumb.png" width="1028" height="473" /></a> </p>
<p>If you chose Health Analyzer – Review Rule Definitions you can find the below definition (ordering is a bit tricky):</p>
<p><a href="http://powerpivotgeek.com/wp-content/uploads/2010/01/CentralAdmin_StartStopHealthRule.png"><img style="border-bottom: 0px;border-left: 0px;border-top: 0px;border-right: 0px" border="0" alt="CentralAdmin_StartStopHealthRule" src="http://powerpivotgeek.com/wp-content/uploads/2010/01/CentralAdmin_StartStopHealthRule_thumb.png" width="1028" height="500" /></a> </p>
<p>To test this out for yourself do the following:</p>
<p>1) Do a “net start” from an administrative command prompt to see that “SQL Server Analysis Services (POWERPIVOT)” is running</p>
<p>2) Do ‘net stop “SQL Server Analysis Services (POWERPIVOT)” ‘ to turn off our service</p>
<p>3) Run “net start” again to see that our service is no longer running</p>
<p>3) Click on the job above and chose “RunNow” from the ribbon options (make sure that the SharePoint 2010 Timer service is running … this you can manage from SCM).</p>
<p>4) Wait a minute (I haven’t found any place that gives you “running” type progress on these jobs).</p>
<p>5) Run “net start” again and you will see that our service has started back up.</p>
<p>This can be very confusing to people who are trying to run certain types of tests. We had some people hitting this issue with regards to the “Claims to Windows Token Service” (previously called a number of things … this is the Geneva Framework Service). </p>
<p>Hope this helps you avoid some headaches wondering who is logging into your machine and changing the configuration</p>
<p>Thanks</p>
<p>Lee</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F01%2F18%2Fwhy-you-shouldnt-stop-start-analysis-services-from-scm-when-running-in-sharepoint-integration-mode%2F&amp;linkname=Why%20you%20shouldn%26rsquo%3Bt%20stop%20%2F%20start%20Analysis%20Services%20from%20SCM%20when%20running%20in%20SharePoint%20Integration%20Mode"><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/18/why-you-shouldnt-stop-start-analysis-services-from-scm-when-running-in-sharepoint-integration-mode/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>New section called &#8220;Troubleshooting&#8221;</title>
		<link>http://powerpivotgeek.com/2009/12/30/new-section-called-troubleshooting/</link>
		<comments>http://powerpivotgeek.com/2009/12/30/new-section-called-troubleshooting/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 02:34:45 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2009/12/30/new-section-called-troubleshooting/</guid>
		<description><![CDATA[<p>You might have noticed that I’ve added a new section to my blog called “Troubleshooting” (see here). I have a series of TechEd and internal presentations that I have to prepare for and I thought that sharing the information with you might be interesting. Hopefully you will find it useful. Again, as always, feedback and [...]]]></description>
			<content:encoded><![CDATA[<p>You might have noticed that I’ve added a new section to my blog called “Troubleshooting” (see <a href="http://powerpivotgeek.com/troubleshooting/">here</a>). I have a series of TechEd and internal presentations that I have to prepare for and I thought that sharing the information with you might be interesting. Hopefully you will find it useful. Again, as always, feedback and requests are welcome.</p>
<p>Thanks.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2009%2F12%2F30%2Fnew-section-called-troubleshooting%2F&amp;linkname=New%20section%20called%20%26ldquo%3BTroubleshooting%26rdquo%3B"><img src="http://powerpivotgeek.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://powerpivotgeek.com/2009/12/30/new-section-called-troubleshooting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
