Oracle connection problem: cannot open the library

Hello

I'm using VS2010, Timesten 112241 and ODAC 1120320 on Windows 7. When I try to access database of TT using SQL Developer, for example, it works perfectly, but everything I try to access it from my application, he throws ORA-29158: could not open except for the library. I read a few threads on the forum about this problem, tried to copy the tnsnames.ora, sqlnet.ora and on the record of the new client after installing the ODP, set TNS_ADMIN to locations of files .ora, tns alias, the value, but nothing seems to work. Which library it refers? What Miss me?

Here is the output of ttVersion:
TimesTen release 11.2.2.4.1 (64 bit NT) (tt1122_64:53396) 2012-10 - 30 T 06: 32:14Z
Forum admin: nikola.bajic
Home Directory Forum: C:\TimesTen\TT1122~1\
Accessible world
Demon base directory: C:\TimesTen\TT1122~1\srv\info
PL/SQL active.

Here is the output of ttStatus:
Daemon pid 1872 port 53396 instance tt1122_64
TimesTen PID 1960 server started on port 53397
C:\tt_temp\TT_ItemCache data store
There is no connection to the data store
Replication strategy: manual
Agent caching policy: manual
PL/SQL active.
C:\users\nikola~1.baj\appdata\roaming\timesten\demoda~1\TT_tt1122_64 data store
There is no connection to the data store
Replication strategy: manual
Agent caching policy: manual
PL/SQL active.
C:\users\nikola~1.baj\appdata\roaming\timesten\demoda~1\sampledb_112 data store

There is no connection to the data store
Replication strategy: manual
Agent caching policy: manual
PL/SQL active.
Accessible by any group
End of report

Here the tnsnames.ora entry:
tns_item_cache = (DESCRIPTION =
(CONNECT_DATA =
(SERVICE_NAME = TT_ItemCache)
(Server = timesten_client)))

Here's the code for the app:
connStr = "user Id =;". Data Source = tns_item_cache;
GetConnection (connStr);

private OracleConnection GetConnection (String connStr)
{
Con OracleConnection = new OracleConnection (connStr);

con. Open();
return con;
}

Best regards
Nikola

Hello Nikola,

Could you please put the code you are using, and the exact error you get. In addition, please check the env variables, as CLASSPATH, LD_LIBRARY_PATH and etc. here (java.sql.SQLException: problems with the native/lack of loading methods library )

Also "verify that the entry in the tnsnames.ora file is associated with a DSN TimesTen or service_name in the simple connection string is set to a DSN TimesTen." (http://download.oracle.com/otn_hosted_doc/timesten/odpnet/readme.htm)

Best regards
Gena

Tags: Database

Similar Questions

  • Windows 2k8R2 - receiving error when you connect (MMC cannot open the file: C:\Windows\system32\ServerManager.msc)

    Windows 2008 R2 - I just started getting this when I connect, and also when I try to manage the machine:

    MMC cannot open the file:
    C:\Windows\system32\ServerManager.msc
    It is perhaps because the file does not exist, is not an MMC console, or was created by a later version of MMC. This may also be because you don't have sufficient access to the file.
    It always worked before and work for other users simply not me on this particular area. It is a production company, and I need a quick resolution please. Thanks in advance.
    PM

    Hello

    Your Windows is better suited for the public of Windows Server on TechNet. Please post your question in the TechNet Windows server forum.

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

  • Cannot open the library - 'Photos' obsolete?

    Hello!

    For a few weeks, I have been unable to open my library Photos... States of photos that the library was created by a newer version of Photos, and that I do need to update 'Photos' a newer version.

    I use Yosemite version 10.10.5 (fully up-to-date as I write this), and my version 1.0.1 (215.65.0) pictures.

    I have no updates pending in 'App Store'.

    I'm not sure if my fiancee uses el captain or not on his cell phone, and she could have updated the library... But; I think that 'photos' to Yosemite and 'photos' to El captain are the same software, and this should not be a problem?

    But; I think that 'photos' to Yosemite and 'photos' to El captain are the same software.

    It is not the case. The latest version will update the library and the earlier version will not open it.

    Update or restore from your back upward.

  • Install updates problems, cannot open the cbs.log and corrupted files

    My laptop is having a lot of problems now may not install as 16 important updates, it continues to display the 800700B error code. Then I run sfc/scannow, and then he said he finds corrupted files, but could not resolve, so I tried to open the cbs.log newspaper to for more details but he said that the access was denied (no matter in many ways, I have tried, it won't let me access it).
    So please help me to solve these problems, I don't know what the problem principal here, please help me!

    How about an error of 8007000 b? See http://support.microsoft.com/kb/956699 ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • Email connection problems: cannot access the requested url due to the system on that server error

    How can I get my email on when I get the above message

    Cannot access the url reqested due tosystem error on this server

    Apparently, there is a problem on the mail server. Contact technical support for your email provider. MS - MVP - Elephant Boy computers - don't panic!

  • I have a new laptop and trying to set up aol and it does not access code. Repeat me that I am connected but cannot open the aol world

    I WAS IMPOSSIBLE to GET IN aol since it has downloaded the software on THIS COMPUTER IT SAYS I AM CONNECTED BUT will NOT ALLOW ME INTO THE AOL SYSTEM

    Hello

    1. what operating system is installed on your computer?
    2 have you installed the AOL software as an administrator?

    If you use Windows 7, check if your AOL software is compatible with Windows 7 Compatibility Web site.

    Please reinstall AOL software as an administrator by clicking on the setup.exe file and running it as an administrator.

    If the problem persists, contact AOL support.

  • iPod touch will not got to some Web sites - "Safari cannot open the page because the network connection has been lost."

    Safari refuses to go to certain websites (facebook.com, youtube.com) on my iPod Touch and instead displays this error:

    S afari cannot open the page because the network connection has been lost.

    The bubble at the top where I typed in the URL doesn't change, it always says "facebook.com" or something else.

    No matter where I am, so it won't get fixed by resetting my home Wi - Fi router. Other sites load fine. I have reset the iPod, too, by pressing the sleep button and one on the front (whatever it's called) until I see the apple logo. I also did 'Story clear and data Web site' in the Safari settings.

    I searched the web and found a number of threads that start with similar complaints, but I can't find one where the problem has been resolved in fact.

    Thank you!

    Not "no matter where I am," means, it happens with all networks?

    If so:

    Try:

    -Reset the device iOS. Nothing will be lost

    Device iOS Reset: Hold down the On / Off button and the Home button at the same time for to

    ten seconds, until the Apple logo appears.

    -Reset all settings

    Go to settings > general > Reset and tap reset all settings.

    All your preferences and settings are reset. Information (such as your contacts and calendars) and media (such as songs and videos) are not affected.

    -Restore from backup. See:

    Restore your device from an iCloud or iTunes backup - Apple Support

    -Restore factory settings/new iOS device.

    If still problem, make an appointment at an Apple store Genius Bar because it appears that you have a hardware problem.

    Shop Apple Store - Genius Bar

  • Cannot open iphoto library after copy old HARD drive to the new HARD disk

    I had to buy a new MacBook and recover my files, the old MacBook HARD drive is connected to the new via a USB connection and support base.  I have successfully transferred all my files to the new disk.   However, I can't open the iPhoto library that I just moved through without going through the old drive still connected.  I get a message like "cannot open the migrated library.   However, the new iPhoto on the new laptop is accessible OK.

    Yu try to open the iPhoto Photos or iPhoto library?  "Cannot open the migrated library" alert indicates, that you opened the library on Photos for Mac and application Photos changed the name of the library ".migratedphotolibrary" file extension

    If you open the photo library, but want to use with iPhoto, change the extension of your iPhoto in ".photolibrary" library file name

  • my computer is connected to the internet but internet Explorer displays the message "internet explore cannot open the search page.

    my computer is connected to the internet but internet Explorer displays the message "internet explore cannot open the search page.

    Hello

    1. are you able to use with other applications that connect to the Internet?

    2. when exactly you get this error message?

    3. should we come up with any specific Web site?

    4. what version of Internet Explore do you use?

    5. don't you make changes to the computer until the problem occurred?

    6. the problem occurs in safe mode with networking?

    I suggest you follow the methods listed in order of appearance in the following Microsoft KB article:

    How to optimize Internet Explorer:

    http://support.Microsoft.com/kb/936213/no

    Important: Reset Internet Explorer to its default configuration. This step will disable also any add-ons, plug-ins or toolbars that are installed. Although this solution is fast, it also means that, if you want to use one of these modules in the future, they must be reinstalled.

    For your reference: Internet Explorer could not open the Search Page.  http://support.Microsoft.com/kb/219004

    Hope this information is useful.

  • Cannot open the pictures library after the data transfer to my new macbook

    I transferred all my data from my old MacBook Air to my new MacBook Pro via a restore from time machine.

    My first time to open my library on my News Photos Photos of MacBook says that he must perform the restore procedure (see screenshot in German language).

    After the confirmation of this message Photos responds with a message telling me that it can't open the library (see screenshot in German language). The message to distinguish basically says Photos tried to fix the library, but it was impossible to open it.

    Any ideas that I could do to fix this problem?

    Thanks, Gregor

    Try saving the photo library and hold down the command and option keys while pictures of launch and repair the library it - that sometimes seems to be more successful

    LN

  • Since I have been to connect on Facebook, but it cannot open the Facebook home page.

    Dear Sir or Madam:

    Given that I was connect on Facebook, but it cannot open the Facebook home page, home page is empty, and he showed a massage on th botum of screen says "done, but with errors on page", I need help to teach me how to fix it. I am using Windows XP SP3, IE 8.

    Thanks for your time and your attention. I Muta hear you as soon as possible.

    Best regards

    Henry

    Henry, have you tried clearing your browser cache and cookies? Also, try a different browser (Tip: Chrome).

  • Suddenly cannot open the Pdf online. Adobe crashes with this error message: Microsoft Visual C++ Runtime Library program C:\Program Files SQL Server 2008\Adobe\Reader10.0\Reader\AeroRd32.exe

    Suddenly cannot open the Pdf online. Adobe crashes with this error message: Microsoft Visual C++ Runtime Library program C:\Program Files SQL Server 2008\Adobe\Reader10.0\Reader\AcroRd32.exe

    Uninstall your Adobe Reader software and then install the latest version fromhttp://www.adobe.com/ and see what it does for you.

    writing in the new message: * e-mail address is removed from the privacy... *

    Suddenly cannot open the Pdf online. Adobe crashes with this error message: Microsoft Visual C++ Runtime Library program C:\Program Files SQL Server 2008\Adobe\Reader10.0\Reader\AcroRd32.exe

  • BlackBerry Smartphones connected to the Internet, but cannot open the web browser, facebook...

    My Blackberry Bold 9900 connects to internet with wi - fi and 3 G/edge connection (w / caps) and receive emails, but cannot open the web browser, facebook, twitter, bbm, app world... for the last two days (I think that I have improved some applications). Everyone knows the same?
    Can someone help me pls? Thank you!!

    OK, at least you get the signal necessary for many applications work.

    Please remove your battery while your phone is on, and then replace it.

    Let us know if that helps you.

  • Every time I try to open a pdf document that is located on a server of our company (so not on my laptop), the drive still shows error. Cannot open the document. Only in EAC I copy the document to my local PC, I can read without problem. Server is mapped

    Every time I try to open a pdf document that is located on a server or in our company (so not on my laptop), reador always shows error. Cannot open the document. Just in case I have copy the document into my local PV, I can read without problem. Server is mapped in my FileExplorer (Win7). So boring and big bug I think.

    Massage of error: "there was an error opening this document. The network path was not found.

    Hi tobiask53385798,

    Could you please try to disable Protected Mode under ' Edit > preferences > (protection) "and see if that helps.

    Let me know.

    Kind regards

    Ana Maria

  • El Capitan is a problem? You cannot open the "Adobe after effects CC 'application because it is damaged or incomplete

    I downloaded After Effects for 30 days, and when I want to send this message appears "you cannot open the"Adobe After Effects CC 'application because' it is damaged or incomplete. (in fact, I speak Spanish, I just translated it...)
    I have OS X El Capitan, maybe that's the problem? How can I solve this problem? Help! Thank you

    First, see if the update to the fixed bug Mac 10.11.1 will help you

    -an exchange of views of 10.11.1 https://forums.adobe.com/thread/1986008

    He has problems with Mac 10.11 El Capitan... which is perhaps one of them

    See answer #5 in https://forums.adobe.com/thread/1965850 for several solution links

    -the first link that the answer is a possible solution to install problems

    -There is also a link on the video display problems in Premiere Pro

    - and many other programs... MORE Microsoft Office also has problems

Maybe you are looking for

  • My signatures "Apple Mail" have all gone

    My Apple Mail signatures are gone!  I don't know how it happened.  When I look in mail preferences, all the signatures for all of my email accounts are now gone.  I have 8 setup of email accounts and had 10 registered signatures. Of course, along wit

  • Duration of transitions

    Hi all. I'm certain films at the publishing house, and I'm having a problem with transitions. When I add a transition after a clip, I can do the length I want (02:00), but when I add a clip after this transition, it shortens to 4 and won't let me cha

  • ASUS G71 crashes

    My son bought a laptop from ASUS Sunday for the school play. He needed a top PC high-end graphics and design of the College games.Out of the box with Vista loaded this operating system was total %c ^ p from the go. I've never had problems with XP has

  • After replacing the disk error message hard says product not correct ket

    We have replaced the hard drive from the laptop, when put on - it asks us to click on windows xp prof, what we do He invites us to enter the product key for the bottom of the laptop - what we do - and we were told that the product key is not valid He

  • read cbs.log details

    I was reading an article on how to read a file of newspaper cbs- http://support.Microsoft.com/kb/928228 The sfcdetails.txt found in the windows folder, but it was 0 bytes. I think I have some corrupted files that are stopped at a security update.