Forum Discussion
Direct Query, SQL-server 2012 publishing error
- Anonymous8 years ago
FunDeckHermit,
Go to Settings->Manage Gateways, add SQL Server data source within gateway following the guide in the article.
Regards,
Lydia
FunDeckHermit,
What server name and database name do you use when adding the SQL data source within your gateway? Please make sure that the server name and database name are same as that you use in Power BI Desktop.
In addition, do you use "." as server name in Power BI Desktop? Do you install gateway and SQL Server in a same machine?
Regards,
Lydia
Hello Lydia, Anonymous
I use ServerName: .
And databasename: CompanyProduct nx Datalogger
These settings were used everywhere, power BI desktop, query builder and even the gateway.
With regards,
Roy
- Anonymous8 years agoNot applicable
FunDeckHermit,
Do you install gateway on the same machine that installing SQL Server? If not, please change your ServerName to machine name or IP address in your PBIX file and gateway.
Regards,
Lydia- FunDeckHermit8 years agoHelper I
Anonymous
Hello Lydia,
I have changed the "." to the actual server-name. The error is still the same.
Everything is running on the same machine with name: BEE-LT-0400Everything is running on my user-account (local admin):
The network might be restricted, is port 443 the only port needed?
I am running in HTTPS-mode.
With regards,
FunDeckHermit
- Anonymous8 years agoNot applicable
FunDeckHermit,
Could you please post the connection string you use to connect to SQL Server in gateway and Power BI Desktop?
Regards,
Lydia