You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: "Oracle Connection Type (SSRS & Power BI Report Server)"
3
3
description: Use the information in this article about the Oracle connection type to learn how to build a data source.
4
-
ms.date: 03/12/2020
4
+
ms.date: 11/03/2020
5
5
ms.prod: reporting-services
6
6
ms.prod_service: "reporting-services-native"
7
7
ms.technology: report-data
8
-
9
-
10
8
ms.topic: conceptual
11
9
ms.assetid: 9db86dd2-beda-42d8-8af7-2629d58a8e3d
12
10
author: maggiesMSFT
@@ -19,118 +17,154 @@ To use data from an Oracle database in your report, you must have a dataset that
19
17
20
18
Use the information in this article to build a data source. For step-by-step instructions, see [Add and Verify a Data Connection (Report Builder and SSRS)](../../reporting-services/report-data/add-and-verify-a-data-connection-report-builder-and-ssrs.md).
21
19
20
+
> [!IMPORTANT]
21
+
> The following commands that use Oracle's OraProvCfg.exe tool to register Oracle's Managed and Unmanaged ODP.NET drivers are provided as examples for use with the above Microsoft products. For the configuration of the ODP.NET drivers specific to your environment, you may need to contact Oracle support or reference Oracle's documentation for [Configuring Oracle Data Provider for .NET](https://docs.oracle.com/en/database/oracle/oracle-database/19/odpnt/InstallConfig.html#GUID-1F689B90-2CC4-4907-B8FE-A5F4EE36F673).
22
22
23
23
## 64-bit drivers for the report servers
24
24
25
-
Power BI Report Server and SQL Server Reporting Services 2016 and later all use **Managed ODP.NET** for paginated reports. The following steps are only needed when using Oracle ODAC drivers 12.2 and later as they install by default to a non-machine-wide configuration for a new Oracle home installation. These steps assume you've installed the ODAC 18.x files to c:\oracle64 and the file version of your Oracle.ManagedDataAccess.dll and Oracle.DataAccess.dll is 4.122.18.3.
25
+
On the Oracle download site, install the [Oracle 64-bit ODAC Oracle Universal Installer (OUI)](https://www.oracle.com/technetwork/topics/dotnet/downloads/odacdeploy-4242173.html). You only need the following steps when using Oracle ODAC drivers 12.2 and later. Otherwise, they install by default to a non-machine-wide configuration for a new Oracle home installation. These steps assume you've installed the ODAC 18.x files to the c:\oracle64 folder.
26
26
27
-
1. On the Oracle download site, install the [Oracle 64-bit ODAC Oracle Universal Installer (OUI)](https://www.oracle.com/technetwork/topics/dotnet/downloads/odacdeploy-4242173.html).
3. Add ODP.NET Managed Client entries to machine.config:
28
+
### Paginated (RDL) Reports use Managed ODP.NET
29
+
30
+
Power BI Report Server and SQL Server Reporting Services 2016 and later all use **Managed ODP.NET** for paginated (RDL) reports. Follow these steps to register Managed ODP.NET:
Report Builder uses **Managed ODP.NET** for authoring paginated reports. The following steps are only needed when using Oracle ODAC drivers 12.2 and later as they install by default to a non-machine-wide configuration for a new Oracle home installation. These steps assume you've installed the ODAC 18.x files to c:\oracle32 and the file version of your Oracle.ManagedDataAccess.dll is 4.122.18.3.
61
+
Report Builder uses **Managed ODP.NET** for authoring paginated (RDL) reports. You only need the following steps when using Oracle ODAC drivers 12.2 and later. Otherwise, they install by default to a non-machine-wide configuration for a new Oracle home installation. These steps assume you've installed the ODAC 18.x files to the c:\oracle32 folder where Report Builder is installed. Follow these steps to register Managed ODP.NET:
49
62
50
63
1. On the Oracle download site, install the [Oracle 32-bit ODAC Oracle Universal Installer (OUI)](https://www.oracle.com/technetwork/topics/dotnet/downloads/odacdev-4242174.html).
Power BI Reports use**Unmanaged ODP.NET**. The following steps are only needed when using Oracle ODAC drivers 12.2 and later as they install by default to a non-machine-wide configuration for a new Oracle home installation. These steps assume you've installed the ODAC 18.x files to c:\oracle64 for 64-bit and c:\oracle32 for 32-bit and the file version of your Oracle.DataAccess.dll is 4.122.18.3. Follow these steps to register Unmanaged ODP.NET:
79
+
Power BI Desktop uses**Unmanaged ODP.NET** for authoring Power BI reports. You only need the following steps when using Oracle ODAC drivers 12.2 and later. Otherwise, they install by default to a non-machine-wide configuration for a new Oracle home installation. These steps assume you've installed the ODAC 18.x files to the c:\oracle64 folder for 64-bit Power BI Desktop or the c:\oracle32 folder for 32-bit Power BI Desktop. Follow these steps to register Unmanaged ODP.NET:
61
80
62
81
### 64-bit Power BI Desktop
63
82
64
-
1. Register ODP.NET Unmanaged Client to GAC:
83
+
1. On the Oracle download site, install the [Oracle 64-bit ODAC Oracle Universal Installer (OUI)](https://www.oracle.com/technetwork/topics/dotnet/downloads/odacdeploy-4242173.html).
1. On the Oracle download site, install the [Oracle 32-bit ODAC Oracle Universal Installer (OUI)](https://www.oracle.com/technetwork/topics/dotnet/downloads/odacdev-4242174.html).
Contact your database administrator for connection information and for the credentials to use to connect to the data source. The following connection string example specifies an Oracle database on the server named "Oracle18" using Unicode. The server name must match what is defined in the Tnsnames.ora configuration file as the Oracle server instance name.
113
+
114
+
Contact your database administrator for connection information and for the credentials to use to connect to the data source. The following connection string example specifies an Oracle database on the server named "Oracle18" using Unicode. The server name must match what is defined in the Tnsnames.ora configuration file as the Oracle server instance name.
82
115
83
116
```
84
117
Data Source="Oracle"; Unicode="True"
85
118
```
86
119
87
-
For more connection string examples, see [Create data connection strings - Report Builder & SSRS](../../reporting-services/report-data/data-connections-data-sources-and-connection-strings-report-builder-and-ssrs.md).
120
+
For more connection string examples, see [Create data connection strings - Report Builder & SSRS](../../reporting-services/report-data/data-connections-data-sources-and-connection-strings-report-builder-and-ssrs.md).
88
121
89
122
## <aname="Credentials"></a> Credentials
90
-
Credentials are required to run queries, to preview the report locally, and to preview the report from the report server.
91
-
92
-
After you publish your report, you may need to change the credentials for the data source so that when the report runs on the report server, the permissions to retrieve the data are valid.
123
+
Credentials are required to run queries, to preview the report locally, and to preview the report from the report server.
93
124
94
-
For more information, see [Specify Credential and Connection Information for Report Data Sources](specify-credential-and-connection-information-for-report-data-sources.md).
125
+
After you publish your report, you may need to change the credentials for the data source so that when the report runs on the report server, the permissions to retrieve the data are valid.
95
126
127
+
For more information, see [Specify Credential and Connection Information for Report Data Sources](specify-credential-and-connection-information-for-report-data-sources.md).
96
128
97
129
## <aname="Query"></a> Queries
98
-
To create a dataset, you can either select a stored procedure from a drop-down list or create an SQL query. To build a query, you must use the text-based query designer. For more information, see [Text-based Query Designer User Interface (Report Builder)](../../reporting-services/report-data/text-based-query-designer-user-interface-report-builder.md).
130
+
To create a dataset, you can either select a stored procedure from a drop-down list or create an SQL query. To build a query, you must use the text-based query designer. For more information, see [Text-based Query Designer User Interface (Report Builder)](../../reporting-services/report-data/text-based-query-designer-user-interface-report-builder.md).
99
131
100
-
You can specify stored procedures that return only one result set. Using cursor-based queries aren't supported.
132
+
You can specify stored procedures that return only one result set. Using cursor-based queries aren't supported.
101
133
102
134
## <aname="Parameters"></a> Parameters
103
-
If the query includes query variables, corresponding report parameters are automatically generated. Named parameters are supported by this extension. For Oracle version 9 or later, multivalue parameters are supported.
135
+
136
+
If the query includes query variables, corresponding report parameters are automatically generated. Named parameters are supported by this extension. For Oracle version 9 or later, multivalue parameters are supported.
104
137
105
138
Report parameters are created with default property values that you might need to modify. For example, each report parameter is data type **Text**. After the report parameters are created, you might have to change default values. For more information, see [Report Parameters (Report Builder and Report Designer)](../../reporting-services/report-design/report-parameters-report-builder-and-report-designer.md).
106
139
107
-
108
140
## <aname="Remarks"></a> Remarks
109
-
Before you can connect an Oracle data source, the system administrator must have installed the version of the .NET Data Provider for Oracle that supports retrieving data from the Oracle database. This data provider must be installed on the same computer as Report Builder and also on the report server.
141
+
142
+
Before you can connect an Oracle data source, the system administrator must have installed the version of the .NET Data Provider for Oracle that supports retrieving data from the Oracle database. This data provider must be installed on the same computer as Report Builder and also on the report server.
110
143
111
-
For more information, see the following articles:
144
+
For more information, see the following articles:
112
145
113
-
-[How to use Reporting Services to configure and to access an Oracle data source](/archive/blogs/dataaccesstechnologies/configure-oracle-data-source-for-sql-server-reporting-services-ssdt-and-report-server)
114
-
-[How to add permissions for the NETWORK SERVICE security principal](https://support.microsoft.com/kb/870668)
146
+
-[How to use Reporting Services to configure and to access an Oracle data source](/archive/blogs/dataaccesstechnologies/configure-oracle-data-source-for-sql-server-reporting-services-ssdt-and-report-server)
147
+
-[How to add permissions for the NETWORK SERVICE security principal](https://support.microsoft.com/kb/870668)
115
148
116
149
### Alternate Data Extensions
117
-
118
-
You can also retrieve data from an Oracle database by using an OLE DB data source type. For more information, see [OLE DB Connection Type (SSRS)](../../reporting-services/report-data/ole-db-connection-type-ssrs.md).
150
+
151
+
You can also retrieve data from an Oracle database by using an OLE DB data source type. For more information, see [OLE DB Connection Type (SSRS)](../../reporting-services/report-data/ole-db-connection-type-ssrs.md).
You can also create models based on an Oracle database.
124
158
::: moniker-end
125
-
159
+
126
160
### Platform and Version Information
127
161
128
-
For more information about platform and version support, see [Data Sources Supported by Reporting Services (SSRS)](../../reporting-services/report-data/data-sources-supported-by-reporting-services-ssrs.md).
162
+
For more information about platform and version support, see [Data Sources Supported by Reporting Services (SSRS)](../../reporting-services/report-data/data-sources-supported-by-reporting-services-ssrs.md).
129
163
130
-
131
164
## See Also
132
165
133
-
[Report Parameters (Report Builder and Report Designer)](../../reporting-services/report-design/report-parameters-report-builder-and-report-designer.md)
134
-
[Filter, Group, and Sort Data (Report Builder and SSRS)](../../reporting-services/report-design/filter-group-and-sort-data-report-builder-and-ssrs.md)
135
-
[Expressions (Report Builder and SSRS)](../../reporting-services/report-design/expressions-report-builder-and-ssrs.md)
136
-
166
+
[Report Parameters (Report Builder and Report Designer)](../../reporting-services/report-design/report-parameters-report-builder-and-report-designer.md)
167
+
168
+
[Filter, Group, and Sort Data (Report Builder and SSRS)](../../reporting-services/report-design/filter-group-and-sort-data-report-builder-and-ssrs.md)
169
+
170
+
[Expressions (Report Builder and SSRS)](../../reporting-services/report-design/expressions-report-builder-and-ssrs.md)
0 commit comments