PowerPivot : When versions get mixed up…

Published Jan 15 2019 02:33 PM 67 Views
Microsoft
First published on MSDN on Jul 17, 2012

I worked a case today where they were trying to get SQL 2012 Reporting Services installed in a SharePoint environment that also had SQL 2008 R2 PowerPivot installed.  This, by itself, is fine and wasn’t really causing the problem.  When they tried to open the Excel Workbook from SharePoint that had the PowerPivot data in it, we saw the following error:

We found the following within the SharePoint ULS Log for the Excel Calculation Services category:

ExternalSource.ExecuteOperation: We exhausted all available connection information. Exception: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException' was thrown.
at Microsoft.Office.Excel.Server.CalculationServer.ConnectionInfoManager.GetConnectionInfo(Request request, String externalSourceName, Int32 externalSourceIndex, Boolean& shouldReportFailure)
at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.ExecuteOperation(Request request, ExternalSourceStateInfo externalSourceStateInfo, ExternalSourceStateInfo prevExternalSourceStateInfo, Int32 index, ConnectionInfoManager connectionInfoManager, ExternalDataScenario scenario, DataOperation dataOperation, Boolean verifyPreOperationConnection), Data Connection Name: PowerPivot Data

What the error above is indicating is that it was trying to establish a connection from the defined data connections within the Excel Workbook. One of these connections is the PowerPivot Connection for the PowerPivot data stored within the workbook itself.  This connection/Data source is called “PowerPivot Data”. When we looked at that connection, we found the following:

You can get to this information by going to the Data Tab within Excel and clicking on “Existing Connections”. Then Right click on “PowerPivot Data” and edit the connection properties. Then go to the Definition tab.

The key here is the MSOLAP.5 Provider. This provider is the PowerPivot 2012 Provider. However, within the SharePoint environment, we had the SQL 2008 R2 version of PowerPivot. These versions are not compatible. Also, the MSOLAP.5 provider does not exist because we hadn’t installed it.  It comes with the PowerPivot 2012 install. So, the error above is really saying that it couldn’t find the MSOLAP.5 provider. Which in this case is true.

This is all about aligning the PowerPivot version of the workbook with the PowerPivot version of the Server. I think what may have caused this situation is that when you go to http://powerpivot.com and click on the “Download PowerPivot” button, it takes you to the SQL 2012 PowerPivot Add-in for Excel.

We have two options at this point:

  1. Upgrade the SharePoint environment to the 2012 version of PowerPivot
  2. Downgrade the Excel Add-in to the 2008 R2 version for PowerPivot and recreate the Excel Workbook.

SQL 2012 PowerPivot Add-in for Excel: http://www.microsoft.com/en-us/download/details.aspx?id=29074

SQL 2008 R2 PowerPivot Add-in for Excel: http://www.microsoft.com/en-us/download/details.aspx?id=7609

Adam W. Saxton | Microsoft Escalation Services
https://twitter.com/awsaxton

%3CLINGO-SUB%20id%3D%22lingo-sub-317137%22%20slang%3D%22en-US%22%3EPowerPivot%20%3A%20When%20versions%20get%20mixed%20up%E2%80%A6%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-317137%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3E%20First%20published%20on%20MSDN%20on%20Jul%2017%2C%202012%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%3CP%3EI%20worked%20a%20case%20today%20where%20they%20were%20trying%20to%20get%20SQL%202012%20Reporting%20Services%20installed%20in%20a%20SharePoint%20environment%20that%20also%20had%20SQL%202008%20R2%20PowerPivot%20installed.%26nbsp%3B%20This%2C%20by%20itself%2C%20is%20fine%20and%20wasn%E2%80%99t%20really%20causing%20the%20problem.%26nbsp%3B%20When%20they%20tried%20to%20open%20the%20Excel%20Workbook%20from%20SharePoint%20that%20had%20the%20PowerPivot%20data%20in%20it%2C%20we%20saw%20the%20following%20error%3A%3C%2FP%3E%0A%20%20%3CBLOCKQUOTE%3E%0A%20%20%20%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67177i3AB66C01726355B1%22%20%2F%3E%3C%2FP%3E%0A%20%20%3C%2FBLOCKQUOTE%3E%0A%20%20%3CP%3EWe%20found%20the%20following%20within%20the%20SharePoint%20ULS%20Log%20for%20the%20Excel%20Calculation%20Services%20category%3A%3C%2FP%3E%0A%20%20%3CBLOCKQUOTE%3E%0A%20%20%20%3CP%3EExternalSource.ExecuteOperation%3A%20We%20exhausted%20all%20available%20connection%20information.%20Exception%3A%20Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException%3A%20Exception%20of%20type%20'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException'%20was%20thrown.%20%3CBR%20%2F%3E%20at%20Microsoft.Office.Excel.Server.CalculationServer.ConnectionInfoManager.GetConnectionInfo(Request%20request%2C%20String%20externalSourceName%2C%20Int32%20externalSourceIndex%2C%20Boolean%26amp%3B%20shouldReportFailure)%20%3CBR%20%2F%3E%20at%20Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.ExecuteOperation(Request%20request%2C%20ExternalSourceStateInfo%20externalSourceStateInfo%2C%20ExternalSourceStateInfo%20prevExternalSourceStateInfo%2C%20Int32%20index%2C%20ConnectionInfoManager%20connectionInfoManager%2C%20ExternalDataScenario%20scenario%2C%20DataOperation%20dataOperation%2C%20Boolean%20verifyPreOperationConnection)%2C%20Data%20Connection%20Name%3A%20PowerPivot%20Data%3C%2FP%3E%0A%20%20%3C%2FBLOCKQUOTE%3E%0A%20%20%3CP%3EWhat%20the%20error%20above%20is%20indicating%20is%20that%20it%20was%20trying%20to%20establish%20a%20connection%20from%20the%20defined%20data%20connections%20within%20the%20Excel%20Workbook.%20One%20of%20these%20connections%20is%20the%20PowerPivot%20Connection%20for%20the%20PowerPivot%20data%20stored%20within%20the%20workbook%20itself.%26nbsp%3B%20This%20connection%2FData%20source%20is%20called%20%E2%80%9CPowerPivot%20Data%E2%80%9D.%20When%20we%20looked%20at%20that%20connection%2C%20we%20found%20the%20following%3A%3C%2FP%3E%0A%20%20%3CBLOCKQUOTE%3E%0A%20%20%20%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F67179i2E764EBF7B05DA9B%22%20%2F%3E%3C%2FP%3E%0A%20%20%3C%2FBLOCKQUOTE%3E%0A%20%20%3CP%3EYou%20can%20get%20to%20this%20information%20by%20going%20to%20the%20Data%20Tab%20within%20Excel%20and%20clicking%20on%20%E2%80%9CExisting%20Connections%E2%80%9D.%20Then%20Right%20click%20on%20%E2%80%9CPowerPivot%20Data%E2%80%9D%20and%20edit%20the%20connection%20properties.%20Then%20go%20to%20the%20Definition%20tab.%3C%2FP%3E%0A%20%20%3CP%3EThe%20key%20here%20is%20the%20MSOLAP.5%20Provider.%20This%20provider%20is%20the%20PowerPivot%202012%20Provider.%20However%2C%20within%20the%20SharePoint%20environment%2C%20we%20had%20the%20SQL%202008%20R2%20version%20of%20PowerPivot.%20These%20versions%20are%20not%20compatible.%20Also%2C%20the%20MSOLAP.5%20provider%20does%20not%20exist%20because%20we%20hadn%E2%80%99t%20installed%20it.%26nbsp%3B%20It%20comes%20with%20the%20PowerPivot%202012%20install.%20So%2C%20the%20error%20above%20is%20really%20saying%20that%20it%20couldn%E2%80%99t%20find%20the%20MSOLAP.5%20provider.%20Which%20in%20this%20case%20is%20true.%3C%2FP%3E%0A%20%20%3CP%3EThis%20is%20all%20about%20aligning%20the%20PowerPivot%20version%20of%20the%20workbook%20with%20the%20PowerPivot%20version%20of%20the%20Server.%20I%20think%20what%20may%20have%20caused%20this%20situation%20is%20that%20when%20you%20go%20to%20%3CA%20href%3D%22http%3A%2F%2Fpowerpivot.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%20http%3A%2F%2Fpowerpivot.com%20%3C%2FA%3E%20and%20click%20on%20the%20%E2%80%9CDownload%20PowerPivot%E2%80%9D%20button%2C%20it%20takes%20you%20to%20the%20SQL%202012%20PowerPivot%20Add-in%20for%20Excel.%3C%2FP%3E%0A%20%20%3CP%3EWe%20have%20two%20options%20at%20this%20point%3A%3C%2FP%3E%0A%20%20%3COL%3E%0A%20%20%20%3CLI%3EUpgrade%20the%20SharePoint%20environment%20to%20the%202012%20version%20of%20PowerPivot%3C%2FLI%3E%0A%20%20%20%3CLI%3EDowngrade%20the%20Excel%20Add-in%20to%20the%202008%20R2%20version%20for%20PowerPivot%20and%20recreate%20the%20Excel%20Workbook.%3C%2FLI%3E%0A%20%20%3C%2FOL%3E%0A%20%20%3CP%3ESQL%202012%20PowerPivot%20Add-in%20for%20Excel%3A%20%3CA%20href%3D%22http%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fdownload%2Fdetails.aspx%3Fid%3D29074%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%20http%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fdownload%2Fdetails.aspx%3Fid%3D29074%20%3C%2FA%3E%3C%2FP%3E%0A%20%20%3CP%3ESQL%202008%20R2%20PowerPivot%20Add-in%20for%20Excel%3A%20%3CA%20href%3D%22http%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fdownload%2Fdetails.aspx%3Fid%3D7609%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%20http%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fdownload%2Fdetails.aspx%3Fid%3D7609%20%3C%2FA%3E%3C%2FP%3E%0A%20%20%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3EAdam%20W.%20Saxton%20%7C%20Microsoft%20Escalation%20Services%20%3CBR%20%2F%3E%20-ERR%3AREF-NOT-FOUND-%20%3CA%20href%3D%22https%3A%2F%2Ftwitter.com%2Fawsaxton%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Ftwitter.com%2Fawsaxton%3C%2FA%3E%20%3C%2FP%3E%0A%20%0A%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-317137%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20MSDN%20on%20Jul%2017%2C%202012%20I%20worked%20a%20case%20today%20where%20they%20were%20trying%20to%20get%20SQL%202012%20Reporting%20Services%20installed%20in%20a%20SharePoint%20environment%20that%20also%20had%20SQL%202008%20R2%20PowerPivot%20installed.%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-317137%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPower%20BI%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎Jan 15 2019 02:33 PM
Updated by: