Analysis Services Processing Task: Error A connection cannot be made

Bilal H. Bhatt 136 Reputation points
2024-09-03T04:30:09.63+00:00

Hi,

We are executing an SSIS package.. it fails with the below error

Analysis Services Processing Task: Error A connection cannot be made. Ensure that the server is running.

We have a separate SSAS instance on this server which is up and running.

Please suggest

SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,339 questions
{count} votes

Accepted answer
  1. Michal Jordan 65 Reputation points
    2024-09-04T13:02:10.2966667+00:00

    If you're encountering the "Analysis Services Processing Task: Error A connection cannot be made" error, start by ensuring the Analysis Services server is operational and accessible. Double-check that the connection string and server name are accurate, and verify that there are no network issues or firewalls obstructing the connection. Additionally, confirm that the credentials being used have the appropriate permissions for accessing the server. Addressing these aspects should help resolve the connection problem.


Accepted answer
  1. MikeyQiaoMSFT-0444 3,300 Reputation points
    2024-09-04T09:55:59.76+00:00

    Hi,Bilal H. Bhatt

    If you are in a clustered environment? Do you have sufficient permissions for the SSAS instance? Please refer to Grant permissions to Analysis Services.

    Additionally, please ensure the firewall and ports are enabled.

    Make sure the connection string format is correct.

    Shall i try to connect SSAS with the job owner ID?Below are a few links for your reference.https://community.fabric.microsoft.com/t5/Desktop/AnalysisServices-A-connection-cannot-be-made-ensure-that-the/m-p/687053

    https://learn.microsoft.com/en-us/archive/msdn-technet-forums/d7ddcb5c-88d0-4bd9-aee8-b93ca12c99a6

    Regards

    Mikey Qiao


    If you're satisfied with the answer, don't forget to "Accept it," as this will help others who have similar questions to yours.

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Bilal H. Bhatt 136 Reputation points
    2024-09-03T05:11:46.4166667+00:00

    Hi,

    I am able to login into SSAS instance using my login.. but the job is running under different login.

    Shall i try to connect SSAS with the job owner ID?

    0 comments No comments

  2. Bilal H. Bhatt 136 Reputation points
    2024-09-03T05:26:34.45+00:00

    Hi,

    I am getting below error while connecting with the user under which the job is running..

    0 comments No comments

  3. Bilal H. Bhatt 136 Reputation points
    2024-09-03T05:28:47.52+00:00

    TITLE: Connect to Server


    Cannot connect to (SSAS instance)


    ADDITIONAL INFORMATION:

    A connection cannot be made. Ensure that the server is running. (Microsoft.AnalysisServices.AdomdClient)


    No connection could be made because the target machine actively refused it (System)


    BUTTONS:

    OK


    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.