<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tags 'SQL Server 2008 R2' and 'PowerPivot'</title><link>http://sqlblog.com/search/SearchResults.aspx?o=DateDescending&amp;tag=SQL+Server+2008+R2,PowerPivot&amp;orTags=0</link><description>Search results matching tags 'SQL Server 2008 R2' and 'PowerPivot'</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Installing SharePoint 2010 and PowerPivot for SharePoint on Windows 7</title><link>http://sqlblog.com/blogs/stacia_misner/archive/2010/05/23/25447.aspx</link><pubDate>Sun, 23 May 2010 20:59:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:25447</guid><dc:creator>smisner</dc:creator><description>
&lt;p&gt;Many people like me want (or need) to do their business intelligence development work on a laptop. As someone who frequently speaks at various events or teaches classes on all subjects related to the Microsoft business intelligence stack, I need a way to run multiple server products on my laptop with reasonable performance. Once upon a time, that requirement meant only that I had to load the current version of SQL Server and the client tools of choice. In today's post, I'll review my latest experience with trying to make the newly released Microsoft BI products work with a Windows 7 operating system.&lt;/p&gt;
&lt;p&gt;The entrance of Microsoft Office SharePoint Server 2007 into the BI stack complicated matters and I started using Virtual Server to establish a "suitable" environment. As part of the team that delivered a lot of education as part of the Yukon pre-launch activities (that would be SQL Server 2005 for the uninitiated), I was working with four - yes, four - virtual servers. That was a pretty brutal workload for a 2GB laptop, which worked if I was very, very careful. It could also be a finicky and unreliable configuration as I learned to my dismay at one TechEd session several years ago when I had to reboot a very carefully cached set of servers just minutes before my session started. Although it worked, it came back to life very, very slowly much to the displeasure of the audience. They couldn't possibly have been less pleased than me.&lt;/p&gt;
&lt;p&gt;At that moment, I resolved to get the beefiest environment I could afford and consolidate to a single virtual server. Enter the 4GB 64-bit laptop to preserve my sanity and my livelihood. Likewise, for SQL Server 2008, I managed to keep everything within a single virtual server and I could function reasonably well with this approach.&lt;/p&gt;
&lt;p&gt;Now we have SQL Server 2008 R2 plus Office SharePoint Server 2010. That means a 64-bit operating system. Period. That means no more Virtual Server. That means I must use Hyper-V or another alternative. I've heard alternatives exist, but my few dabbles in this area did not yield positive results. It might have been just me having issues rather than any failure of those technologies to adequately support the requirements.&lt;/p&gt;
&lt;p&gt;My first run at working with the new BI stack configuration was to set up a 64-bit 4GB laptop with a dual-boot to run Windows Server 2008 R2 with Hyper-V. However, I was generally not happy with running Windows Server 2008 R2 on my laptop. For one, I couldn't put it into sleep mode, which is helpful if I want to prepare for a presentation beforehand and then walk to the podium without the need to hold my laptop in its open state along the way (my strategy at the TechEd session long, long ago). Secondly, it was finicky with projectors. I had issues from time to time and while I always eventually got it to work, I didn't appreciate those nerve-wracking moments wondering whether this would be the time that it wouldn't work.&lt;/p&gt;
&lt;p&gt;Somewhere along the way, I learned that it was possible to load SharePoint 2010 in a Windows 7 which piqued my interest. I had just acquired a new laptop running Windows 7 64-bit, and thought surely running the BI stack natively on my laptop must be better than running Hyper-V. (I have not tried booting to Hyper-V VHD yet, but that's on my list of things to try so the jury of one is still out on this approach.) Recently, I had to build up a server with the RTM versions of SQL Server 2008 R2 and Sharepoint Server 2010 and decided to follow suit on my Windows 7 Ultimate 64-bit laptop. The process is slightly different, but I'm happy to report that it IS possible, although I had some fits and starts along the way.&lt;/p&gt;
&lt;p&gt;DISCLAIMER 1: &lt;em&gt;These products are NOT intended to be run in production mode on the Windows 7 operating system. The configuration described in this post is strictly for development or learning purposes and not supported by Microsoft. If you have trouble, you will NOT get help from them. I might be able to help, but I provide no guarantees of my ability or availablity to help.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;DISCLAIMER 2: &lt;em&gt;The instructions below apply only to an environment in which the Windows 7 client is joined to a domain. You must log into the client machine using a valid Windows user account for that domain. Thanks to Kevin who pointed out this requirement which I had neglected to mention in my initial post (Updated May 30, 2010).&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I won't provide the step-by-step instructions in this post as there are other resources that provide these details, but I will provide an overview of my approach, point you to the relevant resources, describe some of the problems I encountered, and explain how I addressed those problems to achieve my desired goal.&lt;/p&gt;
&lt;p&gt;Because my goal was not simply to set up SharePoint Server 2010 on my laptop, but specifically PowerPivot for SharePoint, I started out by referring to the &lt;a href="http://powerpivot-info.com/post/66-step-by-step-guide-on-installing-powerpivot-for-sharepoint" target="_blank"&gt;installation instructions&lt;/a&gt; at the PowerPiovt-Info site, but mainly to confirm that I was performing steps in the proper sequence. I didn't perform the steps in Part 1 because those steps are applicable only to a server operating system which I am not running on my laptop. Then, the instructions in Part 2, won't work exactly as written for the same reason. Instead, I followed the instructions on MSDN, &lt;a href="http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx" target="_blank"&gt;Setting Up the Development Environment for SharePoint 2010 on Windows Vista, Windows 7, and Windows Server 2008&lt;/a&gt;. In general, I found the following differences in installation steps from the steps at PowerPivot-Info:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;You must copy the SharePoint installation media to the local drive so that you can edit the config.xml to allow installation on a Windows client.&lt;/li&gt;
&lt;li&gt;You also have to manually install the prerequisites. The instructions provides links to each item that you must manually install and provides a command-line instruction to execute which enables required Windows features.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I will digress for a moment to save you some grief in the sequence of steps to perform. I discovered later that a missing step in the MSDN instructions is to install the November CTP Reporting Services add-in for SharePoint. When I went to test my SharePoint site (I believe I tested after I had a successful PowerPivot installation), I ran into the following error:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="FONT-FAMILY:Times New Roman;"&gt;Could not load file or assembly 'RSSharePointSoapProxy, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I was rather surprised that Reporting Services was required. Then I found an article by Alan le Marquand, &lt;a href="http://technet.microsoft.com/en-us/magazine/ff686706.aspx" target="_blank"&gt;Working Together: SQL Server 2008 R2 Reporting Services Integration in SharePoint 2010&lt;/a&gt;,that instructed readers to install the November add-in. My first reaction was, "Really?!?" But I confirmed it in another TechNet article on &lt;a href="http://technet.microsoft.com/en-us/library/cc262485.aspx#section4" target="_blank"&gt;hardware and software requirements for SharePoint Server 2010&lt;/a&gt;. It doesn't refer explicitly to the November CTP but following the link took me there. (Interestingly, I retested today and there's no longer any reference to the November CTP. Here's the link to &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=b3bebf9d-d86d-48cd-94e2-0639a846be80&amp;amp;displaylang=en" target="_blank"&gt;download the latest and greatest Reporting Services Add-in for SharePoint Technologies 2010&lt;/a&gt;.) You don't need to download the add-in anymore if you're doing a regular server-based installation of SharePoint because it installs as part of the prerequisites automatically.&lt;/p&gt;
&lt;p&gt;When it was time to start the installation of SharePoint, I deviated from the MSDN instructions and from the PowerPivot-Info instructions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;On the &lt;strong&gt;Choose the installation you want&lt;/strong&gt; page of the installation wizard, I chose &lt;strong&gt;Server Farm&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;On the &lt;strong&gt;Server Type&lt;/strong&gt; page, I chose &lt;strong&gt;Complete&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;At the end of the installation, I did &lt;strong&gt;&lt;em&gt;not&lt;/em&gt;&lt;/strong&gt; run the configuration wizard.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Returning to the PowerPivot-Info instructions, I tried to follow the instructions in Part 3 which describe installing SQL Server 2008 R2 with the PowerPivot option. These instructions tell you to choose the &lt;strong&gt;New Server&lt;/strong&gt; option on the &lt;strong&gt;Setup Role&lt;/strong&gt; page where you add PowerPivot for SharePoint. However, I ran into problems with this approach and got installation errors at the end.&lt;/p&gt;
&lt;p&gt;It wasn't until much later as I was investigating an error that I encountered Dave Wickert's post that &lt;a href="http://powerpivotgeek.com/2010/03/04/powerpivot-and-windows-7/" target="_blank"&gt;installing PowerPivot for SharePoint on Windows 7&lt;/a&gt; is unsupported. Uh oh. But he did want to hear about it if anyone succeeded, so I decided to take the plunge. Perseverance paid off, and I can happily inform Dave that it does work so far. I haven't tested absolutely everything with PowerPivot for SharePoint but have successfully deployed a workbook and viewed the PowerPivot Management Dashboard. I have not yet tested the data refresh feature, but I have installed. Continue reading to see how I accomplished my objective.&lt;/p&gt;
&lt;p&gt;I unintalled SQL Server 2008 R2 and started again. I had different problems which I don't recollect now. However, I uninstalled again and approached installation from a different angle and my next attempt succeeded. The downside of this approach is that you must do all of the things yourself that are done automatically when you install PowerPivot as a new server. Here are the steps that I followed:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Install SQL Server 2008 R2 to get a database engine instance installed.&lt;/li&gt;
&lt;li&gt;Run the SharePoint configuration wizard to set up the SharePoint databases.&lt;/li&gt;
&lt;li&gt;In Central Administration, create a Web application using classic mode authentication as per a &lt;a href="http://technet.microsoft.com/en-us/library/ee210621(SQL.105).aspx"&gt;TechNet article on PowerPivot Authentication and Authorization&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Then I followed the steps I found at &lt;a href="http://msdn.microsoft.com/en-us/library/ee210616(SQL.105).aspx" target="_blank"&gt;How to: Install PowerPivot for SharePoint on an Existing SharePoint Server&lt;/a&gt;. Especially important to note - you must launch setup by using &lt;strong&gt;Run as administrator&lt;/strong&gt;. I did not have to manually deploy the PowerPivot solution as the instructions specify, but it's good to know about this step because it tells you where to look in Central Administration to confirm a successful deployment.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I did spot some incorrect steps in the instructions (at the time of this writing) in &lt;a href="http://msdn.microsoft.com/en-us/library/ee210671(v=SQL.105).aspx" target="_blank"&gt;How To: Configure Stored Credentials for PowerPivot Data Refresh&lt;/a&gt;. Specifically, in the section entitled &lt;strong&gt;Step 1: Create a target application and set the credentials&lt;/strong&gt;, both steps 10 and 12 are incorrect. They tell you to provide an actual Windows user name and password on the page where you are simply defining the prompts for your application in the Secure Store Service. To add the Windows user name and password that you want to associate with the application - after you have successfully created the target application - you select the target application and then click &lt;strong&gt;Set credentials&lt;/strong&gt; in the ribbon.&lt;/p&gt;
&lt;p&gt;Lastly, I followed the instructions at &lt;a href="http://msdn.microsoft.com/en-us/library/ff487978(v=SQL.105).aspx"&gt;How to: Install Office Data Connectivity Components on a PowerPivot server&lt;/a&gt;. However, I have yet to test this in my current environment.&lt;/p&gt;
&lt;p&gt;I did have several stops and starts throughout this process and edited those out to spare you from reading non-essential information. I believe the explanation I have provided here accurately reflect the steps I followed to produce a working configuration. If you follow these steps and get a different result, please let me know so that together we can work through the issue and correct these instructions. I'm sure there are many other folks in the Microsoft BI community that will appreciate the ability to set up the BI stack in a Windows 7 environment for development or learning purposes.&lt;/p&gt;</description></item><item><title>Introducing Microsoft SQL Server 2008 R2 - Business Intelligence Samples</title><link>http://sqlblog.com/blogs/stacia_misner/archive/2010/05/03/introducing-microsoft-sql-server-2008-r2-business-intelligence-samples.aspx</link><pubDate>Tue, 04 May 2010 03:46:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:24800</guid><dc:creator>smisner</dc:creator><description>&lt;P&gt;On April 14, 2010, Microsoft Press (&lt;A href="http://blogs.msdn.com/microsoft_press/" target=_blank&gt;blog&lt;/A&gt; | &lt;A href="http://twitter.com/MicrosoftPress" target=_blank&gt;twitter&lt;/A&gt;) released my latest book, co-authored with Ross Mistry (&lt;A href="http://twitter.com/RossMistry" target=_blank&gt;twitter&lt;/A&gt;), as a free ebook download - &lt;A href="http://blogs.msdn.com/microsoft_press/archive/2010/04/14/free-ebook-introducing-microsoft-sql-server-2008-r2.aspx" target=_blank&gt;Introducing Microsoft SQL Server 2008 R2&lt;/A&gt;. As the title implies, this ebook is an introduction to the latest SQL Server release. Although you'll find a comprehensive review of the product's features in this book, you will not find the step-by-step details that are typical in my other books. For those readers who are interested in a more interactive learning experience, I have created two samples file for download:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://datainspirations.com/uploads/IntroSQLServer2008R2Samples.zip" target=_blank&gt;IntroSQLServer2008R2Samples project&lt;/A&gt; &lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://datainspirations.com/uploads/Sales%20Analysis.zip" target=_blank&gt;Sales Analysis workbook&lt;/A&gt; &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Here's a recap of the business intelligence chapters and the samples I used to generate the screen shots by chapter:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Chapter 6: Scalable Data Warehousing&lt;/STRONG&gt; covers a new edition of SQL Server, &lt;A href="http://www.microsoft.com/sqlserver/2008/en/us/parallel-data-warehouse.aspx" target=_blank&gt;Parallel Data Warehouse&lt;/A&gt;. Understandably, Microsoft did not ship me the software and hardware to set up my own Parallel Data Warehouse environment for testing purposes and consequently you won't see any screenshots in this chapter. I received a lot of information and a lot of help from the product team during the development of this chapter to ensure its technical accuracy.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Chapter 7: Master Data Services&lt;/STRONG&gt; is a new component in SQL Server. After you install &lt;A href="http://www.microsoft.com/sqlserver/2008/en/us/mds.aspx" target=_blank&gt;Master Data Services&lt;/A&gt; (MDS), which is a separate installation from SQL Server although it's found on the same media, you can install sample models to explore (which is what I did to create screenshots for the book). To do this, you deploying packages found at \Program Files\Microsoft SQL Server\Master Data Services\Samples\Packages. You will first need to use the Configuration Manager (in the Microsoft SQL Server 2008 R2\Master Data Services program group) to create a database and a Web application for MDS. Then when you launch the application, you'll see a Getting Started page which has a Deploy Sample Data link that you can use to deploy any of the sample packages.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Chapter 8: Complex Event Processing&lt;/STRONG&gt; is an introduction to another new component, &lt;A href="http://www.microsoft.com/sqlserver/2008/en/us/r2-complex-event.aspx" target=_blank&gt;StreamInsight&lt;/A&gt;. This topic was way too large to cover in-depth in a single chapter, so I focused on information such as architecture, development models, and an overview of the key sections of code you'll need to develop for your own applications. StreamInsight is an engine that operates on data in-flight and as such has no user interface that I could include in the book as screenshots. The November CTP version of SQL Server 2008 R2 included code samples as part of the installation, but these are not the official samples that will eventually be available in &lt;A href="http://streaminsight.codeplex.com/" target=_blank&gt;Codeplex&lt;/A&gt;. At the time of this writing, the samples are not yet published.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Chapter 9: Reporting Services Enhancements&lt;/STRONG&gt; provides an overview of all the changes to Reporting Services in SQL Server 2008 R2, and there are many! In previous posts, I shared more details than you'll find in the book about new functions (&lt;A href="http://blog.datainspirations.com/2010/03/19/sql-server-2008-r2-reporting-services-look-up-look-down-look-all-around-part-i/" target=_blank&gt;Lookup&lt;/A&gt;, &lt;A href="http://blog.datainspirations.com/2010/03/29/sql-server-2008-r2-reporting-services-look-up-part-ii-2/" target=_blank&gt;MultiLookup&lt;/A&gt;, and &lt;A href="http://blog.datainspirations.com/2010/04/07/sql-server-2008-r2-reporting-services-look-up-part-iii/" target=_blank&gt;LookupSet&lt;/A&gt;), &lt;A href="http://blog.datainspirations.com/2010/04/13/ssrs-page-number/" target=_blank&gt;properties for page numbering&lt;/A&gt;, and the new global variable &lt;A href="http://blog.datainspirations.com/2010/03/03/sql-server-2008-r2-reporting-services-as-you-like-it/" target=_blank&gt;RenderFormat&lt;/A&gt;. I will confess that I didn't use actual data in the book for my discussion on the Lookup functions, but I did create real reports for the blog posts and will upload those separately. For the other screenshots and examples in the book, I have created the &lt;A href="http://datainspirations.com/uploads/IntroSQLServer2008R2Samples.zip" target=_blank&gt;IntroSQLServer2008R2Samples project&lt;/A&gt; for you to download. To preview these reports in Business Intelligence Development Studio, you must have the &lt;A href="http://msftdbprodsamples.codeplex.com/releases/view/24854" target=_blank&gt;AdventureWorksDW2008R2&lt;/A&gt; database installed, and you must download and install &lt;A title="Download SQL Server 2008 R2" href="http://www.microsoft.com/sqlserver/2008/en/us/R2Downloads.aspx" target=_blank&gt;SQL Server 2008 R2&lt;/A&gt;. For the map report, you must execute the PopulationData.sql script that I included in the samples file to add a table to the AdventureWorksDW2008R2 database. The IntroSQLServer2008R2Samples project includes the following files:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;01_AggregateOfAggregates.rdl to illustrate the use of embedded aggregate functions&lt;/LI&gt;
&lt;LI&gt;02_RenderFormatAndPaging.rdl to illustrate the use of page break properties (Disabled, ResetPageNumber), the PageName property, and the RenderFormat global variable&lt;/LI&gt;
&lt;LI&gt;03_DataSynchronization.rdl to illustrate the use of the DomainScope property&lt;/LI&gt;
&lt;LI&gt;04_TextboxOrientation.rdl to illustrate the use of the WritingMode property&lt;/LI&gt;
&lt;LI&gt;05_DataBar.rdl&lt;/LI&gt;
&lt;LI&gt;06_Sparklines.rdl&lt;/LI&gt;
&lt;LI&gt;07_Indicators.rdl&lt;/LI&gt;
&lt;LI&gt;08_Map.rdl to illustrate a simple analytical map that uses color to show population counts by state&lt;/LI&gt;
&lt;LI&gt;PopulationData.sql to provide the data necessary for the map report&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Chapter 10: Self-Service Analysis with PowerPivot&lt;/STRONG&gt; introduces two new components to the Microsoft BI stack, PowerPivot for Excel and PowerPivot for SharePoint, which you can learn more about at the &lt;A href="http://www.powerpivot.com/" target=_blank&gt;PowerPivot site&lt;/A&gt;. To produce the screenshots for this chapter, I created the &lt;A href="http://datainspirations.com/uploads/Sales%20Analysis.zip" target=_blank&gt;Sales Analysis workbook&lt;/A&gt; which you can download (although you must have Excel 2010 and the PowerPivot for Excel add-in installed to explore it fully). It's a rather simple workbook because space in the book did not permit a complete exploration of all the wonderful things you can do with PowerPivot. I used a tutorial that was available with the CTP version as a basis for the report so it might look familiar if you've already started learning about PowerPivot.&lt;/P&gt;
&lt;P&gt;In future posts, I'll continue exploring the new features in greater detail. If there's any special requests, please let me know!&lt;/P&gt;</description></item></channel></rss>