PowerPivot External Data connection error: Invalid URI

LadyMagnus

New Member
Joined
Sep 22, 2015
Messages
7
I am trying to use a .atomsvc file from an SSRS report as my external data connection in power pivot. Every time I tried to connect to this particular report I get an error message: Invalid URI: the Uri string is too long.

Anyone know what this means? Is there any way I can get around this error -- without having to edit the source SSRS report?

the entire detail of the error message is copied below:





============================
Error Message:
============================

Invalid URI: The Uri string is too long.
----------------------------
Failed to connect to the server. Reason: Invalid URI: The Uri string is too long.

============================
Call Stack:
============================

at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at Microsoft.Data.OData.Atom.ODataAtomDeserializer.ProcessUriFromPayload(String uriFromPayload, Uri xmlBaseUri, Boolean makeAbsolute)
at Microsoft.Data.OData.Atom.ODataAtomServiceDocumentDeserializer.ReadCollectionElement()
at Microsoft.Data.OData.Atom.ODataAtomServiceDocumentDeserializer.ReadWorkspace()
at Microsoft.Data.OData.Atom.ODataAtomServiceDocumentDeserializer.ReadServiceDocument()
at Microsoft.Data.OData.ODataMessageReader.ReadFromInput[T](Func`2 readFunc, ODataPayloadKind[] payloadKinds)
at Microsoft.Data.DataFeedClient.DataFeedODataReader.InterceptODataException[T](Func`1 function)
at Microsoft.Data.DataFeedClient.ODataHelper.GetCollectionsFromODataReader(DataFeedODataReader reader)
at Microsoft.Data.DataFeedClient.ODataHelper.GetCollectionsFromServiceDocumentUrl(Uri serviceDocumentUrl, DataFeedConnection connection)
at Microsoft.Data.DataFeedClient.DataFeedConnection.Open()
at Microsoft.AnalysisServices.BackEnd.RelationalDataSourceConnection.InitializeConnectionObject(String connectionIdentifier)
----------------------------
at Microsoft.AnalysisServices.BackEnd.RelationalDataSourceConnection.InitializeConnectionObject(String connectionIdentifier)
at Microsoft.AnalysisServices.BackEnd.RelationalDataSourceConnection.Open(String& connectionIdentifier)
at Microsoft.AnalysisServices.BackEnd.RelationalDataSourceConnection.Open()
at Microsoft.AnalysisServices.Common.DataSourceBasic.ClickTestConnection(Object progressControl)

============================
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Well I guess the problem is clear - the URI is too long - but how to fix it? Not sure. You could try loading via power query instead. Not sure if it will work, but it is worth a try.
 
Upvote 0
not a terrible idea, but I don't think power query can connect to a .atomsvc file. I'm going to do some research on connecting directly to the SSRS site, but I've never used power query. I'll share my results once I figure it out.
 
Upvote 0

Forum statistics

Threads
1,215,601
Messages
6,125,758
Members
449,259
Latest member
rehanahmadawan

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top