Today, while uploading a report in the Dynamics 365 Online, I faced the following exception:
After clicking on the ‘Download Log File’ button, I got a more detailed exception and it informed me that ‘Microsoft.VisualBasic.Interaction’ has been referred which is not allowed in the Dynamics 365 Online (seems reasonable).
Since I was not exactly sure at what places I used it nor how many times were it used, so I opened the *.rdl file into Notepad++ and do the Find and replace. In this way, I removed all the instances of Microsoft.VisualBasic.
After removing the references to Microsoft.VisualBasic, I upload the report and it works properly. Bingo!!