Forum Discussion
Gateway connection to Oracle (TNS:listener error)
- 6 years ago
According to both of the links you have provided I should be selecting a "Direct Connect" checkbox to make sure this is not available. It looks like this is a Power BI Desktop option only, and not available in the gatway configuration.
I still think there is a good posibility that the system user is not looking at the correct tnsnames.ora file, this was something that happened in the past, but I can't confirm this. Is there any way to confirm what file is being used by the gateway?
UPDATE 1:
I changed the service settings on the Gateway to use my Domain account, originaly configured with the default NT SERVICE/ PBIEgwService. This way the gateway app should pick up on the same TNS file I used, now the connection appears to work.UNDERLINING CAUSE:
My best guess in my case is that because we use an Enviromental variable for TNS_ADMIN to point to a network drive which contains TNS Listener. The default service account either was refferancing a different file, I cound not locate and edit, or permissions to that share was blocked when that account was used. Running the service under a "User" account allowed permissions and variable to be set.
Full error reported after error connecting.
I would suggest following my blog post and all the steps in order to get this refreshing!
https://www.fourmoo.com/2017/04/26/power-bi-on-premise-gateway-configuration-steps-to-an-oracle-database/
- Freighar1 year agoFrequent Visitor
Thanks, this finally helped me solve it! I was mixing the names in the configuration because i didn't fully understand the logic but your explanation in the blog helped me!
- ChickenWaffles6 years agoFrequent Visitor
GilbertQ ,
Nice blog, sadly I'm still having the same issue.
- GilbertQ6 years ago
Super User
Thanks for the kind words.
It does appear that the Orcale side is not setup correctly. It certainly does work.