Connection to the remote server through ODBC

I am trying to connect to my XP box to an HP - UX Server databases
with Oracle 10g via ODBC. I have tried almost
everything and still cannot connect to it.

I have the Microsoft driver and the driver Oracle, as well as the
Oracle Instant client installed in the XP box, with a tnsnames.ora
file that points to the server, the variable ORACLE_HOME defined, etc.

I know it's available, because I can connect to this same
machine with JDBC Oracle Thin Client (ojdbc6.jar). This driver deesn can't
don't even need the customer Oracle installed on the local computer. I just
specified the IP address, port (it is a nonstandard port), SID, user, pass and it works.
But do not support the programs I should use JDBC.

Do you have any connection string that is right for you? I tried the
those of connectionstrings.com and carlprothman.net, but I think they are
not intended to connect to a remote server...

Your applications are trying to create a connection without DSN to the database? Or they're trying to connect via a DSN? You try to use a TNS alias? Or include the definition of TNS in the connection string?

You have created a DSN to connect to the Oracle database? If so, the ODBC Oracle driver provides a button "test connection". What did you use? If so, does the connection?

How many houses Oracle you have on this machine? I assume you have at least two, or more. You have configured by an TNS_ADMIN environment variable? If this isn't the case, the tnsnames.ora file would need to be replicated in every Oracle home you want to have access.

From the command line, can you tnsping the TNS alias you created in your tnsnames.ora file?

Justin

Tags: Database

Similar Questions

  • Windows Media Center - not the initial download put in place data for guide "unable to connect to the remote server.

    Hello

    Looking for help on this one...

    I have a new install of windows 7 pro running, and I was not able to get the guide to download Windows Media Center.   I am up-to-date with all the updates and SP1 version running.   My video card drivers are also updated.

    I use HDHOMERUN PRIME equipment with cablecard and who receives a TV signal very well and I am able to view it in WMC.    I use Verizon FIOS and my zip code is 07452.    Before this computer, I ran the cablecard even with a ceton infinitv and had no problem Guide at all.

    It's just that I can't download the guide data.  Its just totally blank.   I receive the channels and view them, but there is NO data.      Whenever I run the TV setup the same question comes up.  Cannot download the initial configuration data due to the error of previous download.   As far as I know, there is NO error message when Windows installed... actually... I reinstalled windows completely and this has not solved the problem.    I tried to manually download the guide which did not help.   It... nothing happened when I turned 'on' and 'off' WMC in Control Panel to reinstall.  I even tried explore the ehome folder and remove the file db... but nothing is helping.

    I can't find a file mcupdate.exe light on my system - don't know if this is relevant.   When I looked in the event viewer here are some of the error messages that I see.

    Impossible to extract the EpgLineups (error: unable to connect to the remote server)
    Impossible to extract the MCEClientUX (error: unable to connect to the remote server)

    I'm starting to think it's a matter of windows.   Anyone have any ideas?

    Mark

    E-mail address is removed from the privacy *.

    On Tuesday, September 23, 2014 00:32:35 + 0000, Mark_Sap_70 wrote:
     
    > I'm starting to think it's a matter of windows.   Anyone have any ideas?
     
    See this thread
     
     
     
    __________________________________________________________________________________________________
    Barb
    MVP Windows Entertainment and connected home
     
    Please mark as answer if that answers your question
     
     
     
  • invoke VMScript unable to connect to the remote server

    I have two PCs, two win 7 x 64. PC1 has powercli 5.5 build 3142196 (5.5u2?) and the other who has now updated 6.0.0.7857 (last AFAIK) via VMware PowerCLI - 6.0.0 - 3205540.exe from the downloads section.

    On PC1, I can run the script

    invoke vmscript - ScriptText '(gwmi_win32_computersystem).manufacturer - like ' * vmware * "'-ToolsWaitSecs 45 - VM VMName - guestuser guestacct - guestpassword blablabla".

    and it works very well and gives me a result.

    If I run the same command on PC1, I get the error:

    Invoke-VMScript: 16/11/2015-18:32:01 VMScript Invoke cannot connect to the remote server

    on line: 1 char: 1

    + Call VMScript - ScriptText '(gwmi_win32_computersystem).manufacturer - like ' * vm...»

    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo: NotSpecified: (:)) [invoking-VMScript], ViError)

    + FullyQualifiedErrorId: Client20_VmGuestServiceImpl_DownloadFileFromGuest_DownloadError, VMware.VimAutomation.ViCore.Cmdlets.Commands.InvokeVmScript

    Anyone encountered this before? I see no difference in the PC it would cause and I wonder if there are logs, etc. for troubleshooting, I'm not aware of. The message is a bit lacking in detail. Probably the client must connect something.

    Thank you!

    The client when you run the Invoke-VMScript cmdlet on must actually be able to connect to the physical ESXi host on which the virtual computer runs on port 443. Are two clients on the same subnet, you have a firewall between the hosts and guests? Just try to open the ESXi host welcome page in a browser from these two clients, e.g. https://myesxihost.local/

  • Can't export virtual machines: unable to connect to the remote server

    Hello

    I'm working on vSphere client 5.1 (vCenter Server 5.1). Trying to export a virtual machine for distribution model. When I go to file-> export the template OVF..., I get the following error message:

    Can't export virtual machines: unable to connect to the remote server

    Remote not sure what/who he is not able to connect to. If I connect vSphere Web Client and navigate to the same model (or all other models), under 'All the Actions of vCenter' I don't have an option to export to the model of the FVO. But if I use a VM machine instead of a virtual machine template, I have the ability to export to the OVF, but it is grayed out.

    Am I missing any customer authorization or plugin for vShpere?

    Discovered that vSphere server had some modifications made by HIM to resolve the violation POODLE. HE had to set the ip address of the machine where export OVF will be performed. Which allowed the connection to establish vsphere client and perform an export of the FVO.

  • not be able to collect some Logs Errror: unable to connect to the remote server

    I'm trying to collect Diagnostic information requested of VMWARE and I get an error message

    Error state HOME

    Complete XX.XX.XX.xx

    Complete XX.XX.XX.xx

    YY.yy.yy.yy could not connect to the remote server

    YY.yy.yy.yy could not connect to the remote server

    Bundle of newspaper has not YY.yy.yy.yy has not generated

    VCenter Server full

    VMware Vsphere Client full

    I don't know their reasoning for this, but it seems like a pain in the thigh. Why not just export logs with the vSphere Client? File-> Export-> Export System Logs

    Or

    Use the help wizard that will allow you to collect and automatically download newspapers in vSphere?

    http://www.VMware.com/products/Datacenter-Virtualization/vCenter-support-assistant/overview.html

  • Windows 7 Pro PPTP VPN 807 error and does not connect to the remote server, XP machine connect without problems

    I'm just set up my new windows 7 laptop (Dell Precision M4400) running windows 7 Professional and VPN are not working, they're always bombing with error 807.  "The connection between your computer and the VPN server was interrupted."

    I created a PPTP connection in order to connect to my workplace and connecting I continually receive an 807 error.

    To check my internet etc is work that I have connected to the same place through my existing XP laptop computer (DELL precision M4300) which has the same VPN settings.  Everything connects aok.

    I'm also running ESET as my anti-virus and firewall and that you have disabled it to test (normally I have no problem running this and is also running on my XP laptop).  I also confirmed that windows firewall is turned off.

    I connect wireless at home, internet works fine, firewall has not changed at each end (I manage both ends) and such noted works for my machine also running more XP wireless.

    Hello

    Welcome to Microsoft Windows 7 answers Forum!

    Note to resolve this problem, we have a support professionals who are well equipped with the knowledge on Windows 7 issues, do please visit the link provided below.

    http://social.technet.Microsoft.com/forums/en/w7itprovirt/threads

    Hope this information is useful.

    Thank you, and in what concerns:

    Suresh Kumar-Microsoft Support.

    Visit our http://social.answers.microsoft.com/Forums/en-US/answersfeedback/threads/ Microsoft answers feedback Forum and let us know what you think

  • connect to the remote server

    Hello friend

    Pls help
    Given below to other site, ip address of the server 172.16.5.10 and public IP address 41.59.251.X, I need to create the tunnel so that my
    Server with the ip 172.17.18.41 and my public IP 41.59.251.Y must be able to communicate with the remote server which is

    172.16.5.10
    What is the way forward? my server ip address 172.17.18.41 mask 255.255.255.33

    -3des encryption
    -Md5 hash
    -Preshared authentication
    -Group 2
    Pre-shared key 66@#fgk
    -Public IP 41.59.251.X
    -ip address of the server 172.16.5.10 (he is 27 subnet)

    Is what I want to implement, help the routing between two networks and access-list for only two servers to talk to pls

    crypto ISAKMP policy 30
    BA 3des
    md5 hash
    preshared authentication
    Group 2
    ISAKMP crypto key 66@#fgk address 41.59.251.X
    Crypto ipsec transform-set STRONG esp-3des esp-md5-hmac
    JOE 30 ipsec-isakmp crypto map
    set of peer 41.59.251.X
    86400 seconds, life of security association set
    transformation-STRONG game
    PFS group2 Set
    match address 140

    access-list allow 140
    IP route

    interface GigabitEthernet0/1
    Description CONNECTION to ISP
    IP 10.17.50.1 255.255.255.252
    IP virtual-reassembly
    automatic duplex
    automatic speed
    JOE crypto card

    Joe

    En to encrypt traffic must match the access list, and it must match the list of access on the other side.

    The easiest would be to ask the person manageing the router on the other side to send you the configuration, otherwise it's just a guess how this access list must be configured.

  • Connect to the remote server without giving the SYSDBA password

    Hi, I would like to backup RMAN script running from a catalog server using the windows scheduled task backup target running on the remote computer.

    Is there a way I can connect to the remote machine target without giving the password in the script?

    Server catalog and target server are 11.2.0.3


    Srini-

    Hello;

    I'd look to this to try to resolve this problem:

    http://docs.Oracle.com/CD/B19306_01/network.102/b14266/cnctslsh.htm#i1006413

    Best regards

    mseberg

  • MAX crashes when you try to connect to the remote server in VISA

    Hi, I'm running a problem with MAX OR when trying to setup of a client/server VISA system.  I had the first server tried 4.3 visa but she not even me would record the port on the server settings.  When I tried to connect to the server from a remote machine to access the RS232 ports, it could hang NI MAX or do nothing, depending on how I tried to implement.  If I click with the right button on the remote system in the right configuration pane and follow the wizard through, it doesn't matter, if I go to the toolbar tools-NI-VISA options and follow the wizard, NI Max crashes at the end.  Then I went online and got the version 4.4.1 and tried with the same results.  I also have abnormalities in safeguarding some configurations OR max leading me to question if there are questions of privileges.  The operating system is Windows XP Pro with Service Pack 2 on all machines.  I'm logged on with administrator rights and everything seems to have full read/write privileges, but I still have problems.  The issue of saving the port settings, I tried manually setting the parameters, as described in

    http://digital.NI.com/public.nsf/allkb/8EBAEC8A57BB48BE862574F90072D3DD

    but unsuccessfully in version 4.3, but it worked very well when I upgraded to 4.4.1 without modification of rights or privileges so some things seem weird.  Any help would be greatly appreciated.

    Hardware Dell with Windows XP Professional and SP2 computers

    The server computer has a 16 port Rocket port RS232 port Council

    I will access ports with a program written in LV7.1, but I haven't gotten that far yet

    Network is fine, I can ping the server to the client computer and permissions are set on the server and the client is pointing the right machine.

    Thank you

    CS

    Thanks for the reply.  We use MAX 4.5 so it wasn't the problem.  We are not exaclty sure what the problem is / was set apart he healed himself when we all uninstalled and deleted the VXIPNP directory and reinstalled everything.  When we did, everything came and worked as it should.  One thing that may or may not be relevant, is when I was put in place of the customers, I went through the Options Tools - NI of VISA-VISA to complete configuration rather than right click on remote systems.  Previously, this would cause MAX to crash when you complete the wizard if I though it would be a good test when I put first and, since it worked, I followed this procedure on the rest of the computers.  Anyway the problem is solved and it works.  Thanks again for the input.

  • The network card does not connect to the remote server

    My desktop computer has been recently updated to Windows 7 64 bit so I had to reinstall everything. Part of my job includes pulling data from two separate databases on a remote Oracle server. Previously with Windows 32 - bit Oracle SQL Developer worked after that I installed the Oracle Client and configured using Net Manager AMT settings. However now in SQL Developer, I get the following error message when you try to connect to databases using the same exact AMT settings.

    Error: "status: failed Test failed: the network adapter could not establish the connection.

    Versions:
    Windows 7 64 bit
    Oracle SQL Developer 3.2.2 (64-bit)
    Update to Java SE DK 6 43 (64-bit)
    Customer of Oracle 11 g R2 (64-bit)

    I've set up two databases under Naming Service in Oracle Net Manager. I used screenshots of my previous Net Manager settings to create the connections if everything is correct. Also, the two couplings to test successfully in the Net Manager. Contains the tnsnames.ora file

    PROD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = thor)(PORT = 1526))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = PROD)
    )
    )

    DWHOUSE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = thor)(PORT = 1526))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = DWHOUSE)
    )
    )


    In SQL Developer, I adapted the new connection settings exactly as before with a different screenshot of my connections to the previous developer. For example, I selected 'TNS' of the connection Type and selected "DWHOUSE" for network Alias. I even tried to put the chain of connection such as the login, but everything I've tried has made the mistake of connection.

    I followed some of the suggestions in other threads, but everything seemed to work, as I was able to connect to two databases using SQL more. Also, 'tnsping prod' both 'tnsping dwhouse' resulted in an OK. Same ODBC using the Oracle driver works to connect to these databases.

    I thought installing the JDK, Oracle Client, and SQL Developer as well as my screenshots would be an easy process and without hassle to connect to these databases. I'm doing something wrong? What else can I try?

    Of course, the point marking in your recent post concerns the former developer SQL install connection very well during execution by the G-drive.

    Although I'm not sure of the exact rules, I noticed that when the Oracle client resides on drive C, but the SQL Developer install is elsewhere, captures some files in its installation rather than from the Oracle SQL Developer client directory. An example is the ojdbc6.jar file. So you could also try installing SQL Developer 3.2 on another drive (internal or external non-disque C) and see if it works.

    -Gary

  • Remote access client 2.0.1 for Mac OS 10.4.11 connection to the remote server running Windows Server 2008 R2

    I have a mac with OS 10.4.11 and I try to access a remote server running Windows Server 2008 R2.  I have installed, uninstall and reinstall the Client of remote access for Mac 2.0.1 but I can not connect.  My network administrator tells me that Mac OS 10.4.11 is so old and useless that I am better just throw my computer and buy a new one in order to solve the problem.  This is absurd.  Can you help me?

    Hi Benjamin Spicer,.

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for Windows Server on TechNet. Please post your question in the Forums TechNet Remote Desktop Services (Terminal Server Services).

  • ORA-12545 error when the connection to the remote server

    Hello

    Env: Oracle 11 2 Client (11.2.0.1) on Oracle Linux 5.8 GR 64 bit

    DB server: Oracle 11 g 2 (11.2.0.3.6) on Oracle Linux 6.2 64bits

    I have installed Oracle 11 GR 2 client on a server and created the tnsnames.ora with required entry.

    When I try to connect to the databases on the server of remote database using the suite in two ways, one of them give me error "ORA-12545". Do not know why.

    [oracle@server ~] $ sqlplus scott/tiger@proddb01

    SQL * more: Production of release 11.2.0.1.0 game Apr 10 12:24:58 2014

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.

    Connected to:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL > exit

    Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    [oracle@server ~] $ sqlplus

    SQL * more: Production of release 11.2.0.1.0 game Apr 10 12:25:04 2014

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.

    Enter the user name: scott

    Enter the password:

    ERROR:

    ORA-12545: Connect failed because target host or object does not exist

    Enter the user name:

    Here's my env:

    [oracle@server ~] $ echo $ORACLE_SID

    PRODRD01

    [oracle@server ~] $ echo $ORACLE_HOME

    /opt/Oracle/app/product/11.2.0/Client_1

    [oracle@server ~] $

    Input TNS is:

    PRODRD01 =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = server.whatever.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = PRODRD01)

    )

    )

    I tried to replace the host name and IP address, I still got the same error. The host name of the server database and IP entry does not exist in the file "/ etc/hosts. Could this be the cause? I can't edit the file "/ etc/hosts" and I couldn't convince the sys-admin to add the hostname of Server DB and IP entry to this file.

    Clues please?

    Best regards

    user130038 wrote:

    Hello

    Env: Oracle 11 2 Client (11.2.0.1) on Oracle Linux 5.8 GR 64 bit

    DB server: Oracle 11 g 2 (11.2.0.3.6) on Oracle Linux 6.2 64bits

    I have installed Oracle 11 GR 2 client on a server and created the tnsnames.ora with required entry.

    When I try to connect to the databases on the server of remote database using the suite in two ways, one of them give me error "ORA-12545". Do not know why.

    [oracle@server ~] $ sqlplus scott/tiger@proddb01

    SQL * more: Production of release 11.2.0.1.0 game Apr 10 12:24:58 2014

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.

    Connected to:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL > exit

    Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    [oracle@server ~] $ sqlplus

    SQL * more: Production of release 11.2.0.1.0 game Apr 10 12:25:04 2014

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.

    Enter the user name: scott

    Enter the password:

    ERROR:

    ORA-12545: Connect failed because target host or object does not exist

    Enter the user name:

    Here's my env:

    [oracle@server ~] $ echo $ORACLE_SID

    PRODRD01

    [oracle@server ~] $ echo $ORACLE_HOME

    /opt/Oracle/app/product/11.2.0/Client_1

    [oracle@server ~] $

    Input TNS is:

    PRODRD01 =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = server.whatever.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = PRODRD01)

    )

    )

    I tried to replace the host name and IP address, I still got the same error. The host name of the server database and IP entry does not exist in the file "/ etc/hosts. Could this be the cause? I can't edit the file "/ etc/hosts" and I couldn't convince the sys-admin to add the hostname of Server DB and IP entry to this file.

    Clues please?

    Best regards

    When '@proddb01' is not used, then sqlplus can only connect to a local database, & there is no local database on the client system

  • connect to the remote mysql through dreamweaver database

    I have no problem building the database locally, but by my own curiosity I wanted to connect to a remote database, I have on the server. Here's the head scratcher... I can connect via MySQL Administrator (mysql gui tools), but not Dreamweaver, using the same information. Is that because Dreamweaver requires port 3306 by default? I use a different port for security reasons. If it is because Dreamweaver strength 3306, how can I change this when you create a database connection in the application menu.

    I found using the domain name of the site Web with the port has worked.

    example: domain.com:8888

  • Although my laptop (Vostro 3550) can connect to a remote server through VPN server will not recognize my user password and name. She will work to laptop to the network administrator, also under Win7

    I had many problems to connect to remote servers, only set by trial and error. I forgot how I solved the problem last time (a year ago), but because the server was, I can access is more data - I suspect that this is a basic setting preventing laptop computer to interact with the service.

    Hello

    Thanks for posting your query in Microsoft Community.

    The Microsoft Answers community focuses on the context of use. Please reach out to the business community of COMPUTING in the TechNet forum below:

    http://social.technet.Microsoft.com/forums/en/category/w7itpro

  • I can't connect to the remote desktop through VMWare on my windows vista with IE9.

    I need to set up a remote desktop access in a remote installation. I got an ID and a personal password to access their desktop remotely, but I can't get to the portal clinet vew VMWare server. I am able to set up access on my other computers with windows XP IE8. and Windows 7 IE8, but not windows Vsta IE9. I tried to download enhanceie.com/dl/IE8v.reg but when I click on the icon to access the portal I get a «Cannot find the file specified...» meeage "does anyone have a solution to this problem?

    Hello

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for Windows Vista on Technet. Please post your question in the Technet forums. You can follow the link to your question:

Maybe you are looking for