I have an installation of Oracle 12c on a Windows Server 2012 machine. it has a single PDB (PDBORCL). I have created a user in this PDB and can connect to it from a client machine via SQL Developer using the user/pass for the user i created. the machine hostname and a Service Name of PDBORCL - GREAT!
I tried to replicate the same thing on an Oracle 12c install but I am having an issue of: TNS listener does not know of a service requested in the connect descriptor.
I have been around online and found maybe i should be putting a reference to the pdb into the tnsnames.ora file on the Cent machine - BUT if i look at the contents of the tnsnames.ora file and listener.ora file on the Windows machine they are still as defaults and contain no reference whatsoever to the PDB "PDBORCL" that i have on the windows installation - so how does it manage to connect fine and my linux box doesnt know what to do?
I guess im looking for general guidance around what should be in the tnsnames.ora file and listener.ora file on my linux machine so that i can access it from a client by referencing the PDB as the Service Name when i connect via SQL Developer.
Finally got it working on the Linux box. Reason was i was using PDBORCL as the Service Name. after logging on as SYSDBA and querying V$Services i could see that I should have been using pdborcl.localdomain
I'm still not too sure on why the tnsnames on the windows machine didn't explicitly need me to define the pdb though.
Related
I'm working on a Windows 10 machine, connecting to multiple Debian linux machines (stable, up-to-date) via x2go. I'd like x2go to grab the Windows key when I'm working within the remote linux system. I've looked at the x2go docs, searched the web, and looked at the local x2go client files, but found nothing.
When I connect to a remote Windows Terminal Server, that machine captures the Windows key, so I know in theory it is possible for the remote to obtain the Windows key press.
If this is not possible, are there other ways to make the remote desktop connection from Windows 10 to linux such that I could accomplish this?
Thank you for your time and thoughts.
I had the same problem and found the following solution.
In the X2GO client, go to your client settings (not the session preferences) and go to the X.Org Server settings tab. Here select custom server, go to your vcxsrv executable. Windows default location: C:/Program Files (x86)/x2goclient/VcXsrv/vcxsrv.exe
For the command line options, add -keyhook this will grab all pressed keys and forward them to the session. For me I use -multiwindow -notrayicon -clipboard -keyhook
I am trying to connect Excel to my company's Oracle Database. According to the following instructions it should be fairly easy: https://www.wikihow.com/Connect-Excel-to-an-Oracle-Database.
However it has been impossible and quite frustrating so far.
I have followed two different approaches that I've found online.
FIRST APPROACH: installed ODAC from Oracle's Universal Installer
I went to this site https://www.oracle.com/database/technologies/dotnet-odacdev-downloads.html and downloaded the ODAC 12.2.0.1.1 file.
Then, I went through the installation process basically just clicking 'next' on every step.
Note 1: (I don't know if this might be important), in the Database Connection configuration tab I did not fill in any of the information (simply because I didn't know what to put there). It said that if information wasn't filled in, it would not create the TNSNAMES.ORA file.
Note 2: After finishing the installation it says 'run the SQL scripts located in the ... directory after the install'. Which I didn't do, again, because I didn't know how.
After the installation finished a directory was created in the following location: C:\app\client\myUserName\.
The directory goes all the way down to C:\app\client\myUserName\product\12.2.0\client_1, and it contains a bunch of files and folders.
I noticed that no environmental variable was created.
SECOND APPROACH: installed ODBC instant client
I went to this site https://www.oracle.com/database/technologies/instant-client/winx64-64-downloads.html and downloaded both instantclient-basic-windows.x64-19.6.0.0.0dbru.zip and instantclient-odbc-windows.x64-19.6.0.0.0dbru.zip.
Then I created the directory C:\Oracle\instantclient_19_6 and unziped both folders contents into it.
Finally, I ran odbc_install from the command_line, as an administrator, but got Oracle ODBC Driver with same name already exists.
Note: in this case I also noticed that no environmental variable was created.
RESULTS:
When I go to Excel and click on Data\From Database\From Oracle Database I keep getting the same error as before: 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 properly.".
I was able to solve it by installing the 64 bits version of Oracle's client. Its located at https://www.oracle.com/database/technologies/112010-win64soft.html, file win64_11gR2_client.zip.
Although the message "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 properly." remained, I was able to connect after ignoring it.
I have also tried a bunch of approaches and finally got rid of the 'Oracle.DataAccess.Client is not installed' error.
Install Oracle Client for Microsoft Tools:
ODP.NET, Oracle Developer Tools for Visual Studio (Code), and ODAC
https://www.oracle.com/database/technologies/net-downloads.html
Oracle Client for Microsoft Tools installs and configures ODP.NET to support 64-bit Microsoft tool connections with Oracle database. It supports connecting with Power BI Desktop, Power BI service, Excel, SQL Server Analysis Services, SQL Server Data Tools, SQL Server Integration Services, SQL Server Reporting Services, and BizTalk Server.
I have installed Oracle Client for Microsoft Tools 19.17 for (Microsoft Windows x64 (64-bit)) (V1032890-01.exe).
Alternatively, you could follow the learn more link:
Connect Microsoft Tools to Oracle Databases
https://www.oracle.com/database/technologies/appdev/ocmt.html
Tutorials > Power BI Desktop: Connect to Oracle Database
https://www.oracle.com/a/ocom/docs/database/microsoft-powerbi-connection-adw.pdf
We have installed a Onlyoffice Community Server in our company on a Windows system.
We need to migrate all these data to another Windows server (version 2012). If I go to settings I don't see the option of Data Management to do the backup and restore.
I am getting the results for migrating community server between Windows and Linux servers, but nothing for Windows and Windows.
Please help us with this issue.
You can use the first part of the instruction for migration community server between Windows and Linux servers. You need to copy folders and create your database dump file. Then restore dump file and folders on the new server.
We have Odoo v8 installed on Linux Ubuntu, the server is going to be dismissed soon.
I have dumped the database from db managment but i also have to save all files from LINUX because some of them are customized then copy in a local windows machine, is that possible?
which is the best way to go?
I have access to the dedicated server (ubuntu)
I have an application, that when running off my main computer, works fine, but when i attempt to run the application off my laptop, the connection to the database fails. Its using this connection string :
Dsn=XAMPP;description=USB Server;server=localhost;uid=root;database=mod_manager;port=3306
When i attempt to connect i get the message:
Data source name not found and no default driver specified
is there a specific .dll that i must include with the executable?
EDIT:
I have tried installing the ODBC driver supplied by oracle, and also tried packaging all the .dlls related to the .exe file. Also tested it on a 3rd computer, this one running windows 7, as my laptop was running win8, and my main pc is running 7. Still getting the error. I appears my main PC has something that the others do not...
I would use the ODBC Control panel and check you have created a DSN called XAMPP, thats what the connection string is telling the driver manager to look for and its reporting back it can't find it.