Forum Discussion
Unable to Connect to import or direct query reports
I have no idea what happened. :(
Opened BI this morning and am getting "Unable to Connect" error with not further details. Pretty much useless.
The gateway is still up and running and data is refreshing online which is great.
I have tried reinstalling BI desktop, signing out, signing in with different users, attempting to create new import and direct query reports all no good.
When opening a direct query file that I have previously created I get
I can get through to the report but unable to refresh the data or acutally do any modelling.
When trying to refresh a Power BI Direct Query file I get the below error.
When going into Query Editor on a PowerBI Import file each table shows an error ... but no actual details.
This all seems really odd. Have made no permission changes to SQL access or AD access.
I can still run power query in a spreadsheed and connect to the data on the SQL server fine. Seems to be a specific PowerBI issue.
Any ideas would be great.
- Anonymous9 years ago
elliotdixon Check your cached data sources. Once in awhile it seems like these can go bad, or a change somewhere to password or configuration impacted them.
You can edit or remove your cached data sources by going to File - Options and Settings - Data Source Settings - click on "Global Permissions" highlight the data sources that are effected and either update them or delete them and reconnect. This should resolve any connection error as long as all the permissions are there.
6 Replies
- ankitpatira
Community Champion
elliotdixon For the impersonation error you're getting try ensuring that the user you're using to connect to the SQL server is mapped as a user on the actual database ie even if your user is a admin make sure that it is also mapped to the db that your report is accessing.
- elliotdixon
Responsive Resident
Hi ankitpatira cheers for the info but that does not seem to be the issue. I get the Unable to Connect error even before I try and connect to a database. It appears when trying to connect to the server without defining the database.
- AnonymousNot applicable
elliotdixon Check your cached data sources. Once in awhile it seems like these can go bad, or a change somewhere to password or configuration impacted them.
You can edit or remove your cached data sources by going to File - Options and Settings - Data Source Settings - click on "Global Permissions" highlight the data sources that are effected and either update them or delete them and reconnect. This should resolve any connection error as long as all the permissions are there.
- RA1-New Member
Haven't managed to connect to Visual Studio Online to get data for Stories/Teams etc for reports.
So frustrated.
Just get
"We couldn't import data from Visual Studio Marketplace Extension Statistics"
"There was an error when processing the data in the data set"
"Please try again later or contact support. If you contact support, please provide these details."
Message The command has been canceled. Table: Sales.
etc