microsoft / RdlMigration

Tool that converts RDL from a SQL Server Reporting Services Server or Power BI Report server and published to a Power BI premium workspace
MIT License
111 stars 44 forks source link

Index was out of range #31

Open jidl-gh opened 4 years ago

jidl-gh commented 4 years ago

Hello, when I run the tool for certain folder I get and 'Index was out of range error':

Starting the log-in window Log-in successfully, retrieving the reports... Starting conversion and uploading the reports 03/09/2020 06:58:56 Found 21 reports to convert Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

Any ideas what this refers to?

itsnotaboutthecell commented 3 years ago

I'm getting the same error when attempting to run the CI_1791266 version - and it's not allowing the script to run successfully.

Found 1 reports to convert
Index was out of range. 
Must be non-negative and less than the size of the collection.
Parameter name: index
ben-harper commented 3 years ago

I too have the same error, also the CI_1791266 version.

Starting the log-in window
Log-in successfully, retrieving the reports...
Starting conversion and uploading the reports 11/12/2020 5:18:07 PM
Found 70 reports to convert
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
ben-harper commented 3 years ago

Also still an issue with the pre-release version CI_2110572

nonmanifold commented 3 years ago

this might look like a bug in the tool, but I believe its just confusing error reporting: When I debugged code I saw that there was a swallowed exception caused by one of our reports having an unsupported drill down feature: "Drillthrough feature is not supported. Paginated reports with drillthrough cannot be uploaded." If you can't debug this tool, same error may be seen on Power BI web UI when trying to manually import converted .rdl file. Hope this helps someone.