cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ASHOKKPIN Regular Visitor
Regular Visitor

Oracle COnnection error in PBIRS

 

Oracle Client - 64  Bit is installed on PBIRS. Able to run SQLPLUS from command line and tnsping also works. However creating a data connection fails with the error

 

GUI Error

The report server couldn't connect to the data source using the information you entered. Make sure you've entered the connection string and any credentials correctly.

Hide error details 

ORA-12154: TNS:could not resolve the connect identifier specified

 

 

 

Stack Trace from the log :

 

processing!ReportServer_0-4!cf30!10/09/2017-10:37:17:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot create a connection to data source ''. ---> Oracle.ManagedDataAccess.Client.OracleException: ORA-12154: TNS:could not resolve the connect identifier specified ---> OracleInternal.Network.NetworkException: ORA-12154: TNS:could not resolve the connect identifier specified
at OracleInternal.Network.AddressResolution..ctor(String TNSAlias, String instanceName)
at OracleInternal.Network.OracleCommunication.DoConnect(String tnsDescriptor)
at OracleInternal.ServiceObjects.OracleConnectionImpl.Connect(ConnectionString cs, Boolean bOpenEndUserSession, String instanceName)
--- End of inner exception stack trace ---
at OracleInternal.ConnectionPool.PoolManager`3.Get(ConnectionString csWithDiffOrNewPwd, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)
at OracleInternal.ConnectionPool.OraclePoolManager.Get(ConnectionString csWithNewPassword, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch)
at OracleInternal.ConnectionPool.OracleConnectionDispenser`3.Get(ConnectionString cs, PM conPM, ConnectionString pmCS, SecureString securedPassword, SecureString securedProxyPassword)
at Oracle.ManagedDataAccess.Client.OracleConnection.Open()
at Microsoft.ReportingServices.Diagnostics.DataExtensionConnectionBase.<>c__DisplayClass5.<OpenConnection>b__4()
--- End of inner exception stack trace ---;

4 REPLIES 4
Jon-Heide Established Member
Established Member

Re: Oracle COnnection error in PBIRS

kskarthick Frequent Visitor
Frequent Visitor

Re: Oracle COnnection error in PBIRS

Dear All,

 

Same issue i got, anyone got solution kindly let me know.

kskarthick Frequent Visitor
Frequent Visitor

Re: Oracle COnnection error in PBIRS

It's Solved same Issue for me.

 

This issue we can't fix in Power BI Server, we need to fix this in Power BI Desktop itself, because we can't change the datasource in Power BI server once we published from Power BI Desktop, in power bi server only user name and password we can give  and datasorce connection string we can't change in it.

 

So while creating your Power BI report in Power BI desktop, kindly provide your connection sting like this  "HOST: PORT/SERVICE_NAME"(Don't give any space) instead of your oracle TNS Service Name.

 

It's Worked for me, i think so it will be helpfull for you guys also.

 

 

amitsankar Frequent Visitor
Frequent Visitor

Re: Oracle COnnection error in PBIRS

Hi,

 

I have used the connection string as HOST: PORT/SERVICE_NAME; but i am still getting TNS error. Can someone please help @kskarthick 

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 46 members 1,168 guests
Please welcome our newest community members: