VS 2010 problem with connect to the database.

Hello


I use the customer Oracle 11g and ODAC 11.2 Release 3, windows 7 and VS 2010. Durning a few days I can not connect to oracle because of error database: "OCIEnvCreate failed with return code-1, but the text of the error message was not available.
I checked the case with privileges, and that's ok. In the end, I reinstalled VS and oracle client, but it did not help.
I have no idea what is wrong: () thanks for any advice.

Kind regards
Kris

858115 wrote:
Hello

And if I find 'oci.dll' in a location different than oracle home, I should remove it? I found one in c:\windows\system32

Kind regards
Kris

For now, go ahead and rename it. Since SYSTEM32 is on the path, the dll may be getting picked up rather than the version 11.2.

Tags: Database

Similar Questions

  • Problems with 'Connection to the Site target' where is the log file?

    Hi all!

    I am VSphere replication deployment to 2 VCenter servers with 1 Center Server in a lab environment. I successfully deployed and saved VRM devices to both VCenter servers. I also installed the SRM agent on the same VCenters servers as well. Both plugins are appearing in both VCenter servers. When I try to connect to the site target either VCenter, I get the following error below after I click 'OK '. What log file should I look at to determine my problem?

    vrm1.pngvrm2.png

    I solved this problem today.

    I had the two configuration of VCenter servers for both use TCP 8080 for HTTP traffic, I have uninstalled/reinstalled VCenter at both ends. I accepted the default 80 TCP HTTP this time and I was able to connect to my remote / targeted VCenter in the connections section.

    What is strange, is that the VRM devices said they used TCP 8080 to save the VRM instance/database on the Service Platform controller (VCenter) and recorded everything very well. I was able to perform very well with configured TCP 8080 local replication.

    My company has sometimes display TCP 80 a vulnerability and try to use other ports where possible.

  • Problem with connecting to the DB

    Hello world

    I try to configure DB Oracle 11g network for duplication of the DB and respectively for DATA GUARD and I face the problem with the network of the DB. I can't realize the basic problem. The problem is that after I connect to the DB with the name of the network service, I can't do anything. I get ORA-01034: ORACLE is not available
    Please help me solve this problem. I already do several times in 11.2.0.3.0 without any problem. :(

    Oracle DB 11.2.0.1.0
    OEL OS 5.7

    env
    [oracle@occ ~]$ echo $ORACLE_SID
    ROCKS
    [oracle@occ ~]$ echo $ORACLE_UNQNAME
    ROCKSU
    [oracle@occ ~]$
    init file
    [oracle@occ dbs]# cat /u01/app/oracle/product/11.2.0/db_1/dbs/ROCK.ora
    DB_NAME='ROCKS'
    startup mode
    SQL> startup nomount pfile='/u01/app/oracle/product/11.2.0/db_1/dbs/ROCK.ora'
    Listener.ora
    [oracle@occ ~]$ cat /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = ROCKS.oracle.cloud)
          (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
          (SID_NAME = ROCKS)
        )
      )
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = occ.oracle.cloud)(PORT = 1521))
        )
      )
    tnsnames.ora
    [oracle@occ ~]$ cat /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
    
    ROCKS =
      (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = occ.oracle.cloud)(PORT = 1521))
      (CONNECT_DATA =
         (SERVER = DEDICATED)
         (SERVICE_NAME = ROCKS.oracle.cloud)
         )
      )
    lsnrctl status
    [oracle@occ ~]$ lsnrctl status
    ................
    Service "ROCKS" has 1 instance(s).
      Instance "ROCKS", status BLOCKED, has 1 handler(s) for this service...
    Service "ROCKS.oracle.cloud" has 1 instance(s).
      Instance "ROCKS", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@occ ~]$
    Local connection
    [oracle@occ ~]$ sqlplus / as sysdba
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> select status from v$instance;
    
    STATUS
    ------------
    STARTED
    
    SQL>
    Connection with the service name
    [oracle@occ ~]$ sqlplus  sys/engine@ROCKS as sysdba
    
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Apr 28 18:53:06 2012
    
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    
    Connected to an idle instance.
    
    SQL> select status from v$instance;
    select status from v$instance
    *
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    SQL>
    . / Thank you

    __OUTSIDER___ wrote:
    Can you please suggest me something on?

    RMAN-05535: WARNING: all the log files have not been defined properly.

    bcm@bcm-laptop:~$ oerr rman 5535
    5535, 3, "WARNING: All redo log files were not defined properly."
    // *Cause: It was not possible to define all the redo log files.  This
    //         can occur when LOG_FILE_NAME_CONVERT initialization parameter is
    //         defined but fails to match all the names or causes names to be
    //         created that are not in valid directories.
    // *Action: Query the V$LOGFILE view to see what redo log files are defined
    //          after DUPLICATE has completed.  Use the
    //          ALTER DATABASE RENAME FILE SQL command to correctly
    //          name the existing redo log files.
    bcm@bcm-laptop:~$ 
    
  • Problem with connecting to the external server

    I am currently using my iMac with Mac OS X Lion 10.7.5 2011 (11G 63). I have an external server connected to the PC of the window. I tried many times and many ways and yet the error "There was a problem connecting to the server" continues to appear.

    I checked:

    -IP address
    -No firewall
    -Access rights
    -Address external & directory servers

    I used my other new imac and macbook and they have no problem connecting.

    Is this an error in version?

    Please do help.

    Read this article on the basis of knowledge of Apple, there may be something you've missed.

    OS X El Capitan: connect to shared computers and servers for files on a network

    Also this...

    OS X El Capitan: to connect to a Windows from a Mac computer

  • problem with connection to the internet after installing Windows 7 on new hard drive

    I have problem with old hard drive, so I change. I replace it with a new drive of the same size, so I download the Windows 7 disc to reinstall it. I received the product from the bottom of my laptop key. all look good, until when it is I can't connect to the internet. I can't find also manage network connections on my computer. When I go to "change the map settings" nothing is there. "when I go to connect to the network, not connected to the top pop, then I'm going to shoot bad to say" windows did not detect a network card installed properly, if you have a network card, you will need to re install the driver. "windows can't find a driver for your network card. Please help my fix to this problem. Thank you.

    You must download and install the driver for your network card.  It is best to get it fron the computer manufacturers web site.  You will have to get on another computer and copy it to a Flash DRIVE or a CD to run on your.

  • problem with connecting to the service of the administration of essbase

    Hi guys,.

    I have a problem with connectingto essbase administration service using the regional service console.

    There is no place of change taken on the essbase server.

    in the regional service console, clicking the server management component, I can find the essbase administration service is not running.but that will well essbase studio

    My essbase cube is used to be the source of OBIEE data. Now, I can not connect to the service of the administration of essbase, but the POET can read data in the essbase cube.

    Someone at - there experience this problem?

    any suggestion is appreciated!

    Hello

    Try restarting the Service of Directors.

    Kind regards

    Manan Shah

  • problem to connect to the database in JDeveopper on windows xp

    When we test the connection to the dilog box 'create database connection' will be displayed follow-up messages

    "Test failed: ORA-00604: error occurred at recursive SQL level 1"
    "ORA-01882: time zone region not found."

    Here you have to look at the comments of john.
    Exception occurred during eunning my jspx page

    Hi problem in the whole of the sample of projects zone

  • problem to connect to the database

    Hello, I am using Windows xp and I accidentally deleted the listener, yet I failed to connect to the same database, I create a listener with the same name. Let's say I take off everything (no database and listener), so what are the steps to create back?

    After that u recreated the listener... issue the current command

    lsnrctl > reload

    or lsnrctl > stop and lsnrctl > start

    This should help u connect to the db

    Published by: 870079 on July 6, 2011 03:57

  • problem with connection to the db - connection error

    I have problems connecting to my database. What I am doing wrong?

    I used dreamweaver to create the connection.

    < %
    ""FileName ="Connection_odbc_conn_dsn.htm".
    "Type ="ADO. "
    "DesigntimeType ="ADO"
    "HTTP ="false"
    "Catalogue =" "
    "Schema =" "
    Dim MM_webApp_STRING
    MM_webApp_STRING = "dsn = Web app; UID = sa; pwd = sa; »
    % >


    Error type:
    ADODB. Recordset (0x800A0E7D)
    The connection cannot be used to perform this operation. It is closed or invalid in this context.
    / new impulse nc site/htm/upcomingEvents.asp, line 19

    My asp code:

    I solved the problem. Thank you!

  • Problem with connecting to the usb storage to the EA4500 via ftp from the internet

    I have trouble to configure my EA 4500 as an FTP server.

    I followed all the instructions according to the manual, but cannot access the USB I connected tot the EA4500 of the internet.

    When I try to connect my own network, everything works fine.

    The configuration I have at home is as follows:

    Cable modem ISP--> EA4500--> all computers.

    As said, I use the EA 4500 as an FTP server.

    If I install an FTP server on one of the computers on my home network and transfer the correct port on the EA4500 for this PC everything works fine and I have access to the internet. Unfortunately, it won't work when using the USB plugged into the EA4500...

    Any help would be great!

    TIA!

    When you go to the EA4500 configuration page, have you enabled the FTP server function?

    When I set mine up, I have was go the section when you set up the USB (shares, etc.) and turned on FTP.

    In the security of the router Security tab, I uncheck the 'Block anonymous Internet requests.

    I do know for sure that you have to uncheck this box, but I always turned off this box, just out of habit when setting up a llinksys router.

    In any case, this is what I did and it worked fine.

    The only other thing I can think is... Your modem is perhaps a nat router. And you have the EA4500 operating on a different subnet. And your modem may possibly be block it.

    What is the brand and model of your modem.

  • Problem with connection of the external hard drive.

    Hi, my laptop runs Vista Basic. Recently, when I plugged a disc external HARD to 3.5 inches on the PC, I can only read the files on the HARD drive for about 5 to 10 seconds before receiving an I/O device error message.

    I don't know if it is a hardware or software problem.

    What can I do to solve the problem?

    Thank you.

    Hello

    Please contact the Microsoft Community.

    I'll help you with the problem. Please answer these questions in order to get clarity-

    (1) what is the exact error message?

    (2) deal with a similar problem on another computer

    I'd like to have you go to Windows Update, download and install optional updates in the list.

    Note: The hard drive must be connected by.

    In addition, you can also view this article to check for errors on the hard drive-

    http://Windows.Microsoft.com/en-us/Windows-Vista/check-your-hard-disk-for-errors

    Note: It is possible that you may lose the data on the hard disk after performing the chkdsk command. Make sure that you back up the data before continuing.

    Know let us know how it works for you.

  • problem with connection to the playbook Simulator Web Inspector

    Hello

    I get all the outputs to Web Inspector. I am able to properly connect Web Inspector to my application, but I'm getting no output to the console.

    This problem seems to have started when I upgraded my simultor OS 2.0 beta to version of the OS 2.0 gold.

    Any ideas?

    Thank you

    Solved by disabling the cache of Safari.

  • Problem with connecting to the computer

    Look at this schrinshoot! my computer does not see a sansa correctly. And sansa updater does not see a firmware update.

  • slow down the connection to the database (Oracle enterprise 11g ed on RHEL 4)

    Hello
    I am facing problem when connecting to the database connection using sqlplus to my database the time consuming and it increases as the number of users connect to it increases. (although with a user of sqlplus scott/tiger@db takes 15 seconds and when simultaneously if multiple users try to connect then time required in connection is alsomost = number of user * 15 seconds.)

    same tnsping takes huge when 4-5 user tries to connect to the database.
    What should I do for debugging?

    Hello

    Try this:
    -Remove any nameserver entry in /etc/resolv.conf on server
    -Add name to the/etc/hosts machine like that
    127.0.0.1 localhost.localdomain localhost
    10.10.20.134 piorovm.localdomain piorovm

    Kind regards
    Marcin Przepiorowski
    http://oracleprof.blogspot.com/

  • problem with recording new object database

    Hi all

    I am having some problems with registration of the database object.

    I have 2 classes

    {Test}
    Laboratory Lab - > not nullable in DB
    LastElement-> element (2 part)
    Items in collection-> (a-2-many element)
    }

    Element
    {
    String value
    Test parentTest-> (one to a test - key to building elements)
    }

    1. I create new Test ts1 and new element el1
    2. I add el1 ts1 items
    3. I updated el1 lastElement in ts1
    4 assignSequenceNumbers
    When I will I have an exception for the Insert for Test-> impossible to insert null for LAB_ID

    I found that if I do step 3 everything works fine and the INSERTION is done in a single step (all the attributes private and one-2-one References are included)
    If I do the step 3, only private attributes are generated for the insert and after insertion will update for all individual references. And it would be ok if I wouldn't not nullable fields.

    Is it possible to force Toplink do not separate first INSERTION to 2 calls?

    Any suggestions will be greatly appreciated.

    PS. all objects are correctly saved in UnitOfWork

    Thank you

    First of all you have parentTest in el1? You must take care of both sides of the relationship.
    Secondly, if you did and which does not help, maybe you can change a constraint not null on defered lab so he would be checked at the end of the transaction not to each insertion.

    Published by: sebastian.kolski on October 8, 2009 10:27

    Published by: sebastian.kolski on October 8, 2009 10:28

Maybe you are looking for

  • Re: Satellite A-200. Need new driver for 965 Express Chipset Family at Toshiba

    Hello. I have Toshiba Satellite A200 - 1N8 PSAE3E (win vista 32 bit) with Intel 965 Express Chipset Family graphics card and driver for this ver.7.14.10.1280! I am looking for 2 months new driver for it. I am angry because in the Intel site are drive

  • appears na minha tela (disk hard - 3fo)

    Estou com um problema no meu computador esta aparecendo um gene e aparecendo (disk hard - 3fo) o EU poderia estar doing para ta resolvendo este problema?

  • Windows Movie Maker 2.6 agreeing not to videos to the MP4 Format

    Try to change some videos on my camera that is mp4 but Windows Movie Maker 2.6 said he does not support this format - help please

  • Cursor moves when entering text

    I am usuing editing field, but when I type any text in this field, then cursor does not move with the text, it's show into typed text, but the position of the cursor is on start. I use 6 Os and Os 7/7.1. Please let me know for the problem.

  • Curve B Smartphones to blackBerry 8520

    Hi just new to the site I was looking to see if anyone else had a flaw here b curve 8520 it which will not send or receive texts or send or receive calls got the full signal and the internet works I'm on work net orange and who can't seem to find the