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?
Anonymous This looks like the credentials you are using in the gateway do not have sufficient permissions to access the database. The local connection (with your creds) will work if you have permissions, but once you deploy, you are using the credentials tied to the datasource in the gateway.
Eno, Thanks for the reply.
Clearly I'm missing something, but to me the gateway credentials seem to be allright.
I'm pretty new to Power Bi and Direct Query. With CSV/Excel files i got (an other) gateway working, but this one is a pain in the ass.
- Anonymous8 years agoNot applicable
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?
- Anonymous8 years agoNot applicable
I tried both, with the same result. any other suggestions?
- Anonymous8 years agoNot applicable
Anonymous Are you using the datasource on the gateway for other reports, or is this the first one you are trying to hook up? Has the SQL Server been configured to allow external access?