SSRS in SharePoint integrated mode - ORA-03135 when querying Oracle database - oracle

We have successfully installed SSRS in SharePoint integrated mode. We can run reports with data sources pointing to MS SQL database.
We need to add support for reports querying Oracle 12c database.
After the drivers installation we can create a data source with "Oracle Database" data source type. But when we try the "Test Connection" button, we always get the "ORA-03135: connection lost" error. Reports based on this data source always fail.
We use these versions: SharePoint 2016, MSSQL 2016, Oracle 12c.
Did anybody come across this error? How did you solve it?
Thanks.

We had to install an Oracle patch to ODAC drivers. After installation of the patch we got rid from this error.
Most likely the error was raising because of the Oracle Advanced Security option.

Related

SSIS Oracle connector

I am in the process of setting up a new SQL server 2019 standard edition. (due to price unable to go to enterprise edition)
The issue I am having is I have re-written a SSIS package that uses an oracle connector within the package to push data into my SQL server tables.
However when I run this in SSMS it returns an obvious error:
I have also tried to run this via CMD line however returns the same error.
My query is there a way for me to auto extract data from an oracle DB using SQL server 2019 Standard edition.
Due to license restriction we are unable to have VS installed on the server.
Any ideas would be much appreciated.
TIA

SSRS and SSAS data source error while connecting to oracle database

We have oracle database and we are developing SSAS cubes and SSRS reports based of that oracle database tables.
I am able to connect to Oracle Database thru SQL Developer and run queries in SQL Developer. so permissions wise I have all of them. But see below issues.
Issue 1.
I am trying to create a datasource in SSRS to connect to oracle database I am unable to Edit the connection string see below image
Issue 2.
This is while using creation a data source for Cube development I was able to successfully connect using on of the logon details we commonly use for the database connection.
But after going and making changes to a query in DIM table in cube and select OK then this below error is fired. so I am unable to make changes inside a cube table.
Issue 3: When I am trying to run the report in Report Server which is connected to oracle Database this is error I am getting.
I don't know if these issues are all related or different from each other. I tried searching online and didn't find exact solution for all the problems.
Tools Used:
SQL Server Mgmt Studio 17.2
Visual Studio 2015 with SSDS 17.4 (latest version)
Oracle 11.2.0
All these software were running on Windows 10

Crystal report 2013 not displaying Oracle Server

I have Oracle 11 installed. I recently installed Crystal Reports 2013. However, I do not see Oracle Server listed when I try to create a new connection. I am not sure why. Please suggest me.
Thanks,
Roshni
I needed to have Oracle Client for Crystal Report to connect to the Oracle database. Once I installed a 32 bit oracle client, I was able to see Oracle Server as a option in the Connections.
I wanted to let you all know so that if somebody is stuck like me, they can benefit from this answer.
Thanks again!

Oracle Data Access Components and Visual Studio connection problems

I've created an empty console application in Visual Studio 2010 and I'm attempting to add an Oracle (10g XE ) Data Connection via the Server Explorer. I'm using Oracle ODP .NET as the connector and I get the following error:
ORA-12560: TNS: Protocol Adapter Error
I can access Oracle without issue via the web interface or a console, but continually get this generic connection error in VS. I'm using the default installation of Oracle XE and running it locally.
Any suggestion on how to get this set up correctly ? Every tutorial I find works on the understanding that this connection succeeds. As such I'm struggling to find where to begin to troubleshoot. I'm comfortable with VS2010, but new to the way Oracle does things with their DB.
EDIT 1
While troubleshooting I've found this only happens with the Oracle Data Provider for .NET. Using the .NET Framework Data Provider for Oracle I am able to successfully connect.
EDIT 2
I cleaned up everything and installed 11g XE and the ODAC tools again and continue to get the same message. I realize the error is somewhat generic, I'd be happy to post more information if anyone thinks it helpful. The database is run locally, I can't imagine what kind of 'configuration' an express database would even need...
EDIT 3
The ODAC tools appear to install a 'production' version of Oracle 11 instead of the BETA version that I installed first. Almost appears as if the tool is installing another database ? I also appear to have two ORACLE_BASE locations and two TNSNAMES in what appear to be very similar folder hierarchies. Perhaps a more straightforward tutorial is the answer, Oracle's isn't very descriptive.
Oracle 10g XE seemed to be the problem. A full install of 11g (Full, not Express) took care of the problem entirely.
From here:
Possible fixes for the TNS-12560
include:
Get the latest patches for the SQL*Net client software.
Check your $ORACLE_HOME and $Path variables.
Check File permissions on the PC client.
Ensure that TNS_ADMIN is set correctly.
Check for firewall issues.
Check that the Windows database service is started. Verify teh
ORACLE_SID parameter is set correctly
in the registry.
Wow. I finally got this syntax to work.
I'm a Sql Server guy. I used Oracle back in the da day.
But I'm trying to do some Entity Framework and I said "You're not going to bed until you get Visual Studio 2012 and a edmx file to talk to Oracle.
Geeze.
Here is what I came up with:
Data Source:
Oracle Database (Oracle ODP.NET)
Data Source Name:
localhost:1521/orcl
User Name:
SYSTEM
change the default data source name to localhost.

Oracle Database with SSRS reports

Using SSRS with Oracle DB is not orthodox, but still i am forced to use it.
So, while i am working on my reports, if another collegue of mine tries to do a query on the same database, an error occurs, on the TNS Listener. When i check the number of sessions active or inactive, they are in the limit secified. After i close and reopen the SSRS project from Visual Studio it works and also it reduces the number of sessions.
Is there a way to make oracle accept more sessions? or any other solution?
PS: Oracle version 10g, Visual Studio version 2005
I am using SSRS 2005 to report off Oracle 10g, and I haven't seen this issue. How is your colleague querying the database, and what drivers are you using?

Resources