Forum Discussion

黑中国人's avatar
黑中国人
New Member
1 month ago
Solved

Data Source Credentials

 Data Source Credentials

Error on establishing connection with credentials.

 

user credentials are accurate and gateway also updated

 

Failed to update data source credentials: Oracle: ORA-12154: Cannot connect to database. Cannot find alias **** in DataSources, , EZConnect. https://docs.oracle.com/error-help/db/ora-12154/Hide details

Status code: 400

 

I also noticed i can't create a new connection with my on premises gateway (personal) as that option is grayed out.

 

New workspaces or reports also don't recognise the gateway except legacy workspaces or reports

7 Replies

  • The ORA-12154 is coming from Oracle's client, not from Power BI itself, and it means the alias in your data source cannot be resolved. That usually happens when the Oracle client is not installed on the gateway machine, tnsnames.ora is missing the entry, or TNS_ADMIN is not pointing to the folder holding tnsnames.ora for the account running the gateway service. A quick way to isolate this is to switch the connection to a full EZCONNECT form like host:port/service_name, which bypasses tnsnames.ora and tells you right away whether the client itself is the problem.

     

    The grayed-out gateway option is a separate limitation. Personal mode gateways cannot be used to create the centralized connections that new V2 and Fabric enabled workspaces rely on, so they will not appear as a choice there. Install the on-premises data gateway in standard mode from powerbi.microsoft.com/en-us/gateway and register it, and it will show up in the newer workspaces so you can define the Oracle connection there.

     

    If this helped, a thumbs up and accepting the solution would be appreciated.

     

    Best,
    Shai Karmani

    • 黑中国人's avatar
      黑中国人
      New Member

      I'm not connecting with the tns but with EZconnect. It's been working fine until I recently got this challenge. 

    • 黑中国人's avatar
      黑中国人
      New Member

      I have reviewed their solutions but i am not connecting through the TNS as such non of the solutions have been able to help me especially with new reports that donot recognize the Gateway meanwhile legacy reports recognize the gateway