Forum Discussion

amitshah1935's avatar
amitshah1935
Copper Contributor
Jul 16, 2020

Refresh all connections button click on excel online gives an error

We have configured an excel file with a https://services.odata.org/V3/OData/OData.svc/ on excel 2016 desktop. The data is loaded into the sheet from Queries & Connections tab. Refresh works fine here. This file is uploaded on sharepoint which is then opened with excel online.

When we do "Refresh All Connections" on excel online we get an error as shown in the screenshot. The technical details of the error are also shared below.

Can you guide us on what could be the issue with refresh?

 

 

Technical details

 

Connection: Query - PersonDetails Error: COM error: Microsoft.Sql.Analysis.ASOnPremisesDataAccess, Failed discovery for connection string provider=Microsoft.Mashup.OleDb.1;data source=$Workbook$;location=PersonDetails;extended properties="UEsDBBQAAgAIAICY71BUwQxrpgAAAPgAAAASABwAQ29uZmlnL1BhY2thZ2UueG1sIKIYACigFAAAAAAAAAAAAAAAAAAAAAAAAAAAAIWPMQ6CMBhGr0K605YKashPGVwlMSEaV1IqNEIxtFju5uCRvIIkiro5fi9veN/jdod0bBvvKnujOp2gAFPkSS26UukqQYM9+WuUctgV4lxU0ptkbeLRlAmqrb3EhDjnsFvgrq8IozQgx2ybi1q2BfrI6r/sK21soYVEHA6vGM7wiuEoipY4DAMgM4ZM6a/CpmJMgfxA2AyNHXrJpfb3OZB5Anm/4E9QSwMEFAACAAgAgJjvUA/K6aukAAAA6QAAABMAHABbQ29udGVudF9UeXBlc10ueG1sIKIYACigFAAAAAAAAAAAAAAAAAAAAAAAAAAAAG2OSw7CMAxErxJ5n7qwQAg1ZQHcgAtEwf2I5qPGReFsLDgSVyBtd4ilZ+Z55vN6V8dkB/GgMfbeKdgUJQhyxt961yqYuJF7ONbV9Rkoihx1UUHHHA6I0XRkdSx8IJedxo9Wcz7HFoM2d90Sbstyh8Y7JseS5x9QV2dq9DSwuKQsr7UZB3Fac3OVAqbEuMj4l7A/eR3C0BvN2cQkbZR2IXEZXn8BUEsDBBQAAgAIAGw071DdiFNqFgEAAO4BAAATABwARm9ybXVsYXMvU2VjdGlvbjEubSCiGAAooBQAAAAAAAAAAAAAAAAAAAAAAAAAAABtj81qwzAQhO8Gv4PQyQZjN+2twYdSE+ilKXXIxZii2pvEIEtGWhlKyLtXstSWlOign9nVfLMaOhykILU/V+s4iiN9Ygp68gZKS1EBsoFrUhIOGEfErloa1YFVthVDlm8A+oSeECf9WBQa1Dx0oHPZu6JUx2L/UCydfs/13BU0I8JwnpHmZZw4jCCQuQAlvc/vaJtmnnQV4QPZJ3dYzz83r2yEkl710KwejoKhUbay9NP20jhsGyyfDMp3GOUM/bPkZhR6ZS197XdCt9DKO+eQb5Qc94wbSG7ksSNUcGCGo7dzoezPf7Ha1BsP4g/gzX2WECXBLMhB2B52XxM4+Yz2QgJyuSvopOrDgw8aL6ml/BBuzLn+BlBLAQItABQAAgAIAICY71BUwQxrpgAAAPgAAAASAAAAAAAAAAAAAAAAAAAAAABDb25maWcvUGFja2FnZS54bWxQSwECLQAUAAIACACAmO9QD8rpq6QAAADpAAAAEwAAAAAAAAAAAAAAAADyAAAAW0NvbnRlbnRfVHlwZXNdLnhtbFBLAQItABQAAgAIAGw071DdiFNqFgEAAO4BAAATAAAAAAAAAAAAAAAAAOMBAABGb3JtdWxhcy9TZWN0aW9uMS5tUEsFBgAAAAADAAMAwgAAAEYDAAAAAA==". A connection could not be made to the data source with the DataSourceID of '19273d50-a993-4e06-813c-a6675b1d7d94', Name of 'Query

PersonDetails'. An error occurred while processing table 'PersonDetails'. The current operation was cancelled because another operation in the transaction failed.
Learn more about data refresh

 

 

4 Replies

    • amitshah1935's avatar
      amitshah1935
      Copper Contributor

      SergeiBaklan - Thanks for the reply. 

      > Power Query refresh is not supported by Excel Online

      Ok. I could not find any official documentation stating that but I could get to https://social.msdn.microsoft.com/Forums/sqlserver/en-US/1d4a4875-4492-4efb-b684-d31be99efe0f/data-model-refresh-on-sharepoint-online-with-power-query?forum=sqlkjpowerpivotforexcel#4c154fd2-5dfa-4116-b558-47cb080372dc.

       

      > Perhaps something of this https://docs.microsoft.com/en-us/officeonlineserver/data-authentication-for-excel-online-in-office-online-server  

       

      Thanks for sharing the link. According to this, we need to create a ODC file from the OData service and a custom data provider. Will check more on it.

       

      > Alternatively you may load data to data model through PowerPivot connector and return result back using linked-back tables.

       

      I didn't completely follow on how would it help to refresh the excel data when it changes in the source which is the OData feed in my case.

       

      Thanks.

      • ComputerHabit's avatar
        ComputerHabit
        Brass Contributor
        Ever get an answer? I'd like to be able to refresh a spreadsheet I use in Sharepoint and use it in reports elsewhere.

Resources