This one was a BEAR to work through. There’s not much out there for it and everywhere I turned it seems everyone else was either having the same problem OR suggestion we “start with a clean install”. Nice suggestion that last one. Almost like… try rebooting the computer… but I digress. So hopefully this guide will help some other poor soul save some time when they run into the same issue.
- Due to a farm admin error during PowerPivot install that incorrectly claims that the current user is NOT a Farm Administrator, you’ll need to logon to your SharePoint server, using the SharePoint Admin Service account credentials.
- Startup the SQL Server 2008 R2 installer in Admin mode:
- Browse to the CD folder of the install media.
- Right click “Setup.exe”.
- On the popup menu, click “Run as administrator”.
- On the SQL Server Installation Center menu, click “Installation”.
- Click “New installation or add features to an existing installation”.
- On the Setup Support Rules page, correct any issues that are identified and then click “OK”.
- Now click “Install” to install the Setup file required.
- On the Setup Support Rules page, Setup will run it’s support rules to check for valid install. Correct any issues that are identified and then click “Next”.
- On the Installation Type page, Setup will list already installed instances of SQL Server. Here you want to select “New installation or add shared features”. DO NOT select the “Add features…” option.
- Click “Next”.
- On the Product Key page, select the “Enter the product key” radio button.
- Enter your SQL Server 2008 R2 product key that you received from Microsoft in the edit box.
- Click “Next”.
- On the License Terms page, check the “I accept the license terms” checkbox.
- Click “Next”.
- On the Setup Role, select the “SQL Server PowerPivot for SharePoint” radio button. DO NOT select the SQL Server Feature Installation option.
- From the dropdown list box, select “Existing Farm”.
- Click “Next”.
- On the Feature Selection page, Setup will show you the installation options to be added. These cannot be changed. Click “Next”.
- On the Installation Rules page, Setup will run rules to check for blocks. Correct any issues that are identified and then click “Next”.
- On the Instance Configuration page, you cannot change the Named Instance name, but you can change the Instance ID, if you wish.
- Click “Next”.
- On the Disk Space Requirements page, click “Next”.
- On the Server Configuration page, Setup requires that you configure an account for SQL Server Analysis Services. Best Practices dictates that this should NOT be a network service or system account, but rather it should be a dedicated domain account.
- Enter the domain account ID e.g. “DOMAIN\ServiceAccountName” in the Account Name edit box.
- Enter the domain password in the Password edit box.
- Leave the Startup Type as “Automatic”.
- Click “Next”.
- On the Analysis Services Configuration page, Setup is asking you to identify the administrators of Analysis Services.
- Click “Add Current User”.
- The SharePoint Admin Service account should now be listed as an admin.
- Click “Add…” to add each account that needs to have Admin rights to Analysis Services and PowerPivot.
- Click “Next”.
- On the Error Reporting page, click “Next”.
- On the Installation Configuration Rules page, Setup will run some more rules.
- Resolve any identified issues and click “Next”.
- On the Ready to Install page, STOP RIGHT HERE!!!
- If you click “Install” here, your installation WILL fail… but you already knew that. That’s why you’re reading this post.
- HACK #1
- At the bottom of the window, Setup is displaying the path to the “ConfigurationFile.ini” file. Copy the path to the file. We have to pause the install here because the location of this .ini file changes on every install as Setup will take the current date/time stamp and use it for the …Log\<YYYYMMDD_HHMMDD>\… part of the folder location.
- Open the “ConfigurationFile.ini” file with Notepad.
- Using Ctrl+F, locate the reference to “FARMADMINPORT”.
- Your port number will show something random. This is because PowerPivot assumes that its installing at the same time as a default SharePoint install. Since we already have SharePoint installed, we need to edit this value and change it to match the port of our Central Admin location.
- Change the value between the quotes to match the port number of your current Central Admin.
- Exit and save the .ini file.
- HACK #2
- The other problem with the current PowerPivot install is that it looks for the Microsoft.AnalaysisServices.SharePoint.Integration.dll file in the bootstrap folder, but it doesn’t exist there. In past failed installs of PowerPivot, you may have encountered references to this DLL being “missing”.
- Copy Microsoft.AnalysisServices.SharePoint.Integration.dll to the PowerPivot bootstrap location of C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\x64
- You may, or may not have a copy of this DLL file handy. If you don’t, you can download the copy I placed on my SkyDrive here:
- HACK #3
- Now we have to ensure that there are no remnants of this dll left over within the GAC. Open Windows Explorer.
- Browse to “C:\Windows\assembly”.
- Scroll down and look for Microsoft.AnalysisServices.SharePoint.Integration.
- You should not find it because it’s not installed yet. This was the case in my install as can be seen below.
- That’s not necessarily true though as can be seen from my environment screen shot below:
- Open a command shell via Start/Run/cmd
- Execute “cd\windows\assembly\gac_msil” from the command line.
- Execute “dir microsoft.analysisservices.s*” from the command line.
- Your output SHOULD show 0 files and 0 dirs. If it doesn’t, like in my example above, the odds are you’ve had a failed install of AnalysisServices before and remnants were left behind when the installer didn’t cleanup behind itself.
- If there is a folder named “Microsoft.AnalysisServices.SharePoint.Integration”, you need to delete it by executing “rd Microsoft.AnalysisServices.SharePoint.Integration” from the command line.
- Now that we’ve cleared the path for the installer by deleting remnants from the GAC, hacking the configuration file and manually providing a copy of the integration DLL, we can switch back to Setup and click “Install”.
- Setup should complete successfully this time around as in my example below:
Cheers
C
No comments:
Post a Comment
Comments are moderated only for the purpose of keeping pesky spammers at bay.