Forum Discussion

Tonizh's avatar
Tonizh
New Member
1 year ago
Solved

Unaable to connect to SQL Server On-premise

Hello,   I want to connect to my SQL Server (local) to my Power BI Desktop. when create new blank report, then Get Data - SQL Server, although I'm using Windows account which is Administrator, and ...
  • SacheeTh's avatar
    1 year ago

    Run Power BI Desktop as Administrator

    The issue occurs because Power BI Desktop may require elevated permissions when connecting to SQL Server with certain user accounts or impersonation scenarios.

    Steps:

    1. Close Power BI Desktop if it's currently open.
    2. Right-click on the Power BI Desktop shortcut and select "Run as Administrator".
    3. Open a new blank report and try connecting to your SQL Server again.

    Why this works:

    When running as Administrator, Power BI Desktop gains elevated permissions, allowing it to properly load necessary assemblies (like System.EnterpriseServices) and bypass potential restrictions related to impersonation or limited user rights.

    If this solution works for you, the problem is likely related to permission constraints when connecting with a separate user or service account. Using elevated permissions resolves this mismatch.

    Marking this as solved will help others encountering the same issue!