<?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; Tips and Tricks</title>
	<atom:link href="http://powerpivotgeek.com/category/tips-and-tricks/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>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>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>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>Howto: Hide a table in the PowerPivot field list</title>
		<link>http://powerpivotgeek.com/2010/05/12/howto-hide-a-table-in-the-powerpivot-field-list/</link>
		<comments>http://powerpivotgeek.com/2010/05/12/howto-hide-a-table-in-the-powerpivot-field-list/#comments</comments>
		<pubDate>Thu, 13 May 2010 04:33:50 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Client]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/05/12/howto-hide-a-table-in-the-powerpivot-field-list/</guid>
		<description><![CDATA[<p>Here is a cute trick for all of you ‘client’ jockeys out there. Sometimes you have a table that you, as a designer, have for some limited uses. Maybe the table exists for establishing relationships, or for intermediate calculations, but not for querying. How can you hide it? Well, it turns out that it is [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a cute trick for all of you ‘client’ jockeys out there. Sometimes you have a table that you, as a designer, have for some limited uses. Maybe the table exists for establishing relationships, or for intermediate calculations, but not for querying. How can you hide it? Well, it turns out that it is pretty easy to do although it is not intuitive. (Or it wasn’t to me as a server geek) You hide a table from the PowerPivot field list by <u>hiding all fields from it in the PivotTable</u>. In the PowerPivot window, go to the Design Tab | Hide &amp; Unhide | Uncheck ‘Select All’ from the ‘In PivotTable’ column ). That is it, now the table won’t show in the field list (as there are columns to select). </p>
<p>Before you ask, you cannot hide a table from the PowerPivot window in V1. Sorry.    <br />We had to save something for V2. <img src='http://powerpivotgeek.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F05%2F12%2Fhowto-hide-a-table-in-the-powerpivot-field-list%2F&amp;linkname=Howto%3A%20Hide%20a%20table%20in%20the%20PowerPivot%20field%20list"><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/howto-hide-a-table-in-the-powerpivot-field-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tip: You must use a 32-bit browser when running on a 64-bit client</title>
		<link>http://powerpivotgeek.com/2010/05/12/tip-you-must-use-a-32-bit-browser-when-running-on-a-64-bit-client/</link>
		<comments>http://powerpivotgeek.com/2010/05/12/tip-you-must-use-a-32-bit-browser-when-running-on-a-64-bit-client/#comments</comments>
		<pubDate>Thu, 13 May 2010 04:11:54 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/05/12/tip-you-must-use-a-32-bit-browser-when-running-on-a-64-bit-client/</guid>
		<description><![CDATA[<p>This will save you a few hours of debugging. Virtually every SharePoint feature and application, e.g. Excel, PPT, and Word Web Apps, do not support 64-bit browsers. In order to work around this behavior, please use a 32-bit browser. While others have issues around compatibility, this restriction applies to PowerPivot for one HUGE reason. And [...]]]></description>
			<content:encoded><![CDATA[<p>This will save you a few hours of debugging. Virtually every SharePoint feature and application, e.g. Excel, PPT, and Word Web Apps, do not support 64-bit browsers. In order to work around this behavior, please use a 32-bit browser. While others have issues around compatibility, this restriction applies to PowerPivot for one <em>HUGE</em> reason. And that reason is (of all things, wait for it . . .): <em><strong>Silverlight</strong></em>. We use Silverlight in two big value-add areas: the various extension views in a Gallery (to display the workbook thumbnails) and as the “way-back machine” on the PowerPivot Management Dashboard (the one that allows you to go back in time to look at your usage information – the bubble chart). Thus you have to stick with a 32-bit browser even if you are running a 64-bit OS. Sorry.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fpowerpivotgeek.com%2F2010%2F05%2F12%2Ftip-you-must-use-a-32-bit-browser-when-running-on-a-64-bit-client%2F&amp;linkname=Tip%3A%20You%20must%20use%20a%2032-bit%20browser%20when%20running%20on%20a%2064-bit%20client"><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/tip-you-must-use-a-32-bit-browser-when-running-on-a-64-bit-client/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Howto: Get more flexibility when importing data from text files</title>
		<link>http://powerpivotgeek.com/2010/04/27/howto-get-more-flexibility-when-importing-data-from-text-files/</link>
		<comments>http://powerpivotgeek.com/2010/04/27/howto-get-more-flexibility-when-importing-data-from-text-files/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 05:07:42 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Client]]></category>
		<category><![CDATA[Data refresh]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[ACE]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[text files]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/04/27/howto-get-more-flexibility-when-importing-data-from-text-files/</guid>
		<description><![CDATA[<p>Question: By default PowerPivot has two limitations when working with text files (using the Office ACE OLE DB provider): (1) will only import data from files with an extension of .txt, .tab, and .csv; and (2) it will only recognize tab, comma, semicolon, space, colon, and vertical bar and column delimiters. Is there a way [...]]]></description>
			<content:encoded><![CDATA[<p>Question: By default PowerPivot has two limitations when working with text files (using the Office ACE OLE DB provider): (1) will only import data from files with an extension of .txt, .tab, and .csv; and (2) it will only recognize tab, comma, semicolon, space, colon, and vertical bar and column delimiters. Is there a way to change PowerPivot’s configuration so that it will recognize other file extensions or column delimiters?</p>
<p>Answer: Yup &#8212; that is a technical term.&#160; You can use a schema.ini file in the same directory as the imported text file to specify all kinds of things that aren’t available through the PowerPivot UI, including fixed column rather than delimited text file format.&#160; Here’s a web page with the info:</p>
<blockquote><p><a href="http://msdn.microsoft.com/en-us/library/ms709353(VS.85).aspx">http://msdn.microsoft.com/en-us/library/ms709353(VS.85).aspx</a></p>
</blockquote>
<p>(Thanks to Ron Pihlgren for this solution. Ron is the PowerPivot client test lead – and his blog is included in my blogroll.)</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%2Fhowto-get-more-flexibility-when-importing-data-from-text-files%2F&amp;linkname=Howto%3A%20Get%20more%20flexibility%20when%20importing%20data%20from%20text%20files"><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/howto-get-more-flexibility-when-importing-data-from-text-files/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>4</slash:comments>
		</item>
		<item>
		<title>Howto: Write to the ULS</title>
		<link>http://powerpivotgeek.com/2010/04/14/howto-write-to-the-uls/</link>
		<comments>http://powerpivotgeek.com/2010/04/14/howto-write-to-the-uls/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 16:12:18 +0000</pubDate>
		<dc:creator>powerpivotgeek</dc:creator>
				<category><![CDATA[Sample Code]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://powerpivotgeek.com/2010/04/14/howto-write-to-the-uls/</guid>
		<description><![CDATA[<p>As more and more folks start to get into PowerPivot and SharePoint, there is a need to programmatically write entries into the ULS. Since all of PowerPivot and all of SharePoint share this common logging infrastructure, why not also include log entries from your own processes. Here is some sample code for doing that:</p>
<p>First via [...]]]></description>
			<content:encoded><![CDATA[<p>As more and more folks start to get into PowerPivot and SharePoint, there is a need to programmatically write entries into the ULS. Since all of PowerPivot and all of SharePoint share this common logging infrastructure, why not also include log entries from your own processes. Here is some sample code for doing that:</p>
<p>First via PowerShell:</p>
<blockquote><p>$diagSvc = [Microsoft.SharePoint.Administration.SPDiagnosticsServices]::Local<br />
$category = new-object Microsoft.SharePoint.Administration.SPDiagnosticsCategory(“My Category”, <br />
                                 [Microsoft.SharePoint.Administration.TraceSeverity]::Monitorable, <br />
                                 [Microsoft.SharePoint.Administration.EventSeverity]::Error )<br />
$diagSvc.WriteTrace(0, $category, [Microsoft.SharePoint.Administration.TraceSeverity]::Monitorable, “Write your log here” )</p></blockquote>
<p> </p>
<p><span id="more-824"></span></p>
<p>Now via C#:</p>
<blockquote><p>using System;<br />
using System.Collections.Generic;<br />
using System.Linq;<br />
using System.Text;<br />
using Microsoft.SharePoint.Administration;<br />
namespace WriteIntoULSLog<br />
{ <br />
    public class Program <br />
    { <br />
        public static void Main(string[] args) <br />
        {<br />
            SPDiagnosticsService diagSvc = SPDiagnosticsService.Local; <br />
            diagSvc.WriteTrace( 0, <br />
                new SPDiagnosticsCategory(&#8220;My category&#8221;,  TraceSeverity.Monitorable, EventSeverity.Error),<br />
                    TraceSeverity.Monitorable,<br />
                    &#8220;Writing to the ULS log:  {0}&#8221;,<br />
                    new object[] { &#8220;SharePoint 2010 rocks!&#8221;});<br />
        } <br />
    }<br />
}</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%2F04%2F14%2Fhowto-write-to-the-uls%2F&amp;linkname=Howto%3A%20Write%20to%20the%20ULS"><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/14/howto-write-to-the-uls/feed/</wfw:commentRss>
		<slash:comments>1</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>
	</channel>
</rss>
