MSOLAP.3

Hi
I am using SQLServer 2008 R2 analysis services with Sharepoint 2010 BI - via Excel Services (connected with Project Server 2010).
Excel 2007 client is being used on the desktop.
OLAP data is not refreshing in the Business Intelligence IE8 browser page although does refresh ok in Excel.
Settings and trusted bits look ok but I note the data provider in the OLAP connection string is MSOLAP.3 not MSOLAP.4.
Wondered if this could be the problem. Can anyone tell me - is MSOLAP.3 supported in this version?
Thanks
Brian
Brian Hyam

Hi Brian,
According to your description, you want to know if it's possible to connect to SQL Server Analysis Services 2008 R2 database using the provider MSOLAP.3, right?
We cannot connect SSAS 2008 R2 database using the provider MSOLAP.3. Based on my research, MSOLAP.1 for MSAS 7.0, MSOLAP.2 for MSAS 2000, MSOLAP.3 for MSAS 2005, MSOLAP.4 for MSAS 2008 and MSAS 2008 R2.
So in your scenario, you need to install the Analysis Services OLE DB Provider on SharePoint Servers prior to making the connection, please refer to the link below to see the details.
Install the Analysis Services OLE DB Provider on SharePoint Servers
Regards,
Charlie Liao
If you have any feedback on our support, please click
here
Charlie Liao
TechNet Community Support

Similar Messages

  • The requested operation could not be performed because OLE DB provider "MSOLAP" for linked server does not support the required transaction interface.

    I am getting the following error when attempting to INSERT the results of an "EXEC(@MDXQuery) at SSAS LinkedServer":
    The requested operation could not be performed because OLE DB provider "MSOLAP" for linked server does not support the required transaction interface.
    Here is code that illustrates what I am doing:
    DECLARE @MDX varchar(max);
    SET @MDX='
    SELECT
    [Measures].[Extended Service Count]
    } ON COLUMNS,
    NON EMPTY [Organization].[By Manufacturer].[Manufacturer]
    ON ROWS
    FROM (
    SELECT
    {[Organization].[Org Tree].&[2025],[Organization].[Org Tree].&[2040]} ON 0
    FROM [MyCube]
    /* Test 1 */
    EXECUTE(@MDX) at SSASLinkedServer;
    /* Test 2 */
    DECLARE @ResultsB TABLE (
    Manufacturer varchar(255)
    , ExtendedServiceCount float
    INSERT INTO @ResultsB (Manufacturer, ExtendedServiceCount) EXECUTE(@MDX) at SSASLinkedServer;
    Test 1 succeeds, returning expected results, and Test 2 fails returning the error mentioned above.
    Other articles I've found so far don't seem to apply to my case.  I am not creating any explicit transactions in my code.   When I use OPENQUERY, I am able to do the insert just fine, but not when I use EXEC @MDX at LinkedServer.
    Unfortunately in some variations of the query, I run into the 8800 character limit on OPENQUERY, so I need to use this other approach.
    Any ideas?
    -Tab Alleman

    Hi Tab,
    In this case, SQL Server Analysis Services doesn’t support Distributed Transactions by design. Here is a similar thread about this issue for your reference, please see:
    http://social.technet.microsoft.com/Forums/en-US/8b07be45-01b6-49d4-b773-9f441c0e44c9/olaplinked-server-error-msolap-for-linked-server-olaplinked-server-does-not-support-the?forum=sqlanalysisservices
    One workaround is that use SQLCMD to execute the EXEC AT command and saved the results to a file, then import using SSIS.
    If you have any feedback on our support, please click
    here.
    Regards,
    Elvis Long
    TechNet Community Support

  • Problems connecting MSOLAP with Analisys Service in XMII?

    Values Data server MSOLAP in XMII <b>version 11.5</b>
    Name Value
    Catalog BANCO_OLAP
    ColumnNameAttribute sql:field
    Connector OLAP
    ConnectorType OLP
    DataSourceInfo Provider=SQLNCLI.1;Data Source=danilosantos;Persist Security Info=True;Password=;User ID=sa
    DataTypeAttribute type
    DecimalDelimiter .
    Description Default Microsoft OLAP Query Server
    Enabled true
    IP 10.15.85.52
    InternalDateFormat yyyy-MM-dd HH:mm:ss
    Name BANCO_OLAP
    Port 80
    ResultInNamespace true
    ServerPackage com.lighthammer.Illuminator.connectors.OLAP
    UserName NEORIS\danilo.santos
    WebService /xmla/msxisapi.dll

    Hi Salvatore,
    <b>My connection data source MSOLAP in new test.</b>
    Name Value
    Catalog BancoOEE
    ColumnNameAttribute sql:field
    Connector OLAP
    ConnectorType OLP
    DataSourceInfo Provider=MSOLAP;Data Source=danilosantos
    DataTypeAttribute type
    DecimalDelimiter .
    Description Default OLAP Query Server
    Enabled true
    IP localhost
    InternalDateFormat yyyy-MM-dd HH:mm:ss
    Name BancoOEE
    Port 80
    ResultInNamespace false
    ServerPackage com.lighthammer.Illuminator.connectors.OLAP
    UserName sa
    WebService /xmla/msxisapi.dll
    Here's my general log.
    13:00:13,255 SYSTEM Connector Create Server [name=KlabinOEE2,className=com.lighthammer.Illuminator.connectors.OLAP.OLAP,description=Default OLAP Query Server,enabled=true,connected=false,holder=null]
    help xMII parameters.
    http://localhost/LighthammerCMS/Help/Connectors/OLAPConnector.htm
    Attempting to run a query template does not appear any cube. And indicates that the server is not connected in log error.
    Error occurred while processing data stream, Connection refused: connect com.lighthammer.Illuminator.logging.LHException: Error occurred while processing data stream, Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:452) at java.net.Socket.connect(Socket.java:402) at java.net.Socket.<init>(Socket.java:309) at java.net.Socket.<init>(Socket.java:124) at
    Softwares in use SQL Server 2005 and Analysis Services
    Thanks
    Danilo

  • OLE DB MSOLAP provider issues

    Im unable to create a link server to remote SSAS servers. Error Below.
    TITLE: Microsoft SQL Server Management Studio
    "The linked server has been created but failed a connection test. Do you want to keep the linked server?"
    ADDITIONAL INFORMATION:
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    Cannot set the initialization properties for OLE DB provider "MSOLAP" for linked server "Source".
    OLE DB provider "MSOLAP" for linked server "Link Server Name" returned message "The following system error occurred:  Key not valid for use in specified state. .". (Microsoft SQL Server, Error: 7373)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=09.00.3042&EvtSrc=MSSQLServer&EvtID=7373&LinkId=20476
    BUTTONS:
    &Yes
    &No
    I tried to creating a UDL file and I get this error..
    Test connection failed becasue of an error in setting the window handle property.
    I tried reinstalling Driver .. no luck.
    Ensured that allow in process was checked in provider properties.
    Also checked SAC manager to ensure "allow to" and "allow from" link was set to true on source server.
    Oh ya... I was aslo able to create a test UDL on my XP workstation with no problem..
    Any help much appreciated.

    Hi,
    We are also getting this error when trying to connect to AS 2008 on a 64-bit server. Have turned server & client firewalls off,
    and tried to Telnet to port 2383 but does not connect. It appears that both port 1434 and 2383 are only listening locally. I have checked the config setting in AS "ListenOnlyOnLocalConnections" is set to false.
    Also tried resetting the Port from default "0" to 2383 with no change.
    In addition, when using SSMS from client PC - get the following error "A connection cannot be made ensure the server is running (Microsoft.AnalysisServices.AdomdClient) - No connection could be made because the target machine actively refused it <IP address>:2383”
    Would be grateful for any assistance.
    MattMattF

  • Could not find provider msolap.4 error in universe connection

    I am trying to create a universe connection against a MS SQL Server 2008 SSAS cub with OLE DBfor OLAP Providers. When trying to connect to the db i get a error saying "Could not find provider msolap.4", has anybody encountered this before? I can't find any documentation about this.
    There is also a SQL Server 2005 SSAS installed on the db server which i have no problems to connect to.
    With Excel i am able to connect to both environments.
    Environment
    BOE XI R3.1
    Microsoft Windows Server 2003 R2
    Both MS SQL Server 2005 and MS SQL Server 2008 installed on the database server
    Any ideas how to proceed?
    Br
    Stefan

    I found the software here:
    http://www.microsoft.com/downloads/en/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73C&displaylang=en

  • OLE DB provider 'MSOLAP' cannot be used for distributed queries because the provider is configured to run in single-threaded

    Hopefully this will save somebody some trouble.
    Running 64bit Enterprise SQL and SSAS with Service pack 2 installed.
    Also running Proclarity so 32bit mode Reporting Services is running.
    When trying to create a linked server to my OLAP database I was continually getting the following Error:
    OLE DB provider 'MSOLAP' cannot be used for distributed queries because the provider is configured to run in single-threaded apartment mode. (Microsoft SQL Server, Error: 7308)
    Many posts suggested I select the "in Proc" check box under the olap provider, but this did not help.
    Finally, instead of using the IDE to create the linked server I used a script to call sp_addlinkedserver and used @provider='MSOLAP.3'.  This fixed the problem.
    If you have a more clear idea of why I was having the issue in the first place, feel free to let me know what you think.

    Try this thread:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/f02a3921-7d0b-4038-97bb-9f17d381b345/linked-ssas-server-fails?forum=sqlanalysisservices
    Talk to me now on

  • How can I use j2ee(jsp) connect msolap

    I look for long,but not find,please tell me.thanks

    I don't think you really searched all that hard.
    http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=jsp+msolap

  • Error while opening central admin link after power pivot uninstall sp 2010?

    Error while any link opened in the cental admin
    example:http://server:port/_admin/WebApplicationList.aspx
    Required permissions cannot be acquired.
    ULS log when Config wizard ran 
      An exception of type System.IO.FileNotFoundException was thrown.  Additional exception information: Could not load file or assembly 'Microsoft.AnalysisServices.SharePoint.Integration, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'
    or one of its dependencies. The system cannot find the file specified.
    System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.AnalysisServices.SharePoint.Integration, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
    File name: 'Microsoft.AnalysisServices.SharePoint.Integration, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'
       at System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName)
       at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
       at System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
       at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
       at Microsoft.SharePoint.PostSetupConfiguration.ReflectionHelper.InvokeConstructor(String assemblyQualifiedName, Type[] constructorSignature, Object[] constructorParameters)
       at Microsoft.SharePoint.PostSetupConfiguration.TaskCommon.ReflectionHelperInvokeConstructor(String assemblyQualifiedName, Type[] constructorSignature, Object[] constructorParameters, TaskBase task)
    the error same as the below article:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/7a06ebc8-ad8f-4b76-bc44-a8171fde6816/absolutely-sick-of-powerpivot-the-product-stinks-failed-to-find-assembly?forum=sqlkjpowerpointforsharepoint
    but any of the sollution did not work.
    Thanks
    Ravi
    Ravi

    I have uninstalled power pivot now the central adminlinks are working.
    but when i run configuration wizard it pups with error:
    Could not load file or assembly 'Microsoft.AnalysisServices.SharePoint.Integration'
    Can i delete follwoing key in the registery?
    The follwoing article asked to remove the key:
    http://social.technet.microsoft.com/Forums/en-US/487f18d4-32cf-4056-a6de-433f69bb7470/configuration-wizard-failed-to-find-assembly
    my registry entry
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\ServiceProxies\Microsoft.AnalysisServices.Sharepoint.Integration.EngineServiceProxy]
    "AssemblyQualifiedName"="Microsoft.AnalysisServices.Sharepoint.Integration.EngineServiceProxy, Microsoft.AnalysisServices.SharePoint.Integration, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"
    "ServiceProxyName"="MSOLAP$POWERPIVOT"
    Ravi

  • Error message when launching PowerPivot Window using Excel 2010

    I have installed the latest version of Powerpivot on several of our workstations.  Some of them are running the application just fine and some of them are getting an intermittent error message when trying to launch the PowerPivot Window.
    We are running Windows 7 ENT 32bit with Office 2010 32bit
    The error message given is : An operation that uses the database driver could not be completed.   If the driver is a Microsoft driver, make sure the drvier file isn't damaged, and if it is, reinstall the driver by re-installing Microsoft Query.  
    You can then try again and it will work.
    In fact the majority of the time this error message won't appear.
    The application has been removed and reinstalled.
    When I checked event viewer i'm finding this error which I think is related
    The description for Event ID 1 from source MSOLAP$LocalCube cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

    MSOLAP$LocalCube cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted.
    Hello,
    It's just a guess: Power Pivot uses the MSOLAP = "Microsoft OleDB Provider for OLAP" and maybe that Provider is damaged on the machine. You may try to reinstall the Provider, you can get the installer named "SQL_AS_OLEDB.msi" from
    Microsoft® SQL Server® 2012 SP2 Feature Pack  =>
    ENU\x86\SQL_AS_OLEDB.msi (for 32 bit)
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Error message when launching 7.1 with Vista: Windows wrong volume

    I had to reformat my disc to install Vista and reinstall iTunes. Now I get this message "Windows wrong volume" followed by a long string of numbers, and a box that has 3 choices - clicking on "continue" gets me into the program, but does anyone have an clue as to what to do to get rid of the message?
    I'm lost...
    Thanks.

    MSOLAP$LocalCube cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted.
    Hello,
    It's just a guess: Power Pivot uses the MSOLAP = "Microsoft OleDB Provider for OLAP" and maybe that Provider is damaged on the machine. You may try to reinstall the Provider, you can get the installer named "SQL_AS_OLEDB.msi" from
    Microsoft® SQL Server® 2012 SP2 Feature Pack  =>
    ENU\x86\SQL_AS_OLEDB.msi (for 32 bit)
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Can we merge data from multiple sources in Hyperion Interactive Reporting ?

    Hi Experts,
    Can we merge data from multiple sources in Hyperion Interactive Reporting ?Example can we have a report based on DB2
    Oracle,
    Informix and Multidiemnsional Databases like DB2,MSOLAP,ESSBASE?
    Thanks,
    V

    Yes, Each have their own Query and have some common dimension for the Results Sections to be joined together in a final query.
    look in help for Creating Local Joins

  • How to capture the SSAS server response to an XMLA command issued in VB Script

    Hi all,
    I have an SSIS package that contains a VB script task that sends XMLA commands to my SSAS server.  (I am using a script task and not the DDL task because there is lengthy logic required to build the XMLA command and send it to the appropriate
    server.)
    The problem I have is that while I have been able execute the XMLA command against the SSAS server, I am not able to capture the full response from the server.  Warnings are not being captured and other data is missing.  My code currently is as
    follows:
    Dim cn As New AdomdClient.AdomdConnection
    Dim cmd As New AdomdClient.AdomdCommand
    Dim returnValue As Object
    cn.ConnectionString = "Data Source=MyServer;Initial Catalog=MyDB;Provider=MSOLAP.5;Integrated Security=SSPI;"
    cn.Open()
    cmd.Connection = cn
    cmd.CommandText = fileReader
    On Error Resume Next
    returnValue = cmd.Execute()
    MsgBox(Err.Description)
    cn.Close()
    Note that "fileReader" is the string containing the XMLA command.
    If the xmla processes a dimension, and there are duplicate keys (for which it is set to error and stop), Management Studio give the response shown below, which includes the warning indicating there are duplicate keys:
    <return xmlns="urn:schemas-microsoft-com:xml-analysis">
    <results xmlns="http://schemas.microsoft.com/analysisservices/2003/xmla-multipleresults">
    <root xmlns="urn:schemas-microsoft-com:xml-analysis:empty">
    <Exception xmlns="urn:schemas-microsoft-com:xml-analysis:exception" />
    <Messages xmlns="urn:schemas-microsoft-com:xml-analysis:exception">
    <Warning WarningCode="1092550658" Description="Errors in the OLAP storage engine: A duplicate attribute key has been found when processing: Table: 'MyDim', Column: 'MyCol', Value: 'XYZ'. The attribute is 'MyAttr'." Source="Microsoft SQL Server 2012 Analysis Services" HelpFile="" />
    <Error ErrorCode="3238002695" Description="Internal error: The operation terminated unsuccessfully." Source="Microsoft SQL Server 2012 Analysis Services" HelpFile="" />
    However, in the VB script it captured in Err.description just some of the error: "Errors in the OLAP storage engine: An error occurred while the "MyAttr" attribute of the "MyDim" was being processed".
    Is there anyway to capture in the VB Script the full XML error as it appears in Management Studio?
    Help would be much appreciated!
    Thanks
    Guy

    Another method for executing XMLA is using Microsoft.AnalysisServices.Xmla;
    C# code will look like below:
    using Microsoft.AnalysisServices.Xmla;
      XmlaClient clnt = new XmlaClient();
                      string strOut = "", strMsg="";
                      string strXmla = File.ReadAllText(strXmlaFileName);
      clnt.Connect(strServer);
                      clnt.Execute(strXmla, "", out strOut, false, true);
                      clnt.Disconnect();
                      //check status
                      //Create the XmlDocument.
                      XmlDocument doc = new XmlDocument();
                      doc.LoadXml(strOut);
                      //display Error
                      XmlNodeList elemList = doc.GetElementsByTagName("Error");
                      for (int i = 0; i < elemList.Count; i++)
                          Console.WriteLine(elemList[i].Attributes["Description"].Value);
                          strMsg += elemList[i].Attributes["Description"].Value + "\r\n" ;
                          ++intExitCode;
                      //display warnings
                      elemList = doc.GetElementsByTagName("Warning");
                      for (int i = 0; i < elemList.Count; i++)
                          Console.WriteLine("Warning:" + elemList[i].Attributes["Description"].Value);
                          strMsg += elemList[i].Attributes["Description"].Value + "\r\n" ;
    Hope this helps.
    Arun

  • Connecting to a cube via a linked server

    Hi
    I want to connect to a SSAS cube via a linked server. When I ran a query against the SSAS cube from directly from the SQL server it runs fine.
    If however I run the query in SSMS from my PC I get
    OLE DB provider "MSOLAP" for linked server "SSASServer01" returned message "The following system error occurred: .".
    Msg 7373, Level 16, State 2, Line 1
    Cannot set the initialization properties for OLE DB provider "MSOLAP" for linked server "SSASServer01".
    In the properties on the linked server I've defined an account to use for the connection to get round the double hop issue
    Any Ideas why I'm still getting the error?
    Alex

    Hi Mr P,
    According to your description, you get the error 7373 with message "Cannot set the initialization properties for OLE DB provider "MSOLAP" for linked server "SSASServer01"." when connecting a SSAS cube via linked server.
    Right?
    In this scenario, based on the error code 7373, it points to the issue of MSOLAP provider, please firstly check the properties setting for MSOLAP. Make sure the "Allow Inprocess" is selected. You may also have other options selected depends on
    your query.
    Also check if ports for your server (1434 and 2383) are listening proper locally and externally. Please refer to a similar thread below:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/9d5bd9e0-c380-4a0f-bdab-857751c71fba/ole-db-msolap-provider-issues?forum=sqlanalysisservices
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
    TechNet Community Support

  • Excel Pivot (molap) will not refresh from an SSAS box that is not part of the Farm

    I have spent hours trying to get this working going through many links.  One of the best ones is this.
    http://whitepages.unlimitedviz.com/2010/12/connecting-to-cubes-and-external-data-with-excel-in-sharepoint/
    However even after doing all of this it is still not working.  Here is my set up.  I have a sharepoint 2013.  I am trying to connect to my DW SSAS server that is on a different domain and not part of the farm.  Everything else seems to
    work but excel.  I have power view connecting and creating great reports with refesh working perfect.  I have performance point working.  I have Reporting Services working.  We installed adventureworks on the local SSAS farm version and
    excel is working with this and refreshed just fine.  I can ceate and excel report and save it to sharepoint but when I open it I get the famous error.
    An error occurred during an attempt to establish a connection to the external data source. The following connections failed to refresh:
    I can open in excel and then refresh all from excel and all works fine.  I do not want my users to have to go through this.  They should be able to use excel in sharepoint.  Any ideas on what I am missing.  I have tried to follow exactly
    what the link above says but still not working.
    Ken Craig

    The first article is checking to make sure power pivot is installed and local ssas is running. This could not be an issue since like I mentioned I can create a Excel report to the local farm version of ssas and it opens and refreshed fine.  That
    would mean that power pivot is installed and the services are running right:)?
    The second article I have done over and over and I am pretty sure this works.  Again I can export to excel and it works just fine meaning my Data source is valid right?  yes I have chosen "none" as well.
    The third article talks about the different viewers.  Mine is using
    xlviewer.aspx so I would assume this is not the issue. 
    Here is what I am seeing in the logs but I am not sure what they are saying.  I used uls view somewhat like you would profiler. I started it tried to open excel and then stopped it.  Below are logs that look like they pertain to this action.
    ConnectionManager.GetConnection: Failed to create new connection, exception=Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.   
    at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass8.<CreateConnection>b__5()   
    at Microsoft.Office.Excel.Server.CalculationServer.CredentialsTrustedSubsystem.TryExecuteImpersonated(ExecuteImpersonatedMethod method)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials, ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId), sessionId=1.V23.297S76/z2k/Evl+S78bqiKj14.5.en-US5.en-US36.5a800c6f-758b-44e2-a092-e592f15e09771.A1.N,
    connectionString=Provider=MSOLAP.5;Integrated Security=SSPI;Persist Security Info=True;Data Source=BIL-BIRSTDB\ASADMIN;Initial Catalog=Ecomm OLAP pool count=0
    ConnectionManager.GetConnection: Caught an exception: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.   
    at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass8.<CreateConnection>b__5()   
    at Microsoft.Office.Excel.Server.CalculationServer.CredentialsTrustedSubsystem.TryExecuteImpersonated(ExecuteImpersonatedMethod method)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials, ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnectionAndAddToList(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Boolean auditConnection, Int32 keyLcid, ConnectionKey
    connectionKey, AutoReaderWriterLock autoPoolLock, Connection& connection, ConnectionList& connectionList)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.GetConnection(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Int64 privateConnectionId, Boolean auditConnection)
    Refresh failed for 'BIL-BIRSTDB_ASADMIN Ecomm OLAP Report' in the workbook 'http://eagleviewportal/BusinessIntelligenceCenter/Templates/Ecomm Report Power Pivot Default.xlsx'. [Session: 1.V23.297S76/z2k/Evl+S78bqiKj14.5.en-US5.en-US36.5a800c6f-758b-44e2-a092-e592f15e09771.A1.N
    User: 0#.w|hqeagleview\ken.craig]
    ExternalSource.ValidateConnection: Unable to get a connection: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.   
    at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass8.<CreateConnection>b__5()   
    at Microsoft.Office.Excel.Server.CalculationServer.CredentialsTrustedSubsystem.TryExecuteImpersonated(ExecuteImpersonatedMethod method)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials, ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnectionAndAddToList(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Boolean auditConnection, Int32 keyLcid, ConnectionKey
    connectionKey, AutoReaderWriterLock autoPoolLock, Connection& connection, ConnectionList& connectionList)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.GetConnection(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Int64 privateConnectionId, Boolean auditConnection)   
    at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.TryGetValidatedConnection(Request request, ConnectionRequest connectionRequest, ExternalDataScenario scenario, Credentials credentials, ExtendedConnectionInfo extendedConnectionInfo, Int64
    privateConnectionId, Boolean shouldReportFailure, Connection& connectionOut). sessionId=1.V23.297S76/z2k/Evl+S78bqiKj14.5.en-US5.en-US36.5a800c6f-758b-44e2-a092-e592f15e09771.A1.N, externalSource=BIL-BIRSTDB_ASADMIN Ecomm OLAP Report
    ExternalDataUtility.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 connectionName, ExtendedConnectionInfo extendedConnInfo, Boolean& shouldReportFailure)   
    at Microsoft.Office.Excel.Server.CalculationServer.ExternalDataUtility.GetExtendedConnectionInfo(IExternalDataObject extObject, ConnectionInfoManager connectionInfoManager, Request request, Int32 externalSourceIndex, Boolean ignoreErrors, ExternalDataScenario
    scenario, Exception& lastException, Boolean& shouldReportFailure)   
    at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.GetConnection(ExternalKey externalKey, Int32 externalSourceIndex, ExternalQueryKey externalQueryKey, ConnectionRequest connectionRequest, Int64 privateConnectionId, ExternalDataScenario scenario,
    Boolean prepare), Data Connection Name: BIL-BIRSTDB_ASADMIN Ecomm OLAP Report, SessionId: 1.V23.297S76/z2k/Evl+S78bqiKj14.5.en-US5.en-US36.5a800c6f-758b-44e2-a092-e592f15e09771.A1.N, UserId: 0#.w|hqeagleview\ken.craig
    Ken Craig

  • Excel SSAS Tabular error: An error occurred during an attempt to establish a connection to the external data source

    Hello there,
    I have an Excel report I created which works perfectly fine on my dev environment, but fails on my test environment when I try to do a data refresh.
    The key difference between both dev and test environments is that in dev, everything is installed in one server:
    SharePoint 2013
    SQL 2012: Database Instance, SSAS Instance, SSRS for SharePoint, SSAS POWERPIVOT instance (Powerpivot for SharePoint).
    In my test and production environments, the architecture is different:
    SQL DB Servers in High Availability (irrelevant for this report since it is connecting to the tabular model, just FYI)
    SQL SSAS Tabular server (contains a tabular model that processes data from the SQL DBs).
    2x SharePoint Application Servers (we installed both SSRS and PowerPivot for SharePoint on these servers)
    2x SharePoint FrontEnd Servers (contain the SSRS and PowerPivot add-ins).
    Now in dev, test and production, I can run PowerPivot reports that have been created in SharePoint without any issues. Those reports can access the SSAS Tabular model without any issues, and perform data refresh and OLAP functions (slicing, dicing, etc).
    The problem is with Excel reports (i.e. .xlsx files) uploaded to SharePoint. While I can open them, I am having a hard time performing a data refresh. The error I get is:
    "An error occurred during an attempt to establish a connection to the external data source [...]"
    I ran SQL Profiler on my SSAS Server where the Tabular instance is and I noticed that every time I try to perform a data refresh, I get the following entries:
    Every time I try to perform a data refresh, two entries under the user name ANONYMOUS LOGON.
    Since things work without any issues on my single-server dev environment, I tried running SQL Server Profiler there as well to see what I get.
    As you can see from the above, in the dev environment the query runs without any issues and the user name logged is in fact my username from the dev environment domain. I also have a separated user for the test domain, and another for the production domain.
    Now upon some preliminary investigation I believe this has something to do with the data connection settings in Excel and the usage (or no usage) of secure store. This is what I can vouch for so far:
    Library containing reports is configured as trusted in SharePoint Central Admin.
    Library containing data connections is configured as trusted in SharePoint Central Admin.
    The Data Provider referenced in the Excel report (MSOLAP.5) is configured as trusted in SharePoint Central Admin.
    In the Excel report, the Excel Services authentication settings is set as "use authenticated user's account". This wortks fine in the DEV environment.
    Concerning SecureStore, PowerPivot Configurator has configured it the PowerPivotUnnattendedAccount application ID in all the environments. There is
    NO configuration of an Application ID for Excel Services in any of the environments (Dev, test or production). Altough I reckon this is where the solution lies, I am not 100% sure as to why it fails in test and prod. But as I read what I am
    writing, I reckon this is because of the authentication "hops" through servers. Am I right in my assumption?
    Could someone please advise what am I doing wrong in this case? If it is the fact that I am missing an Secure Store entry for Excel Services, I am wondering if someone could advise me on how to set ip up? My confusion is around the "Target Application
    Type" setting.
    Thank you for your time.
    Regards,
    P.

    Hi Rameshwar,
    PowerPivot workbooks contain embedded data connections. To support workbook interaction through slicers and filters, Excel Services must be configured to allow external data access through embedded connection information. External data access is required
    for retrieving PowerPivot data that is loaded on PowerPivot servers in the farm. Please refer to the steps below to solve this issue:
    In Central Administration, in Application Management, click Manage service applications.
    Click Excel Services Application.
    Click Trusted File Location.
    Click http:// or the location you want to configure.
    In External Data, in Allow External Data, click Trusted data connection libraries and embedded.
    Click OK.
    For more information, please see:
    Create a trusted location for PowerPivot sites in Central Administration:
    http://msdn.microsoft.com/en-us/library/ee637428.aspx
    Another reason is Excel Services returns this error when you query PowerPivot data in an Excel workbook that is published to SharePoint, and the SharePoint environment does not have a PowerPivot for SharePoint server, or the SQL Server Analysis
    Services (PowerPivot) service is stopped. Please check this document:
    http://technet.microsoft.com/en-us/library/ff487858(v=sql.110).aspx
    Finally, here is a good article regarding how to troubleshoot PowerPivot data refresh for your reference. Please see:
    Troubleshooting PowerPivot Data Refresh:
    http://social.technet.microsoft.com/wiki/contents/articles/3870.troubleshooting-powerpivot-data-refresh.aspx
    Hope this helps.
    Elvis Long
    TechNet Community Support

Maybe you are looking for

  • Unable to find "Ordinal 19" in MAPI32.dll

    Have anybody seen this error before? Adobe Reader simply refuses to open excusing itself as stated above, I'm not sure of the precise wording, as the error message is in Danish as you can see below. Thanks for reviewing my problem! /Jacob

  • In workcenter username under created by

    Hello All, When ever a message is raised from satellite system, in workcenter under created by column BACK RFC user name is displayed. Where as in  ticket under reported by the actual persons name is dispalyed. Is there anyway to change created by co

  • How would I create for example a happy face?

    I would I go so doing/creating lets say a happy face using drawRect and lines and such? I know how to get The eyes and the circle. But not the mouth smiling. I also wanna try to do it when I click a button it will frown instead of smile. Which is eas

  • Surface Pro 3, Project Siena Apps, Need CSS for that form factor ASAP please

    Now that the Surface Pro 3 is out, I really don't like the black bars that appear above and below Project Siena Apps. I don't know enough to figure out how *I* can edit the CSS which currently states: #publishedCanvas {     /* TASK: 73670: Add suppor

  • Error in Sales change Bapi

    I am using BAPI_SALESORDER_CHANGE bapi to add new items. Additionaly i am passing EXTENSIONIN table. I am getting this error message "Inconsistency between a document field and the prof. segment number" for some of the materials. Can you please sugge