Loading Data to Microsoft Excel

8-6 Oracle® Fusion Middleware Connectivity and Knowledge Modules Guide for Oracle Data Integrator

8.6.2 Integrating Data in Microsoft Excel

Oracle Data Integrator does not provide specific knowledge modules for Microsoft Excel. Use the Generic SQL KMs or the KMs specific to the technology used as the staging area. For integrating data from a staging area to Microsoft Excel, you can use, for example the IKM SQL to SQL Append.

8.7 Troubleshooting

This section provides information on how to troubleshoot problems that you might encounter when using the Microsoft Excel technology in Oracle Data Integrator. It contains the following topics: ■ Decoding Error Messages ■ Common Problems and Solutions

8.7.1 Decoding Error Messages

Errors appear often in Oracle Data Integrator in the following way: java.sql.SQLException: java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified RC=Oxb at ... ... the java.sql.SQLException code simply indicates that a query was made through the JDBC-ODBC bridge, which has returned an error. This error is frequently a database or driver error, and must be interpreted in this direction. Only the part of text in italic must first be taken in account. It must be searched in the ODBC driver or Excel documentation. If its contains a specific error code, like here in bold italic , the error can be immediately identified. If such an error is identified in the execution log, it is necessary to analyze the SQL code to find the source of the error. The code is displayed in the description tab of the task in error. The most common errors with Excel are detailed below, with their principal causes.

8.7.2 Common Problems and Solutions

This section describes common problems and solutions. ■ UnknownDriverException The JDBC driver is incorrect. Check the name of the driver. ■ [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified RC=0xb Datasource not found or driver name not specified The ODBC Datasource specified in the JDBC URL is incorrect. ■ The Microsoft Jet Database engine could not find the object object name The table you are trying to access does not exist or is not defined in the Excel spreadsheet. ■ Too few parameters. Expected 1. You are trying to access an nonexisting column in the Excel spreadsheet. Microsoft Excel 8-7 ■ Operation must use an updateable query. This error is probably due to the fact that you have not unchecked the read only option when defined the Excel DSN. Unselect this option and re-execute your interface. ■ DBCS or UTF-16 data is corrupted when loaded. This error is due to the fact that the JDBC-ODBC Bridge of the Java machine does not support UTF-16 data. This is a known issue in the Sun JVM that is solved in the later releases 1.7.