Cannot connect SSAS Server to Power BI - ssas

I would like to connect my cube from SSAS to Power BI Desktop (Direct connection) but I can't access to the server of SSAS.. I get this: "The server you are trying to connect to does not have templates or you do not have permission to access it"
I tried also the import option and I manage to connect to the server but I can't select the cube..
I googled about this issue but none of solutions I found worked for me
Any suggestions
Thanks in advance

For those who are faced the same problem, just add the name of the database..it's worked for me

Related

How to connect to a SQL Server from an m1 chip macbook

I am working on a project with a friend and he has deployed a SQL Server database. He uses a PC and can access the database using Microsoft SQL Server Management Studio (SSMS).
However I have a Macbook with an M1 chip and so I cannot use SSMS and need to figure out which SQL Server application I want.
It seems like the way to go is Microsoft Azure Data Studio. I cannot figure out how to connect properly, I have looked at several solutions posted online which all say to download docker, download the latest SQL Server image, use SQL edge, run SQL Server in a container and then open Azure and connect.
One caveat is that all these tutorials end with creating a SQL Server on the local host rather than connecting to an existing one.
In Azure, after entering server id, username and password, there is a green dot on the label of the DB on the left drop down menu, indicating that the connection to the DB was successful. However whenever I try to view the DB's from the drop down it loads and then errors:
Object Explorer task didn't complete within 45 seconds
and I cannot run any basic queries either.
At this point I don't care what IDE I use as long as it works. Any advice is much appreciated. It seems like this task should be super easy but has given me such a hard time and we cannot continue working on the project until I get access.
Anyways, thanks again in advance! and lmk if there's any other info I should provide.
Tried using docker with Azure Data Studio and my results were the same as when I only used Azure.
You'll want to use Azure Data Studio.
You don't need Docker at all to meet your goals. Those tutorials were in regards to running your own SQL Server instance on a Mac. You're trying to connect to an existing instance.
As mentioned in the comments, where is the existing SQL Server instance located?...is it on a server that's part of a domain. Is your Mac part of that same domain? It sounds like you're getting some kind of timeout issue or some sort of authentication issue. So this is more of an infrastructure question.
Once connected to the SQL Server instance in Azure Data Studio, what happens if you just open a blank worksheet and run the query SELECT ##SERVERNAME?

SQLException: Network error IOException:Connection refused: connect

I am new to Talend application, while I am trying to connect to SQL Server database, I'm getting the error shown below. I googled it for resolve this issue few people were commenting as need to be start the SQL Server services in services.msc as they suggested I have enabled the services and but facing same issue so far.
Please kindly help me on this issue and find the attached screen shot which are facing an issue.
Services error of SQL error 2:
Talend error:
There is two option to connect to SQL Server,
1) Mix Mode
2) Window Authentication
Use Microsoft SQL Management Studio and try connect into the database.

Access denied when importing SSAS metadata into OBIEE

We are currently investigating the viability of using OBIEE as the presentation tier for our BI solution (SQL Server 2012, using both the database and analysis services). IIS (which is utilized as a pass through for OBIEE to access SSAS via XMLA) is version 7.
When trying to import SSAS cube metadata into OBIEE, we are receiving "401 - Unauthorized: Access is denied due to invalid credentials". The connection from IIS to SSAS has been tested via Excel and established as working. Looking at the IIS logs, it appears that the username is not passed through when connecting via OBIEE, but is passed through when using Excel.
We have also tried using a local user to no avail.
Thanks in advance.
Undoubtedly there is a better solution, however, here is how I was able to get it to work.
Use anonymous authentication on IIS
Provide IUSR access to the cubes in question
Configure IIS to accept connections from the OBIEE server only, for
the XMLA pass-through site in IIS
Now, certainly less than ideal, but works.

Unable to start T-SQL Debugging. Could not connect to computer ("*****")

When I try to debug an Stored Procedure using Microsoft SQL Server Management Studio, I encounter this error message: Unable to start T-SQL Debugging. Could not connect to computer ("*"). The dubugger cannot connect to the remote computer. This may be because the remote computer does not exist or a firewall may preventing communication to the remote computer. Please see help for assistance.
I really appreciate any help.
SSMS needs to be able to find your SQL Server by DNS. When you connect to the DB in SSMS, you can use (local), but (local) does not resolve on your network so the debug program can not find it. Try connecting to localhost or your computer's name on the "Connect to Server" screen.
You should not have to run as administrator.
I just wanted to pay this forward, as after searching for quite some time I've yet to see anyone mention the problem that I encountered here.
I ran into this issue while connected to SQL using a SQL Server Authenticated user. Once I tried using a Windows Authenticated user I was able to debug without issue. That user must also be assigned the sysadmin role.
Hope this helps someone.
There's still problem in MSSQL 2012 if you want to debug a query connected to server via some defined alias. You need to connect to that server with the full name of the server first and then the debugger finds the server - otherwise it doesn't.
Simple way to just go to the database-> security->login->right click on the login and add your name and check the service role as public and sysadmin. more reference Unable to start T-SQL Debugging
I had this issue, I was connected to the server through RDC, and when connected to the instance I simply used '.', which failed. Then I tried 'SQL12P1' with and without port number, which failed. I then used 'localhost' and this solved my issue.
For local debugging (and I think for remote debugging too?) the Windows account under which you are running SSMS also needs to be set up as a SQL Server login and be a member of the SQL Server sysadmin role, in addition to this being required for the account (Windows or SQL Server) which you are more apparently using to connect to SQL Server, where these are different!
If not, you still get the same error message asked about in this question.
https://learn.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2010/s0fk6z6e(v=vs.100)
Run Microsoft SQL Server Management Studio as User Administrator mode. You will not get this error while debugging. And You can debug stored procedure. This helps to solve my problem.

Connect SQL SEVER DB from network by ODBC

I need to connect to an SQL server database on the network by ODBC or another way, from the server I can access the database through the ODBC, but from the PC in the network i cannot.
The purpose of that is to view a report for end users give me solution or ideas please?
There is a lot about your setup that we'd need to be able to help. Have you tried any of the steps at the link below besides testing a local connection?
http://social.technet.microsoft.com/wiki/contents/articles/2102.how-to-troubleshoot-connecting-to-the-sql-server-database-engine.aspx