Cannot connect to Oracle thru OracleConnection

Hi,
I'm new somewhat new to this forum, so fwiw, I have searched through this forum trying to find a similar solution to this problem, but to no avail, so I figured I would post it. If this is a FAQ, then my apologies and point me there!
I recently did some housekeeping on my pc and uninstalled OracleXe (using a doc i found on the web) and then reinstalled Oracle XE.
According to the registry HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_XE\ODP.NET\Version, I'm using the OracleDataAccess.dll 10.2.100 to connect.
my version of XE, again looking at the registry here, HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_XE\Version is 10.2.0.1.0
I have a project which has been running for sometime and it no longer works, I decided to create a simple console sample to see if the problem could be isolated. Here's a snippet of it for ref, only thing left out is curly braces, main and namespaces.
// i have this in tnsnames.ora and set this up with database web page
strin connStr = "Data Source=HR;User Id=hr;Password=hr;";
OracleConnection ocn = new OracleConnection( connStr );
try {
ocn.Open();
catch ( OracleException oex ){
Console.WriteLine("error was: {0}", oex.Message );
When i run this code an exception is thrown when Open is called, but the exceptions message is blank!
I've tried a few things to figure this out. I checked if I could connect using sqlplus > hr/hr@HR and that works fine. Thinking it might be GAC related, I took a sneak peek at the GAC and I do see a 10.2.100 dll in there as well as the various resource dlls for that version. In addtion there is a Policy 9.2 Oracle.DataAccess 10.2.100 too.
I turned on tracing, set values in the odp.net registry entry (under Oracle\KEY_XE
I set tracelevel to 1 and traceoption to 0. The file it emits contains entries and exits and some warn entries..
Any ideas as to what might be wrong ?
thanks for any help you can provide,
Sincerely,
J

update: Solved!
Thanks for the help.
I guess in the end, it was that a reboot was required because
when I came in today and gave it a run through, it was doing considerably better.
Ming, thank you,
it turned out that this was not the problem.
thanks,
sincerely,
J__

Similar Messages

  • VB6 source code cannot connect to Oracle database after compile to file.exe

    Hi All,
    I have a problem about VB6 connect with Oracle database. It can connect as normal when run on VB program. After compiled to file.exe and execute, it cannot connect to Oracle database. What's going on ? Please advise? Thank you.
    Here is sample of my code connection.
    Option Explicit
    Private wsData As New ADODB.Connection
    wsData.ConnectionString = _
    "Provider=MSDAORA.1;User ID=lsp;Password=lsp2007;Data Source=prd01;Persist Security Info=False"
    wsData.Open
    End sub
    Rgads,
    Ats.

    Hi,
    I believe you're in the wrong forum, this forum is for Oracle Application Express.

  • Cannot connect to oracle after upgrade to 9i

    Hey there,
    kind of new in the arena so be kind and patient with me please.
    Enviroment : sun
    oracle : 8.0.5 now been upgraded to 9i with 8.0.5 clients installed on the machine
    symptoms : since upgrading the Oracle to 9i we cannot connect to the 9i with jdbc
    Question : Do we need to upgrade the client in our machines to 9i clients? is there any specific Driver Manager that I should use currently using Thin client thruogh port 1521?
    HELP!!!!

    First of all, there is not enough specifics in your
    post, the problem could be anywhere - you should
    provide at least an error message, an exception call
    stack or something like this.
    It could be a problem with the jar files provided by
    oracle, which are in you client's class path. It used
    to be called classesXXX.zip in oracle 8i, whatever the
    name in oracle 9 is I do not know. But just make sure
    that you have the exact oracle jar files in the class
    path as the ones shipped with your oracle version.
    Usually these files are found in
    $ORACLE_HOME/jdbc/lib
    I'll try to be more specific:
    I use an 8.0.5 client and I'm trying to connect to a 9i .I didn't upgrade the client yet.While trying to connect via a connection pool that i built.I get an exception saying exceeding key size in method getConnection.
    java.sql.SQLException: Exceding key size
    at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:420)
    at oracle.jdbc.ttc7.O3log.<init>(O3log.java:255)
    at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:166)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:103)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:148)
    My qustions are :
    Is it because I didn't upgrade the client?(Though it only seems logical that the 9i would support it)
    If it isn't because of the client what is it?

  • Cannot connect to oracle DB

    Hi experts,
    I have problems connecting to oracle database
    Using tomcat as my webserver and db is oracle 9i
    getting this error:
    java.sql.SQLException: Io exception: The Network Adapter could not establish the
    connection
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:334)
    at oracle.jdbc.ttc7.TTC7Protocol.handleIOException(TTC7Protocol.java:369
    *5)*
    at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:352)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:362)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:536)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:328)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java
    *:166)*
    at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection
    *(OracleConnectionPoolDataSource.java:149)*
    at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(O
    racleConnectionPoolDataSource.java:95)
    at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(O
    racleConnectionPoolDataSource.java:63)
    at oracle.jdbc.pool.OracleConnectionCacheImpl.getNewPoolOrXAConnection(O
    racleConnectionCacheImpl.java:560)
    at oracle.jdbc.pool.OracleConnectionCacheImpl.getPooledConnection(Oracle
    ConnectionCacheImpl.java:417)
    at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnec
    tionCacheImpl.java:311)
    at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnec
    tionCacheImpl.java:281)
    at crbt.OracleConnectionUtil.getConnection(OracleConnectionUtil.java:70)
    at crbt.MySQLConn.connect(MySQLConn.java:48)
    at crbt.RBT_Interface.ProcessRequest(RBT_Interface.java:31)
    at org.apache.jsp.index_jsp._jspService(index_jsp.java:112)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:92)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
    *.java:162)*
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
    *40)*
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:200)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:146)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:209)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:596)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:433)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:144)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:596)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:433)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
    *2358)*
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:133)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:596)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
    rValve.java:118)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:594)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:116)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:594)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:433)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:127)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:596)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:433)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
    at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:15
    *2)*
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
    *:799)*
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
    ssConnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
    *:577)*
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:683)
    at java.lang.Thread.run(Thread.java:479)
    Database Error! java.lang.NullPointerException
    Please help resolve the issue.
    Thanx

    The url is correct............simple things have debugged already before posting this issue.Being able to connect is a pretty simple issue.
    You can use telnet to establish whether you can connect to the server and port from the client box. If you cannot establish that connection then absolutely nothing you do in java is going to solve the issue.

  • Excel-2007 cannot connect to Oracle ODBC data source, Control Panel can.

    <p>
    I cannot make an ODBC connection from Exce-2007 to Oracle work. I am an expert Excel and VBA user (since 1994) and I have frequently used Excel to access ODBC databases, including Oracle (I have done this with Excel-2003 both with worksheet queries and have written VBA ADO-connection routines). And even though in Excel-2007 a worksheet ODBC query is supposed to be easier to create than in previous version of Excel, my connection fails. Any suggestions and all help are welcome and much appreciated.
    DETAILS
    </p>
    <p>
    1) <strong>What is my system?</strong> I am using Excel-2007 on Windows Vista x64 and Oracle server v.11g on my computer (all this is on my computer, no network issues).
    2)<strong> Why use Excel with Oracle at all?</strong> I use Excel-2007 to access Oracle rather than Access-2007 (or any other application like TOAD, etc.) because I do engineering calculations with the data stored in Oracle. These calculations are easier done in Excel (I suppose that one alternative to this could be to use some sql or Access to get the data from the database, then store it as plain vanilla CSV file, then open this file in Excel, then do the math (the math involves complex optimisation algorithms), then save the results as CSV, then use some sql or Access to put the data back into the database. Howwever this does not strike me as a quick or neat solution. And after all Excel has been designed to access ODBC databases, so why not use it?)
    3) <strong>What do I do in Excel-2007 that won't work?</strong> I create an ODBC link to Oracle that does not work. In Excel-2007 this is straightforward:
    </p>
    <ul>
         <li>define an ODBC connection (Data tab --&gt; From other sources --&gt; From data connection wizard);</li>
         <li>define a query on the worksheet -- that's it, this is all!</li>
    </ul>
    <p>
    I start with creating an ODBC connection:
    a) I choose an ODBC data source type: <strong><em>ODBC DSN</em></strong>
    b) Excel-2007 displays the list of the available ODBC data sources. I see in it <strong><em>my Oracle database name</em></strong> and I select it.
    c) Excel-2007 displays the Data Link Properties:
    - the "Provider" has a list of the OLE DB drivers with preselected "<strong><em>Microsoft OLE DB Provider for ODBC Drivers</em></strong>". I keep this default selection.
    - the "Connection" tab has a connection string "<strong><em>DSN=&lt;my database name&gt;</em></strong>" which I keep, it also has fields for the <strong><em>user name</em></strong> and the <strong><em>password</em></strong>, which I fill with the correct credentials.
    - Finally there is a button "Test Connection", which when I click produces the following error message:
    <strong><font color="#ff0000">"Test connection failed because of an error in initializing provider.</font></strong><strong><br />
    </strong><strong><font color="#ff0000">Unespecified error"</font></strong><strong>
    </strong>
    4) <strong>Additional food for thought:</strong>
    a) In the above walk-through the only data, which I type, are the user name and password, everything else is selected from lists offered by Excel-2007, hence any possibility of typos being the cause of the problem can safely be discarded.
    b) I can test the ODBC driver in the Control Panel and it shows that it can connect to the Oracle database:
    - in <strong><em>Control Panel --&gt; Admin Tools --&gt; Data Sources (ODBC)</em></strong> on the "User DSN" tab I can see the list of the available ODBC data sources (same list as in Excel-2007, point 3b above) with the name of my database in it;
    - selecting the name of my database from the list of the sources and clicking "Configure" button opens a tab with <strong><em>Data Source Name</em></strong> (same as in Excel-2007), TNS Service Name and User ID. I enter <strong><em>&lt;user name&gt;/&lt;password&gt;</em></strong> and click "Test Connection" button. A message "<strong><em>Connection successful</em></strong>" appears (just for a test I enter <u>incorrect user credentials</u> and "<strong><em>Unable to connect</em></strong>" message appears)
    BOTTOM LINE
    </p>
    <p>
    The procedure for using an ODBC connection from Excel is very simple, in the past I have created and used such connections numerous times with Excel-2003 and earlier on Win-XP and earlier. But now on Excel-2007 and Vista-x64 I cannot make it work.
    Also, testing an ODBC connection driver is really easy and simple to be done in the Control Panel. There testing the same ODBC connection, which fails in Excel-2007, results in success.
    I am frustrated by the simplicity of the problem and yet the persistant error. I have lost now two full days in failed attempts to make the simple procedure work and in searching the internet for answers.
    All help is highly appreciated <img class="emoticon" src="images/emoticons/happy.gif" border="0" alt="" width="16" height="16" />,
    Plamen
    </p>

    Did you find the solution to your problem?
    If not, I think I may know.
    Excel 2007 is a 32-bit application.
    When installing 32-bit applications in a 64-bit environment, the "default" location is:
    C:\Program files (x86)\...
    Excel then launches from this location.
    However, when it connects to Oracle and passes the name of the calling program, Oracle attempts to "interpret" the value of (x86) as if
    the value within the parenthesis are being passed as a reference. Of course, iOracle doesn't find anything, so the result is (),
    and then it cannot return the connection info back to the calling application.
    I corrected it by installing Excel in C:\Program Files\, and once launched from that location, it works the same as on the 32-bit machines.
    However, at my location, they are FORCING Excel to be installed in the(x86) location.
    What I'm trying to discover now is:
    Is it possible to flag Oracle to NOT process the embedded variables?
    Or, is it possible to assign a variable in Oracle such that x86 = "(x86)", so that the end result is viable?
    Have you had any luck with your installation?
    thanks,
    Paul

  • ** 911 ** Cannot connect to oracle 9i database No suitable Driver

    All:
    Any help rendered would be appreciated. (jdk 1.4.2_06, Tomcat 4.0,
    Oracle DB 9i Windows XP)
    I have a web app (Jasper report tool) and I cannot connect to a Oracle 9i database.
    1)error received: "Apr 2, 2007 2:05:15 PM com.entDB.Enterprise_db connectToDatabase SEVERE: Function connectToDatabase() - Cannot load the driver, reason:java.sql.SQLException: No suitable driverCheck classpath for driver java.sql.SQLException: No suitable driver
    2)CLASSPATH SETTING = C:\tomcat\common\lib\ojdbc14.jar
    3)Source code:
    protected boolean connectToDatabase() {
    try {
    // I tried this !!! Class.forName("oracle.jdbc.driver.OracleDriver");
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    con = DriverManager.getConnection("URL,USER,PASSWORD ");
    return true;
    }catch (SQLException e) {
    logger.error("Function connectToDatabase() - Cannot load the driver, reason:" + e.toString() + "Check classpath for driver ", e);
    return false;
    4.I placed a copy of the jar file in TOMCAT common lib, and server lib.
    I have tried various solutions listed at different web sites without success. Has anyone had similiar problems? Can anyone assist?
    thanks ......
    ******* Confused *********

    I used 911 because It is an emergency for me (I am
    under a deadline) . You might want to read this: Urgent Questions
    URL, PASSWORD, USER are strings
    declared in another section of code.Yes, but in the code you posted the variable names are all inside double quotes?

  • Cannot Connect to Oracle, PHP cannot load oci dlls

    Hello,
    I have installed wamp on windows server, and oracle 9, When I try to connect to oracle in php I get:
    Fatal error: Call to undefined function oci_connect() in C:\wamp\www\project2\index.php on line 3
    Also when I start wamp, it cannot load the oci dlls found on:
    C:\wamp\bin\php\php5.3.0\ext
    I have configured the php.ini file and commented as much options
    extension_dir = "C:/wamp/bin/php/php5.3.0/ext/"
    extension=php_oci8.dll ; Use with Oracle 10gR2 Instant ...
    extension=php_oci8_11g.dll ; Use with Oracle 11g Instant Client
    extension=php_oracle.dll
    extension=oci8.so
    I am unable to either connect to the database through php, also when I start wamp, i get pop up windows that it cannot load the dynamic procedures related to oracle: php_oce.dll, php_oce8.dll, php_pdo_oci,
    I have even eddited the http.conf file
    Also have done this:
    •Add the following entries to the "C:\Apache\Apache\conf\httpd.conf" file:
    LoadModule php4_module c:\php\sapi\php4apache.dll (approx line 193)
    AddModule mod_php4.c (approx line 241)
    AddType application/x-httpd-php .php (approx line 851)
    I have included the phpinfofile attached as well, part of it below is:
    System Windows NT SELECAO 5.2 build 3790 (Windows Server 2003 Standard Edition Service Pack 2) i586
    Build Date Jun 29 2009 21:23:30
    Compiler MSVC6 (Visual C++ 6.0)
    Architecture x86
    Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--disable-isapi" "--enable-debug-pack" "--with-pdo-oci=D:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=D:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8-11g=D:\php-sdk\oracle\instantclient11\sdk,shared" "--with-enchant=shared"
    Server API Apache 2.0 Handler
    Virtual Directory Support enabled
    Configuration File (php.ini) Path C:\WINDOWS
    Loaded Configuration File C:\wamp\bin\php\php5.3.0\php.ini
    Configuration
    apache2handler
    Apache Version Apache/2.2.11 (Win32) PHP/5.3.0
    Apache API Version 20051115
    Server Administrator admin@localhost
    Hostname:Port localhost:80
    Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
    Timeouts Connection: 300 - Keep-Alive: 5
    Virtual Server No
    Server Root C:/wamp/bin/apache/Apache2.2.11
    Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_dir mod_env mod_include mod_isapi mod_log_config mod_mime mod_negotiation mod_setenvif mod_php5

    I get this error, i decided to change directory for oracle_home
    putenv("ORACLE_HOME=C:/oracle/product/10.2.0/db_1/bin");
    to
    putenv("ORACLE_HOME=C:/oracle/product/10.2.0/db_1");
    it functioned.
    my code
    <?php
    putenv("ORACLE_HOME=C:/oracle/product/10.2.0/db_1");
    putenv("ORACLE_SID=PLSExtProc");
    $user ="name"; // set user
    $senha="password"; // set password
    $banco="(DESCRIPTION=
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=TCP)
    (HOST=127.0.0.1)(PORT=1521)
    (CONNECT_DATA=(SERVICE_NAME=orcl))
    )"; // configuracoes do banco (isso muda um pouco no oracle)
    if ($conexao = OCILogon($user,$senha,$banco))
    echo "Conexão bem sucedida.";
    else
    echo "Erro na conexão com o Oracle.";
    ?>

  • Cannot connect to Oracle 11gR2 database from SQL Server 2005

    Both SQL Server (Windows) and Oracle (Linux) are in 64bit environments.
    I have done the following on a Windows 2008 R2 with SQL Server 2005:
    Install InstantClient from Oracle Database 11g Release 2 Client (11.2.0.1.0) for Microsoft Windows (x64) to C:\Oracle
    Install oledb from 64-bit ODAC 11.2 Release 3 (11.2.0.2.1) for Windows x64 by executing install.bat oledb c:\oracle odac
    Note: Not sure whether 11.2.0.2.1 version of ODAC will cause any problem since I cannot find 11.2.0.1.0 version.
    I have checked the Allow inprocess of OraOLEDB.Oracle provider in SSMS.
    I have executed sp_addlinkedserver @server = 'ORACLE_TEST', @srvproduct = 'Oracle', @provider = 'OraOLEDB.Oracle', @datasrc = '##.##.##.##:1521/TEST'
    The ##.##.##.## is the ip address of the Linux server which has the Oracle 11gR2 database TEST.
    I have executed sp_addlinkedsrvlogin @rmtsrvname = 'ORACLE_TEST', @useself = 'FALSE', @rmtuser = 'xxxx', @rmtpassword = 'yyyy'
    The xxxx is the oracle username and yyyy is the password for the oracle user xxxx.
    I know the oracle database TEST is up since I have setup connection in Oracle SQL Developer having:
    ##.##.##.## as the hostname
    1521 as the Port
    xxxx as the username
    yyyy as the password
    TEST as the service name
    When I click Test Connection for the linked server ORACLE_TEST in SSMS, it just hang.
    When I issue a query like select count(*) from oracle_test..xxxx.table1, it just run forever. I'm not so sure how to query an oracle table. I have also tried select count(*) from oracle_test.xxxx.xxxx.table1.
    When I retype the password in the Linked Server Properties, it just run forever.
    Do I need to create a tnsnames.ora on the Windows machine?
    Do I need to change the tnsnames.ora on Linux machine?
    I'm very new to Oracle.

    This forum is dealing with connections from an Oracle database to SQL Server - so the Oracle database is the driving site and this is the way round from your linked server set up.
    As you're suing the instant client you might post your issue in the instant client forum:
    Instant Client

  • Cannot connect to Oracle XE - install on Mandrake 2005

    Hi!
    Downloaded Oracle XE and attepmted an install on my home computer running Mandrake 2005. At first it complained about missing libaio so I downloaded and installed latest Fedora rpm. Without problems. Then it happily installed, although at one moment it complained the machine does not meet minimum requirements (only 217Mb memory, hmm why I thought I have 256?). It installed otherwise fine. I run configuration scripts - default ports, system password, start at boot - yes. So far so good.
    It created a shortcut for "Getting Started" page on my desktop, but would not make any menu items. OK, after all its not a supported distro. So I pointed Firefox at http://127.0.0.1:8080/apex and got connection refused.
    Checked. Process oracle-xe is running. I can start and stop it. Listener is up and listening. There is no firewall whatsoever - we're sitting on a dialup here. Tried to connect as root, no candy. Ahh, yes, I should mention that even if memory is lacking there is about 800 megs of swap and ample diskspace too, so other hardware req's should be OK. So everything is almost like it should. Except that I cannot connect. So can you tell me what else to check and what to try?
    Wahur, database newb

    Oracle XE has it's own forum - to register and discuss XE problems with XE experts use URL http://www.oracle.com/technology/xe/registration
    Once you have registered, you can sign in to the forums and voila - the link to the XE forum is there. But you do have to sign in.

  • Cannot connect synology nas thru airport

    I am using synology NAS 213+
    I cannot connect to my NAS thru internet but the capsule. That means I want to connact my NAS folder but go to the airport capsule data folder.
    How to fix it, please help!

    Hi, both protocols  are supported, get still an error with the following message " there is a problem with connecting to serve 192.168.0.193" the server does not excist or is not accessable. Check the servername or the ip address fromthe server, check network connection and try again.  In my opinion network is ok because otherwise i could not connect also via another device. thks

  • Cannot connect to ORACLE server in VPN

    Hello ,
    May this be a networking question but it deals with oracle database. In a workgroup environment a client PC is not able to connect to the PC in which oracle is installed.
    I tried to ping the PC , sometimes it replies back & some times it says request timed out.
    I searched on net & it said that oracle should give user authentication to that PC on windows environment. I referred the following link
    [http://download.oracle.com/docs/html/B13831_01/external.htm]
    but still i am not able to find all computers in that environment as its a workgroup & still can't connect.
    ORACLE DATABASE 10g R2_
    Windows Server 2008 64-Bit - on which oracle is installed_
    Windows XP SP2 - By which user is trying to Connect/Ping to oracle by unsuccessful._
    I also used Oracle Administration Assistance for windows but could not find the solution...
    Please guide what to do ???
    Thanks in advance !!!

    DBA4 wrote:
    Hello ,
    May this be a networking question but it deals with oracle database. In a workgroup environment a client PC is not able to connect to the PC in which oracle is installed.
    So what error code does it return?
    I tried to ping the PC , sometimes it replies back & some times it says request timed out.
    I searched on net & it said that oracle should give user authentication to that PC on windows environment. I referred the following link
    [http://download.oracle.com/docs/html/B13831_01/external.htm]
    but still i am not able to find all computers in that environment as its a workgroup & still can't connect.
    ORACLE DATABASE 10g R2_
    Windows Server 2008 64-Bit - on which oracle is installed_
    Windows XP SP2 - By which user is trying to Connect/Ping to oracle by unsuccessful._
    I also used Oracle Administration Assistance for windows but could not find the solution...
    Please guide what to do ???
    Thanks in advance !!!

  • Cannot connect a Oracle 9i DB to 7.3.4 DB ora 1002, 2063 using DB_LINK

    Hi, I created a public db_link in an Oracle 9i 9.2.0.1.0 DB on Red hat Linux, to an Oracle DB 7.3.4 on Unixware 2.1.3.When i try to use it, I'm getting the following errors:
    SQL> create public database link finanzas.world connect to guest identified by huesped using 'FINANZAS'
    Database link created.
    select a,b from [email protected]
    ERROR:
    ORA-01002: fetch out of sequence
    ORA-02063: preceding line from FINANZAS.WORLD
    These are the contents of TNSNAMES.ORA AND SQLNET.ORA
    TNSNAMES.ORA:
    FINANZAS.LOCALDOMAIN =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Finanzas)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = ART)
    SQLNET.ORA
    NAMES.DEFAULT_DOMAIN = localdomain
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    Another weird thing:
    If i omit the ".world" part when creating the db_link, it gets created this way:
    SQL> select db_link from dba_db_links;
    DB_LINK
    FINANZAS.US.ORACLE.COM
    I modified spfile and querying v$_spparameter_file gets the following output:
    SQL> select name,value from v$spparameter where name like '%doma%';
    NAME
    VALUE
    db_domain
    WORLD
    Db_domain is supposed to be appended to db_link name isn't it?.
    Can anyone explain ...?. What i am doing wrong ...?
    HELP ...!
    PD: I created a db_link in 734 DB to connect to Oracle 9i and it works ....

    Database links between 9.2 and 7.3.4 databases are not supported. In general, a 9.2 client connecting to a 7.3.4 database is not supported. I believe you can solve the problem by downgrading the 9.2 database to 9.0 or by upgrading the 7.3.4 database to 8.1.7 (or 9.2).
    Unfortunately, 7.3.4 has not been supported since late '99 if memory serves, so you're going to start running into these compatibility problems.
    Justin

  • JDeveloper cannot connect to Oracle Application Server 10.1.3.x

    Hi, I am trying to create a connection from JDeveloper (on my desktop) to my oracle application server (10.1.3.x, on another machine). The JDeveloper version is 10.1.3.1.0.
    In step 1, I chose the connection type: "Oracle Application Server 10g 10.1.3".
    In Step 3, I chose "connect to group". I tried different host names and "OC4J Component/group name" but always got the following error msg:
    Error getting Cluster Config Set URLs for uri: deployer:cluster:opmn://hostname:6003/OC4J:default_group.
    I also tried to run JDeveloper from the same machine as my AS installed. The host name I used is "localhost" and the group name is "default_group" and the connection is successful. So it seems to me that my AS configuration is correct.
    May I ask what should be the correct "host name" and "group name" if I want to connect from a "remote" JDeveloper? And in what configuration file can I find such info.?
    Thanks a lot.
    Message was edited by:
    user575786

    hi user575786
    Would you mind sharing some more details about the changes you had to make to get it working or about the nature of the "misconfiguration" you mention?
    Maybe you have some pointers to documentation that helped you solve this?
    (tip : You can use "Your Control Panel" to make your name visible in forum posts.)
    thanks
    Jan Vervecken

  • Cannot connect to Oracle database from SQL Server

    Hi
    We have set up a SQL Server linked server and tried to use this SQL Server linked server to connect to Oracle database. We are using SQL Server 2008 and Oracle client 11g 11.02.00.01. However, we got this error message:
    Msg 7347, Level 16, State 1, Line 1
    OLE DB provider 'OraOLEDB.Oracle' for linked server 'OurLinkedServer' returned data that does not match expected data length for column '[OraOLEDB.Oracle].Ourfieldname'. The (maximum) expected data length is 6, while the returned data length is 2.
    We are able to connect some of the tables ok but some of the tables are not connected and got the above error message.
    Any suggestions are greatly appreciated.
    Thanks a lot
    Tom

    Hi
    Here is more information. We just found out that the Oracle database team changed the character set to something else and then they changed it back to UTF8.
    Currently, it is using UTF8 character set on the Oracle side. Will this causing us this error message on our sql server linked server?
    The error message said "The (maximum) expected data length is 6, while the returned data length is 2."
    This refers to a field/column with char(1)
    Any suggestions are greatly appreciated
    Thank you
    Tom

  • Cannot connect to Oracle 8i with IIOP from JDev3.1

    Hi,
    I have the problem of connect to Oracle 8i with IIOP from JDeveloper 3.1 when I build application with BC4J. I can connect to my Oracle 8i database with ODBC easily but failed with IIOP. Does anyone here has the same experience?
    Any help will be appreciated. Thank you.
    null

    Hi Daniel:
    I've solved the problem mentioned above. It requires two settings:
    I) Enabling Multithreaded Server Support for IIOP Clients;
    II) Listener's listening to port 2481
    Of course you should have installed JServer into your Oracle 8i database.
    In your init.ora file, you should have the following two lines:
    mts_dispatchers = "(PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)"
    mts_dispatchers = "(protocol=TCP)"
    To confirm this you may use SQLPLUS to list the parameters of the database setting:
    mts_dispatchers string (PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer), (protocol=TCP)
    mts_servers integer 1
    And in TNSnames.ora file the setting should like this:
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = wangsvr)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = wangsvr)(PORT = 2481))
    All these two settings ( init.ora and tnsnames.ora ) can be done with "Database Configuration Assistant" and "Net8 Assistant"
    I solved my problem this way, your problem may not the same but anyway you may try it.
    null

Maybe you are looking for

  • Header columns alignment in PDF using CFDOCUMENTITEM

    Hi All, I'm creating a PDF with CFDOCUMENT tags and using CFSAVECONTENT tags. I will do the formatting everything inside the CFSAVECONTENT Variable and create the PDF using the save content variable. <cfdocument format="PDF" orientation="landscape">

  • My pages load off centre when using Firefox

    for the past 2 months every page I open is off centre and I have to correct it before i can use it, including the start page, I click on the lower right hand corner and move it back and forth and the page centres, Its just annoying. Hope you can help

  • InDesign Screen freeze

    Is anyone else having problems with MAC OSX Leopard and CS3 Screens freeze. Cannot access or hide... cannot minimize... have to force quit Cannot hide program Program unexpectedly quits when printing or making .pdf Sandi Pufahl

  • Easy accent (special character) translation to html numeric codes with xdk.

    Hi, I have an xml (obtained via xsql) with the correct special characters (spanish accents in this case), I got it in a servlet like:                                         XSQLRequest req = new XSQLRequest(pageUrl); XMLDocument xsqlDoc = (XMLDocume

  • Using getWebActionModels

    I have a model that is stored in the session due to the time it takes to retrieve the data and some other factors. The record listing screen has previous and next buttons on it to cycle through the model and a tiled view showing 25 records at a time.