Reputation: 2370
I have exported an SSRS report to an .ATOMSVC file by running the report and saving as Data Feed. I then try to import the data feed into Excel (Data From Other Sources > From Odata Data Feed) by selecting the .ATOMSVC file. I go through all the steps to select the tablix, save the connection file, and import data to Table. It is at that step where I get an error message.
We couldn't get data from the data model. Here's the error message we got:
The remote server return an error: (500) Internal Server Error.
I would expect the data to load to an excel sheet but instead I get this error. What could cause this error?
REFERENCE:
I have done this before with successfull data dump to Excel. Below I have included some articles those show these same steps.
These articles how to dump the data to Excel Powerpivot; not exactly the same destination I am trying
ATOMSVC:
Here is the contents of the exported from SSRS.
<?xml version="1.0" encoding="utf-8" standalone="yes"?><service xmlns:atom="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" xmlns="http://www.w3.org/2007/app"><workspace><atom:title>Campylobacter and Salmonella Lab Results</atom:title><collection href="http://gcop046/ReportServer?%2FFSQA%2FCampylobacter%20and%20Salmonella%20Lab%20Results&paramFacilities=14&paramStartDate=06%2F01%2F2019%2000%3A00%3A00&paramTestSampleType=37&paramTestSampleType=25&paramTestSampleType=1&paramTestSampleType=33&paramTestSampleType=20&paramTestSampleType=44&paramTestSampleType=45&paramTestSampleType=32&paramTestSampleType=41&paramTestSampleType=21&paramTestSampleType=38&paramTestSampleType=47&paramTestSampleType=46&paramTestSampleType=2&paramTestSampleType=3&paramTestSampleType=24&paramTestSampleType=40&paramTestSampleType=34&paramTestSampleType=16&paramTestSampleType=4&paramTestSampleType=5&paramTestSampleType=39&paramTestSampleType=35&paramEndDate=06%2F30%2F2019%2000%3A00%3A00&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=Parts%20Rinse&distinctlistTestSampleType=USDA%20Parts%20Companion&distinctlistTestSampleType=USDA%20Parts%20Companion&rs%3AParameterLanguage=&rs%3ACommand=Render&rs%3AFormat=ATOM&rc%3AItemPath=tablix_dsMyData"><atom:title>tablix_dsMyData</atom:title></collection></workspace></service>
STEPS:
Upvotes: 0
Views: 4173
Reputation: 2370
I've searched around for what could be the cause of the error message "The remote server return an error: (500) Internal Server Error.". There are many posts out there concerning this error, none are related to my problem. One of the solutions online was: "The 500 error literally says 'Something broke but i have no idea what'. It's up to you to use your skills as a developer to find out what it is.".
I inspected the contents of file that was exported and I found that it had included the same parameter repeatedly, distinctlistTestSampleType=Parts%20Rinse&
. I deleted all except one occurrence of the parameter string and that fixed the problem.
Upvotes: 1