Forum Discussion
Report couldn't access data source in Direct Query mode
- Anonymous8 years ago
Anonymous I would assume that the credentials can access the SQL Server, otherwise you wouldn't be able to use the datasource. My thought is that while it can reach the SQL Server, it can't access all the tables/views that it needs to in order to produce the report results... what level of permission does it have on the SQL Server? Is it a different account, or your credentials?
Alternatively, did you use a basic auth connection in the Desktop?
I've created the same test on my own pc with a local sql server and published it. And this works fine.
Your suggestions about the credentials are probably right. Now its up to me to figure this one out.
At first I published from Desktop using the import sql feature, later I used (with a new file) the direct query option. Both using the same gateway. Can this somehow be the root of the problem?
Thanks for the help. I´ll keep this thread open for a little longer until I got it working on premise
Anonymous,
Did you map user from PBI service to Windows account user here?
mapping
- Anonymous8 years agoNot applicable
I don't have a button for this. I can only add or remove users
- zoloturu8 years agoMemorable Member
Anonymous,
If you configured Gateway but yourself then you should have user under USERS tab (see screenshot). Provide your screenshot.
- Anonymous8 years agoNot applicable
This was not the problem. I deleted the data source under the gateway and added it again. Now it works
- Anonymous8 years agoNot applicable
No it had to do with the credentials in the gateway. Problem solved already. Thanks for the reply
- Anonymous7 years agoNot applicable
Hi,
Im facing the same issue.
Could you pls provide me solution in detail.
Power bi desktop - basic auth or windows?
power bi service - ?
gateway connection for datasource is successful.
kindly advice!
Thanks