'Excel error 'The Operation was cancelled by the user'

I have an Excel file which is connected to the database. Whenever, I try to refresh the data I get the error as "We couldn't refresh multiple tables, including from connection 'SqlServer. Here's the message we got: The Operation was cancelled by user"

Why I am getting this error? The data connections seem fine.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source