来自 ssrs 的 excel 中的 atomsvc:"We couldn't get data from the data model"
atomsvc in excel from ssrs: "We couldn't get data from the data model"
我已通过 运行 报告将 SSRS 报告导出到 .ATOMSVC 文件并另存为数据馈送。然后,我尝试通过 selecting .ATOMSVC 文件将数据馈送导入 Excel(来自其他来源的数据 > 来自 Odata 数据馈送)。我完成 select tablix 的所有步骤,保存连接文件,并将数据导入 Table。正是在那个步骤我收到一条错误消息。
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.
我希望数据加载到 excel sheet 但我却收到此错误。什么可能导致此错误?
参考:
我之前已经成功将数据转储到 Excel。下面我收录了一些展示这些相同步骤的文章。
这些文章如何将数据转储到 Excel Powerpivot;与我尝试的目的地不完全相同
- https://www.red-gate.com/simple-talk/sql/reporting-services/ssrs-reports-as-a-data-source-in-excel-2013/
- https://docs.microsoft.com/en-us/sql/reporting-services/report-builder/generate-data-feeds-from-a-report-report-builder-and-ssrs?view=sql-server-2017
- https://support.office.com/en-us/article/import-data-from-a-reporting-services-report-6c196bd9-05ee-4759-99c9-ac10d57260a1
ATOMSVC:
这是从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>
步骤:
我四处搜索了错误消息“远程服务器 return 错误:(500) 内部服务器错误。”。有很多关于这个错误的帖子,none 与我的问题有关。在线解决方案之一是:“500 错误字面意思是 'Something broke but i have no idea what'。这取决于您作为开发人员使用您的技能来找出它是什么。”。
我检查了导出文件的内容,发现它重复包含相同的参数,distinctlistTestSampleType=Parts%20Rinse&
。除了参数字符串出现一次外,我删除了所有参数字符串,这解决了问题。
我已通过 运行 报告将 SSRS 报告导出到 .ATOMSVC 文件并另存为数据馈送。然后,我尝试通过 selecting .ATOMSVC 文件将数据馈送导入 Excel(来自其他来源的数据 > 来自 Odata 数据馈送)。我完成 select tablix 的所有步骤,保存连接文件,并将数据导入 Table。正是在那个步骤我收到一条错误消息。
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.
我希望数据加载到 excel sheet 但我却收到此错误。什么可能导致此错误?
参考:
我之前已经成功将数据转储到 Excel。下面我收录了一些展示这些相同步骤的文章。
这些文章如何将数据转储到 Excel Powerpivot;与我尝试的目的地不完全相同
- https://www.red-gate.com/simple-talk/sql/reporting-services/ssrs-reports-as-a-data-source-in-excel-2013/
- https://docs.microsoft.com/en-us/sql/reporting-services/report-builder/generate-data-feeds-from-a-report-report-builder-and-ssrs?view=sql-server-2017
- https://support.office.com/en-us/article/import-data-from-a-reporting-services-report-6c196bd9-05ee-4759-99c9-ac10d57260a1
ATOMSVC:
这是从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>
步骤:
我四处搜索了错误消息“远程服务器 return 错误:(500) 内部服务器错误。”。有很多关于这个错误的帖子,none 与我的问题有关。在线解决方案之一是:“500 错误字面意思是 'Something broke but i have no idea what'。这取决于您作为开发人员使用您的技能来找出它是什么。”。
我检查了导出文件的内容,发现它重复包含相同的参数,distinctlistTestSampleType=Parts%20Rinse&
。除了参数字符串出现一次外,我删除了所有参数字符串,这解决了问题。