Need help installing ODAC 122011x64 so I can connect ADW to Power BI - oracle

So I have successfully installed Oracle DB 19c and connected it to Oracle SQL Developer. I am able to create tables and run queries. Furthermore, I can connect to ADW with both python and SQL Developer and any changes that I commit are seen in all locations. I am trying to connect the ADW database to Power BI. I am running all this on a personal Windows 10 Pro laptop with plenty of SSD & RAM.
In a new window of Power BI I click Get Data and then Oracle Database followed by Connect. When I do this I get a pop up that says:
The recommended provider ('Oracle.DataAccess.Client') is not installed. You can continue with your current provider, however it has been deprecated and may not work correctly.
I clock OK. Enter my Server as the TNS Name that I have used for my python and SQL Developer instances. In my ADW database, I have a table called TEST. It's a simple table with 1 column with the years 2015 through 2020 in it. Been using this to test to see if things are working. So I click on the DirectQuery and run the SQL statement SELECT * FROM TEST under the Advanced options menu and select OK. A sign in window pops up and I select the Database table and enter my correct ADW username and password. The same one that I can use to access this table from SQL Developer and then select Connect. When I do, I get this error:
Details: "The provider being used is deprecated: 'System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.'. Please visit https://go.microsoft.com/fwlink/p/?LinkID=272376 to install the official provider."
So I go to the website and download the ODAC122011_x64 file from Oracle and unzip it. When I double click the setup.exe file inside the directory I get a yes/no user control account menu and I select yes and then a command prompt window flashes very quickly and then nothing happens. I ran a super slow motion capture from my phone to capture what the command window showed and below is what I see:
Starting Oracle Universal Starter...
Checking monitor: must be configured to display at least 256 color Higher than 256 . Actual 4294967290 Passed
Preparing to launch Oracle Universal Installer from C:\Users\<my username>\AppData\Local\Temp\OraInstall2020 09:20_09-04 {???}
Please wait .._
It does nothing after this I have tried running the oui.exe file under the install subdirectory and get nothing and I have tried running the install.exe file in Oracle Universal Installer that I acquired when installing Oracle DB 19c and I get the following error when I target the install.exe file for installation:
OUI-10118:C/Users/{my username}/Downloads/ODAC122011_x64/Setup.exe is either a directory or a corrupt file. Specify a valid filename.
This is a file that I just directly downloaded from Oracle's website and unzipped to a directory with no spaces in the directory location. I have the latest version of Java installed (JDK 15).
I am not sure the proper work around here. Why can't I get my Power BI to connect to my Oracle ADW table using the methods described in this article. Those are the instructions that I used. It appears that I need this ODAC application but I don't understand why it won't install.
Can anyone help me resolve this issue? Thanks!
Edit: I am using 64-bit on each application.
Update: Still having issues. I checked the log and this is what I am seeing:
Using paramFile:
C:\Oracle\Oracle_PowerBI_ODAC\ODAC122011_x64\install\oraparam.ini
Checking monitor: must be configured to display at least 256 colors. Actual 4294967296 Passed
The number of files bootstrapped for the jre is 0.
The number of files bootstrapped for the oui is 0.

the client version need not match the server version, Removing all other versions, and making sure that I had the x64 version,
You need the latest ODP.net library to use Oracle. Please download it here:http://www.oracle.com/technetwork/topics/dotnet/utilsoft-086879.html

I figured out the solution after reviewing this post. Apparently having over 2TB of free space on a hard drive causes this problem. You have to go into command prompt and create a temporary file to get your free space under 2TBs using something like this:
fsutil file createnew temp_1TB_file 1200000000000
Run the setup.exe again and then delete the temp file after.
Update: After doing all this I still was running into the same issues in Power BI. Then I read the troubleshooting notes from this page more closely and realized that I might have found the problem when it said:
If you downloaded Power BI Desktop from the Microsoft Store, you might be unable to connect to Oracle databases because of an Oracle driver issue.
I uninstalled the PowerBI Desktop that I had installed from Microsoft Store and installed it from the download from its website and tried connecting to Oracle ADW again through PowerBI and IT WORKED!!! So much troubleshooting but it finally works!

Related

Sql developer problem. No ocijdbc21 in java.library.path

So I downloaded Oracle 19c DBMS. Then I downloaded Sql Developer. When I try to add a new connection, I get the message
How do I get past this. I have seen some other threads on this but none of the solutions that I understand seem to fix it. I need to keep the connection type as local. Is there somewhere I can go and just adjust this path?
EDIT
I used just a basic connection and the name database name in the service name box and it worked. The initial setup instructions I had were dated and not set up for 19c. One of the comments in the answer below suggested this.
For 20.4.1 and bequeath connection you must have a 21c instant client as we're using a 21c jdbc driver.
If you're not on Linux, that means you'll need version 20.4.0 so you can use a 19c Instant Client.
Windows 21c Clients should be available later this Summer.
Edit/Update: Version 21.2.1 now supports 19c and 21c Clients. 21c Instant Clients are rolling out across supported platforms. Currently avail for Linux, soon to include Windows and OS X.
In my case, the DB connection changed from Network Alias to Connect Identifier post a company pushed update, simple fix after hours /days of trouble shooting.
enter image description here
Ran into this error with Oracle SQL Developer and the fix for us was to in Oracle SQL Developer:
Tools -> Preferences
In the tree view on the left Expand Database and select Advanced
In Use Oracle Client click Configure...
Set the path to your Oracle home (should looks something like C:\Path\To\Oracle\19.n)
Check the Use Oracle Client box
In the Tnsnames Directory set it to the folder containing the tnsnames.ora file (should looks something like C:\Path\To\Oracle\19.n\network\admin)
Click OK
Relaunch Oracle SQL Developer

Login window to create a new database connection on SQL Oracle Developer doesn't appear

I'm unable to create a new database connection on SQL Oracle Developer because the login window to enter the details do not appear. Only the login windows for "Oracle NoSQL Connections" and "Database Schema Service Connections" appear.
I've tried re-installing the developer but that doesn't seem to help. I'm using a mac and have JDK 8 installed. I'm fairly new to SQL and coding in general so any help would be appreciated.
Let's try this - it will usually do the trick.
Open and bash terminal, and cd to your home directory.
Then, cd to .sqldeveloper
You should see one or more system directories, appended with the version number of SQL Developer - these directories hold the settings, connections, etc for your copy of SQLDev.
Rename that directory. Then try starting SQL Developer.
Two additional things
i'm assuming you have Oracle JDK and not OpenJDK - OpenJDK isn't supported
i'm assuming you have a recent version of SQL Developer (20.2 is latest)

Not able to install Oracle developer suite 10g on window 7

I am try to install oracle developer suite 10g (32bit) on window 7.
Actually I want to install oracle form which is in complete option of Installation window.
I have already solved swap memory issue and compatibility issues.
oracle developer suite 10g Installer met all Requirement.
I have passed all requirement with is follow snap-shot:
After I got Installation window, I select Complete Installation option.
I am reached up to follow window but few second it get Automatically close :
Two-Three time I have tried to installation but every time installation get close before coming Oracle product installation list.
I am completely blank, why this ?
Please some body help me for solving this issue.
You can troubleshoot the installation based on installation log files which are available in
oracle_inventory\logs\installActionstimestamp.log
oracle_inventory\logs\oraInstalltimestamp.err
oracle_inventory\logs\oraInstalltimestamp.out
where
The form of timestamp in the file log name is
yyyy-mm-dd_hh-mm-ss[AM|PM] where:
yyyy is the current year, for example 2003
mm is the current month number, for example 07 for July
dd is the current day number, for example 15 for the fifteenth
hh, mm, and ss are the hour, minute, and second at which the installation started
[AM/PM] is either AM or PM, depending on when the installation started
and
the location of the oracle_inventory directory is specified
during the first installation of an Oracle product on your computer
(for example oracle client or oracle database etc)
In My system the location is
C:\Program Files (x86)\Oracle\Inventory\logs
Once you get the installation log you can trouble shoot the issue using search engine or post in oracle forums
I have got the solution for the above issue.
I have uninstalled the oracle 11g database.
installed the oracle 10g forms and report.
installed the oracle 11g DB.
Now it's working fine.

Cognos 8.3 failing to connect to data source. Why?

I have installed Cognos BI 8.3 on my machine, which has a Windows 7 OS 64-bit. In IBM's supported environment list for Cognos 8.3, Windows 7 is not listed. On top of that, it says the product will only integrate with 32-bit 3rd party libraries. So, you can already see that I'm already starting on a bad foot. But anyways, this is the machine I have and that is the software I got, so I decided to see if they would work together..
I installed Oracle 10g Express database also in my machine and Apache 2.2 server. Up to there no problems.
Before moving further, I copied ojdbc14.jar to cognos/.../webapps/p2pd/WEB-INF/lib and added the Oracle database in Cognos Configuration. Tested, passed.
With the database started, the Apache server started, and Cognos started, I was successfully able to start Cognos Connection on the computer. So, it looks like the OS is not an issue.
(You can see everything I did by following the steps on this site, which since two days ago seems to be down but I'm thinking will eventually come back up)
Then I decided to try the samples, so I tried to create a data source connection from Cognos to the Oracle database. So, in the admin config console (i.e. Administer Cognos Contents > Configuration), I decided to create a new Oracle data source. I put the credentials, but BAM.. testing fails.
Fail Message:
QE-DEF-0285 The logon failed.
QE-DEF-0323 The DSN(ODBC)/ServiceName is invalid. Either the DSN is missing or the host is inaccessible.
RQP-DEF-0068 Unable to connect to at least one database during a multi-database attach to 1 database(s) in:
testDateSourceConnection
UDA-SQL-0031 Unable to access the "testDataSourceConnection" database.
UDA-SQL-0532 Data Source is not accessible: "XE".
ORA-12154: TNS:could not resolve the connect identifier specified
RSV-SRV-0042 Trace back:
...
From what I have researched, it could be a number of things, but nothing seems to work. Here is what I tried:
Adding ODBC driver. Added the Oracle XE driver, even making sure it was done in the 32-bit ODBC manager (i.e. Windows\SysWOW64\odbcad32.exe). That didn't work.
Added ORACLE_HOME, LD_LIBRARY_PATH, and TNS_ADMIN to my environment variables.
tnsping'ed the XE database and it the ping returned ok.
There are no tnsnames.ora duplicates in the computer.
I tried and I am able to connect to the database via sqlplus. Did I mention that Cognos Config database test also passed?
Installed Oracle XE client. But didn't do much with it because the Oracle server is installed in the computer and also has a client component.
Has anyone come across this problem? I haven't been able to diagnose the problem or make even the slight progress for days. If you would like me to provide more information on any of the solutions I tried, please do ask. If you have a potential solution or, even better, if you have been able to solve this problem before, please let me know how!
Thanks!
One thing to keep in mind : certain portions of Cognos BI are implemented via Java and other portions are implemented via native C++ processes (the BI Bus processes)
Cognos connects to the content store database from the Java process using JDBC.
The BI Bus processes will connect to Oracle using a native oracle client.
So based on your description, I'd say that the problem area is in the native oracle client configuration (or the Cognos service's perspective of it).
You mentioned adding the ORACLE_HOME, LD_LIBRARY_PATH, and TNS_ADMIN environment variables in windows, and the fact that Oracle Utilities like SQLPlus and TNSPing are working for you.
When you added the environment variables, did you add them to the SYSTEM area for environment variables or the User area...?
If you're running Cognos as a service, its going to be a child process of SERVICES.EXE, which is run as system (this process is also not restarted unless you reboot the machine).
I'd try this :
make sure the above environment variables are defined for the SYSTEM user (in the system area, not the user area)
once you've done this, reboot the machine
See if you can create the database connection now.
If that doesn't work, I'd suggest doing a "run as" of SQLPlus or TNSPING as the SYSTEM user (and see if that works).
In order to use oracle as data source, you must install 32 bit client.
64 bit client will not work.
So if you installed oracle express 64 bit, and you don't want to uninstall it,
you can just install additional 32 bit client, and make sure to set it as your default home.

Getting Oracle client to work on Windows 7 RC

Has anyone had any luck in getting an Oracle client to install and work with Windows 7 RC? I went and upgraded from Vista to Windows 7 but having terrible problems getting my Oracle databases to work...
Phew I eventually worked it out. I downloaded the Oracle Instant Client x86 and copied that and setup up my environment variables (PATH, LD_LIBRARY, TNS_ADMIN). The problem I had before was that I downloaded the x64 version which won't work with Toad which is an x86 app! As soon as I installed the x86 version the problem was solved....
I ran into similar issues.
After downloading the Oracle 10g client for Vista (10203_vista_w2k8_x86_production_client.zip) from the Oracle web site, I unzipped the files, right-clicked on setup.exe, and selected Run As Administrator.
Within the Oracle Universal Installer, I selected Administrator, clicked the Next button, and then selected the Oracle home name and path and clicked the Next button.
As mentioned in other answers, the installer failed on the next screen, "Product-Specific Prequisite Checks". The specific failure was "Checking operating system requirements..." in the third column, there is a check box (which was not checked). I clicked in the check box and the installer changed the status to "Not executed". When I clicked the Next button, it warned me that the install may fail. I clicked Okay. I was able to install without further issue.
It is not intuitive and the Oracle 11g client may be different, but this worked for me.
-Weston
I had the same issue. What I did to solve this problem was:
- right click on the setup
- choose Troubleshoot Compatibility
- it will popup a window "Test Compatibility settings for the program". It tells me which version is it compatible with and Windows 7 will activate that setting for you. In my case was Windows XP service pack 2 is the setting used to install this Oracle 10g client
- click on the button "Start the program" it will run the installer
- done
It Worked with me, I had to do the following: (all after installing oracle in either compatibility mode or skipping the OS check results)
1- Set up the %Oracle_Home% in the environment variables.
2- Configured "tnsnames.ora, listener.ora and sqlnet.ora" to make sure they match
3- Replaced a malfunctioning DLL for sql*plus (I found the original one in the setup's temp file, just by using search from windows)
4- Logged into sqlplus from command line (sys /as dba) and created a user with high privileges (cuz you can't build a repository with "system" or "sys"
5- Used this new user to create the repository from the RAU (Repository Administration Utility), and here you go!
Read here: http://forums.oracle.com/forums/thread.jspa?messageID=3454893&#3454893

Resources