Professional Documents
Culture Documents
How To Use Reporting Services To Configure and To Access An Oracle Data Source
How To Use Reporting Services To Configure and To Access An Oracle Data Source
How To Use Reporting Services To Configure and To Access An Oracle Data Source
INTRODUCTION
Steps to configure an Oracle data source when you design a report by using
Report Designer
Steps to configure an Oracle data source when you deploy a report by using
Report Manager
Steps to troubleshoot error messages when you configure an Oracle data source
REFERENCES
INTRODUCTION
In Microsoft SQL Server 2000 Reporting Services, you can build and deploy a report
that uses data from an Oracle data source. This article describes how to configure and
access an Oracle data source for a report that you develop and deploy by using
Reporting Services.
You can use an Oracle data source in a single report (that is, a report-specific data
source), or you can use an Oracle data source as a shared source in several reports. The
definition for a report-specific data source is stored in the report itself, whereas the
definition for a shared data source is stored in a separate file on the report server. A
report can access data from one data source or from many data sources that are reportspecific or that are shared.
back to the top
To access an Oracle data source in a report, you must first configure the Oracle data
source. To configure an Oracle data source, you must complete both of the following
steps:
Install the Oracle client tools on the report server computer that hosts the report,
and then restart Microsoft Internet Information Services (IIS).
Install the driver that is used as the provider to connect to the Oracle data source.
By default, the drivers are installed with Oracle client tools, with Microsoft Data
Access Components (MDAC), or with Microsoft .NET Framework.
processing extension or that uses the Oracle data processing extension. To configure an
Oracle data source that uses the Oracle data processing extension, follow these steps:
1. Start Report Manager.
2. Click New Data Source.
3. On the New Data Source page, type a name for the data source in the Name
box.
4. In the Connection Type list, click Oracle.
5. In the Connection String text box, type the following text (where
OracleServerInstanceName is the Oracle server instance name): data
source=OracleServerInstanceName.
Note: If you are using the Reporting Services data processing extension or
OLEDB data processing extension, type the following text (where
ProviderName is the name of data provider): Provider=ProviderName;data
source=OracleServerInstanceName.
6. Under Connect Using, click the Credentials stored securely in the report
server option, and then type a valid username and password.
Note Set the appropriate connection details, depending on your requirements.
7. Click OK.
Note The data source is created with the data source name that you provided.
The Oracle data processing extension uses the .NET Framework Data Provider for
Oracle to connect to and to retrieve data from an Oracle data source. To download
the .NET Framework Data Provider for Oracle that is available with Microsoft .Net
Framework 1.1, visit the following Microsoft Web site:
Microsoft .NET Framework Version 1.1 Redistributable Package
Note You must install Oracle 8i Release 3 (8.1.7) Client or later on the report server
computer for the provider to work as expected.
back to the top
If you receive the following error message, make sure that a valid username and
password were used to log on to the data source:
If you receive the following error message, make sure that you used a valid
Oracle server instance name:
Test connection failed because of an error in initializing provider. ORA-12154:
TNS:could not resolve service name
The Oracle server instance name that you used must be running. You may also
receive this error message because of problems with the connectivity to the
Oracle data source. For additional information about techniques to debug
connectivity issues, click the following article number to view the article in the
Microsoft Knowledge Base:
259959 INFO: Techniques to debug connectivity issues to an Oracle server using
the ODBC driver and OLE DB provider
If you receive the following error message, register or reinstall the provider that
you selected to configure the Oracle data source:
Test connection failed because of an error in initializing provider. Oracle error
occurred, but error message could not be retrieved from Oracle.
To work around this problem, select a different provider to configure the Oracle
data source.