Unable to connect Microsoft SQL Server from Tableau - tableau-api

I tried to connect Microsoft SQL Server from Tableau but I got an error message.
I opened the Microsoft SQL Server app and everything works fine.
I'm not sure what is the error.
I tried googling it but I cannot find the solution.

Related

Error Connecting PowerBi Server to PostgresSQL hosted on AWS Relational Database Service via Gateway

After I publish the report to powerbi server, I get this error below when I try to authenticate my datasource with basic credentials.
Underlying error code: -2147467259 Underlying error message: Please install Npgsql version 4.0.10.0 or earlier. DM_ErrorDetailNameCode_UnderlyingHResult: -2147467259 Microsoft.Data.Mashup.ValueError.DataSourceKind: PostgreSQL
This works perfectly on desktop version but fails on server.
I could see several solutions online but only for desktop version. Can someone guide me please.

Tableau - SQL Server Connection

I have installed Tableau Desktop 9.3 on my Machine. When I try connecting to Microsoft SQL Server as per this tutorial, I don't see any to a server or to a file option.
It just shows as below
How can I connect to server or file using tableau?
You will see a option called To a Server option below where you will find sql server connection.

Tableau Server 9.2.4: Microsoft SSAS connection issue

I have built a workbook on my laptop connecting MS SSAS to Tableau server. It worked fine by using MS SSAS connector.
After I published to Tableau server 9.2.4 and installed MS SSAS driver below, I got an error.
MS SQL SSAS 2014 driver on the Tableau servers. Microsoft Analysis Services 2012 SP1 64-bit (version 11.0.2100.60) from: https://www.tableau.com/support/drivers
An unexpected error occurred. If you continue to receive this error,
please contract your Tableau Server Administrator.
Thanks again for your help.
This issue is resolved. It is a permission issue after reading the Tableau server log:
2016-03-21 16:17:23.968 -0700 catalina-exec-40 Default abc.com\John Doe ERROR requestId=VvCBA6BFEMwAABvo4hUAAAFx: wgsessionId=fu5qnq7cUm3ZAtpeZx6qqhmiOlTKCLW4 com.tableausoftware.controller.vizql.ExceptionController - Exception details:
Analysis Services database error 0x80004005: Either the user, ABC\TestSvc, does not have access to the Analysis database, or the database does not exist.
Unable to connect to the server. Check that the server is running and that you have access privileges to the requested database.
Errors occurred while trying to load the workbook "/views/Dashboard". The load was not able to complete successfully.

SQL Server 2008 R2 cannot connect to database engine

I recently started developing ASP.NET windows application and web sites using Visual Studio 2010 and SQL Server 2008 R2.
Visual Studio 2010 seems to work fine but I got problem starting SQL Server 2008 R2.
When I open SQL Server Management Studio, the "Connect to Server" window opens and ask me Server Name. Authentication type is "Windows Authentication".
I googled it too much but still cant find suitable server name.
My default instance is SQLEXPRESS (I found it in SQL Server Configuration Manager).
I tried ., (local), 127.0.0.1, localhost, my machine name (i.e. MYName-PC/MyName) but I get error that cannot connect to (local) and so on...
When I conncect first time with (local) I got successful connection.
But from next day the error again occured.
When I use server name as ./SQLEXPRESS I got error that
The RPC server is not available
I tried using turn my firewall off still no success.
I am very frustrated at this moment because I am not able to find suitable server name.
Thank you for reading my post.
Hope someone will help me.
Thanks.

SQL30082N Attempt to establish connection failed with security reason 5

I'm getting this error when i try to connect to DB2 Database server using OLEDBConnection in Visual studio 2008 windows application developed in c#:
SQL30082N Attempt to establish connection failed with security reason 5
I'm using Microsoft OLEDB Provider for DB2. When i try to connect i am getting the above error.
I am using the below connection string for connecting to DB2
ConnectionStr = "Provider=IBMDADB2;Database="SampDB";Hostname=114.968.25.61;Protocol=TCPIP;Port=60001;Uid =testuser; Pwd=!DB2User!;";
I am 100% sure that this userid is correct. My DB2 client provider version is 8.0
In my desktop i am getting this error. but this windows application works well on all others machine. Please help me in fixing the issue.
According to Info Center, reason code 5 for SQLSTATE SQL30082N means that the UserId is missing.
I think what may be the issue (if you copied and pasted your exact connection string) is that there is an extra space after Uid.
If you're using .NET, then you may want to look at the OleDbConnectionString class. It will format and escape the connection string as needed.