Oracle 10g client and Outlook Address Book

I have looked everywhere that I can think of, and nobody seems to have an answer to this problem. I support an extensive VB6 application, and one piece of functionality, which has been working without problems using Oracle 8i and 9i client, is now having problems when we use it on a client with 10g client installed.
The functionality in question is the ability to click a button that opens the user's Outlook Global Address Book, and return the e-mail address of the address selected. When the application is initially opened, the address book opens without problem. Once the user connects to Oracle (from within the application), from that point on, until the application is closed and restarted, clicking the button to open the address book produces the not-so-helpful error message "This application has failed to start because BJABLR32.dll was not found. Re-installing the application may fix this problem." The .dll is present, and the error only occurs AFTER an Oracle connection has been opened. I'm using an ADODB connection to connect to Oracle.
I have tried closing the connection, and setting the connection object to nothing, but this doesn't seem to make any difference. The Oracle connection appears to be working fine, the recordsets that are returned have the correct data in them, and updates perform correctly as well.
I have a sample application (about 175 lines of code) that I can use to consistantly reproduce the error.
If anyone can shine some light on this, it would be greatly appreciated. If this needs to be posted to a different forum, please let me know that as well. This forum seemed to be the closest match that I could find for this problem.

I am having the same problem, did you find an answer? other than resetting the Path, I shouldn't change all the client machines path

Similar Messages

  • Error to connect oracle 10g client and designer BO 4.0

    hello,
    I try to connect oracle 10g client and designer BO 4.0.
    I created an ODBC connection to function in the administration tools of data sources but I can not connect once in designer.
    I tried using the driver directly oracle designer 10 but I have the same error that is this:
    DBD: ORA-12154: TNS: connection identifier specified could not be resolved
    someone there had the same concerns?
    cordially

    Hi,
    so it looks like that your TNSNAMES.ORA file isn`t properly configured. Thats why you can connect with the IDT to your Oracle Database.
    Your DBA`s should sent you the correct TNSNAMES.ORA file or the entry for your DB prior. After the tnsping works, you will be able to use the IDT properly.
    Regards
    -Seb.

  • Oracle views as MS Outlook address book

    Hi again.
    During the developing of our Apex enterprise portal, I've compiled a complete set of views managing customers, employees and suppliers information, in an address book format, where you can click over an address, and automatically opening an outgoing e-mail.
    After this, all is a MS Outlook and Internet provider issue, and this don't worry me.
    But each user, separately manage MS Outlook address books, and obviously this is the opposite what a DBA want to see in his IT infrastructure.
    At this point you can suppose we haven't any kind of e-mail server but a direct connection between the PC client and the ISP. It's right, but I would be happy creating an (easy) relation between the database and the mail client.
    Somebody believe it could be easy to implement?
    Thanks a lot.

    Sounds like want you want is an LDAP directory on top of your existing tables / views. You can point Outlook (or any other mail client such as Thunderbird) at an LDAP directory to use as their address book. Oracle Virtual Directory is a perfect fit here, since you can map your existing tables to LDAP structures. Oracle Internet Directory is another option, but it has it's own table structure and might be more trouble than it's worth.
    Tyler

  • (again) oracle 10g client and oracle 10g express in one computer

    hi again, sorry if this question looks like a double post to you.
    Well this is quite embarassing yet still make some headache for me. I have my office PC installed with Oracle 10g client using admin component option, for connecting some application with database on remote server. Now, after I have developed some basic map using Oracle 10g Express on my home PC, I want to test it in my office network. But everytime I tried to install Oracle Express, it web interface will working normally while all other aplication can no longer connected with remote server from the client. If I remove Oracle Express, all client connection will working again as if nothing happened. I already created Microsoft LoopBack connection using IP 10.10.10.10, edit TNSNAMES.ORA, etc that could possibly helpful but nothing fixed. Strangely, if I install Oracle 10g Database version, all connection to remote server working again, and map application also working. But this kind of installation takes up all my PC resources (grrrr!). Any more suggestion?
    best regards
    net2surfin

    I'm sorry if the information not accurate, but the client connection made by application which try to connect is simply "not resolved" and show no error code/number at all. I'll try to connect from sqlplus though, maybe the error number will be known from this way.
    About 10.10.10.10 tcp loopback, I got this work around from here: http://download.oracle.com/docs/cd/B19306_01/install.102/b14316/reqs.htm#BABGCEAI
    in the Ora Database Preinstallation requirement, where it states like this:
    +16.In the Properties dialog box, click Use the following IP address and do the following:+
    a.IP Address: Enter a non-routable IP for the loopback adapter. Oracle recommends the following non-routable addresses:
    +■192.168.x.x (x is any value between 0 and 255)+
    +■10.10.10.10+ <---- this is the value suggested that I've been used in my home PC
    b.Subnet mask: Enter 255.255.255.0.
    c.Record the values you entered, which you will need later in this procedure.
    d.Leave all other fields empty.
    e.Click OK.
    I'll try to remove the loopback later and see the ORA environment, to see the result. In the mean time, all suggestions is highly appreciated.
    thank you n best regards
    net2surfin

  • Will Windows 7 support the Oracle 10G client and database

    Hi experts,
    I try to find oracle 10g client/database in 32 bit window 7.
    I got message that the system does not support oracle 10gR2.
    Any suggestion?
    Thanks
    Jim

    Thanks for your information.
    I got below information as
    ====
    Checking operating system requirements ...
    Expected result: One of 5.0,5.1,5.2,6.0
    Actual Result: 6.1
    Check complete. The overall result of this check is: Failed <<<<
    Problem: Oracle Database 10g is not certified on the current operating system.
    Recommendation: Make sure you are installing the software on the correct platform.
    =======================================================================
    Checking service pack requirements ...
    Check complete. The overall result of this check is: Not executed <<<<
    OUI-18001: The operating system 'Windows Vista Version 6.1' is not supported.
    Recommendation: Install the recommended Service Pack.
    =======================================================================
    Checking physical memory requirements ...
    Expected result: 256MB
    Actual Result: 2047MB
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking Network Configuration requirements ...
    Check complete. The overall result of this check is: Failed <<<<
    Problem: The install has detected that the primary IP address of the system is DHCP-assigned.
    Recommendation: Oracle supports installations on systems with DHCP-assigned IP addresses; However, before you can do this, you must configure the Microsoft LoopBack Adapter to be the primary network adapter on the system. See the Installation Guide for more details on installing the software on systems configured with DHCP.
    =======================================================================
    Checking the length of PATH environment variable...
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Validating ORACLE_BASE location (if set) ...
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking Oracle Home path for spaces...
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking Oracle Home path for location ...
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking for proper system clean-up....
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking for Oracle Home incompatibilities ....
    Actual Result: NEW_HOME
    Check complete. The overall result of this check is: Passed
    =======================================================================
    However, I could not find any 11.2 version is for window 7. ONLY vistal and 2008 in ONT.
    Where can we find oracle version for window 7?
    Thanks
    Jim

  • Oracle 10g Client and ODAC Side-By-Side

    Hi there, I was unable to find an answer to my query by using search, but apologies if this is a double-post.
    I'm having some issues with a ASP.NET application running on a Windows XP Pro machine. The machine has Oracle 10g client installed (oraClient10g_home1), and also ODAC (ODACHome2).
    The part of my web application that accesses our Oracle DB (10g), always gets a ORA-12154 error when it tries to connect, but SQL*Plus and tnsping for this TNS both work on the machine.
    When I use tnsping from the command line it looks like its using parameter files from the ODAC home, rather than the 10g client home.
    On my development machine (where ODAC is not installed), the application works fine.
    Does anyone have any idea if there are any issues having both of these clients installed?
    Or otherwise where my problem could be?
    Thanks very much in advance,
    James Simm

    Thanks for the link, however it hasn't solved my issues:
    The version of ODP.Net installed is 10.2.0.2.20, and the Oracle Client is 10.2, so according to that link it should be able to automatically switch between Oracle Homes.
    The application I'm troubleshooting doesn't actually use ODP.Net, it uses System.Data.OracleClient, but ODP.Net is required for another application.
    I'm extremely stuck, as I cannot understand why I'm getting ORA-12154 when every other Oracle application on the machine can access it.
    Please let me know if there are any other things I can try, or if you need any information from me?
    Thanks in advance,
    James Simm

  • Install Oracle 9i client on a computer with Oracle 10g Client

    Hello all!!
    I'm using a computer with Oracle 10g client, and I access two databases. One server has Oracle 10g server, and the other server has Oracle 9i server.
    I want to install 9i client, to have it also in my computer. I haver read that I just have to install it in a different ORACLE_HOME, but I have a doubt.
    If I install 9i client, would I be able to use the utilities, (exp, expddp, sqlldr) of both versions, or which version will be used in the command line for the utilities.
    Thanks a lot!!!

    To start with, Home Selector is a "9i thing" (and older), in 10g there's the OUI -> Installed Products... -> Environment tab instead.
    About the 9i dbca with other Oracle products installed. If you use launch.exe to start via dbca start menu shortcut, it uses ora92\assistants\dbca as working directory ("start from"). So when not looking for "numbered dlls" like oracore9.dll, a later/different version will be loaded if earlier in path, since loading goes through jre directories, ora92\assistants\dbca, then the dir's from path variable. From there it may start to link in libraries from different homes (on my laptop, "launch.exe dbca" uses files from 2 additional home paths!)
    But, if you instead use dbca.bat started from ora92\bin, it will look in the right directories first and there's no dll mess-up. (But only when using the correct cwd!)
    Plain and simple: stay very far away from multiple-general-home installs. It is possible to install allright, in different homes and all very nicely, but there will be pain when you decide to use the stuff (perhaps with sql*plus as the only exception, but I've run into bugs with that too).
    Message was edited by:
    orafad

  • Oracle 10g client connect to oracle 11g server

    Hi All,
    In my system, i have installed oracle 11g server(11.1.0.6.0). while i try to connect to this server by 10g client in my friends system,which is in the same network,it is showing
    ORA-12545: Connect failed because target host or object does not exist,
    then i tried with other system (using oracle10g client), its showing
    ORA-12154: TNS:could not resolve the connect identifier specified
    then i tried with one another system (using oracle 9i client) -- its is connected.
    what may be the problem. not connecting using oracle 10g client. and also different error.

    user12479258 wrote:
    Hi,
    The client version is 10.2.0.1
    this version may not be connect to oracle 11g?
    If so then which are the client version will connect to oracle11g server(11.1.0.6.0).A 10.2 client will connect to an 11.x database, but the sqlnet.ora and tnsnames.ora files must be configured correctly. The errors you reported are not uncommon and have been diagnosed repeatedly on this forum. Let's not confuse the issue by comparing / copying files from various machines, as that has already created a moving target of error messages.
    On the client that is exhibiting the problem ...
    Do you have a single ORACLE_HOME? A single TNSNAMES.ORA?
    On that machine, at a command prompt, do a tnsping on the service in question. Also try to connect with sqlplus. Copy the entire session -- commands and results -- and paste it all back here.
    On the server machine, log on as the owner of the oracle software, and at a command prompt enter the command "lsnrctl status". Again, Copy the entire session -- commands and results -- and paste it all back here.

  • Outlook 2013 Not Responding and Offline Address Book Issues with Office 365

    Around 3 months ago I setup a small business with Office 365 for email. They have 10 PCs, all running newly installed Windows 7 Professional 64-bit, eight with Office 2013 and two with Office 2010. All are connected to a local domain (Server Essentials
    2012) with a single internet connection through a new TP-LINK router. Each user logs into their own PC only.
    The network runs perfectly, internet connection is good but there seems to be RANDOM, INTERMITTENT issues with email not being SENT from Outlook every so often. Email will sit in the outbox for up to an hour sometimes before, eventually, being sent. Incoming
    email seems ok, although this is more difficult to tell. At others times, email will be sent instantly - the size of the message and any attachments makes no difference.
    The issue has happened at some point on every one of the PCs but no particular PC/user seems worse than any other. When email is stuck on one user's PC it can still be sent ok by other users at the same time - so the internet connection is not down. Users can
    can always login to the OWA service ok and iPhones etc. all sync ok even when email is stuck in the Outbox.
    To debug the issue I have worked on one particular user's PC and carried out the following changes - 
    Changes that made no difference
    I have checked the router. A SPI firewall is available on the router but this is switched off.
    I have changed the MTU on the router with no effect.
    There are no unsual add-ins to Outlook
    Outgoing email virus scanning is disabled
    Outlook is NOT integrated with Lync
    The OST file is around 1.7 GBytes is size.
    I have recreated the Outlook profile twice but this made no difference
    Switched OFF "Cached Exchange Mode" - this made things worse !
    The Outlook address book is set to \Offline Global Address List
    I have disabled with Windows firewall on the client PC - no change
    I have adjusted the KeepAliveTime for packets in the registry of the PC to 20 minutes
    Changes that reduced the frequency of "Not Responding"
    I have changed the Outlook automatic Send/Receive time from 30 to 10 minutes - this seemed to help 
    Possible Related Problem
    I have attempted to download the offline address book manually - this hangs at "Copying offline address book template file" in the Send/Receive dialog and there a NO OAB files in the data file location on the PC. 
    So the only measure that has so far "helped" has been the Outlook Send/Receive time change - now set to 10 minutes. Even so, Outlook will occasionally go "Not Responding" for 30 minutes or more (no windows active - only option
    is to close and reopen Outlook).
    There does seem to be a problem with the Offline Address book. I can download this ok for this user on my home PC (Outlook 2010) but this will not download manually on the work pc with Outlook 2013 (despite following all the debug steps above).
    On work PC I can see literally hundreds of "Schannel" errors in the Windows System event logs - 
    Error - Event 36888 Schannel
    The following fatal error was generated :10
    The internal error state is 10
    These errors occur every 2-4 minutes continually all the time Outlook is running. When Outlook is closed the "Schannel" errors stop !
    Can anyone suggest what else to try, please ?
    I have already investigated this issue on the Office 365 Community Forum, and the Outlook forum and they suggested that it was a client (i.e Outlook) issue and that I should post here for further information.
    Thanks for reading !

    An update to this problem.
    I brought one of the office PCs back to my home network and connected it up there. With no changes to the PC I was immediately able to download the Offline Address Book without errors.
    This suggests to me that there must be some problem with the internet connection or router setup in the office environment.
    The router is a TP-LINK W8970. The internet connection is PPPoA. I have seen some suggestion that an SPI firewall can cause issues. This router has an SPI firewall but this feature is disabled on the router.
    While investigating this issue I have frequently been connected remotely to an office PC - sometimes for up to an hour or more. During these periods I have not experienced any connection dropouts so the actual internet connection seems to be ok (i.e. it is
    not dropping out). 
    However, something seems to be preventing the Outlook client from connecting properly with the Office 365 Exchange server in the office environment - or something is dropping the connection to Outlook. Does anyone know of any router settings that might affect
    this ?
    I could try changing the office router but I do not have a spare available. Can anyone suggest a reasonably low cost, currenbtly available router that they know definitely works in the Office 365 environment so that I could buy this for test purposes ?

  • How can I migrate from Outlook 2011 to iCal and Apple Address Book in Mavericks now that synching is no longer possible?

    Now that I am on Mavericks and no longer able to sync between my iPhone/iPad and Outlook 2011 on my MacBook Pro, I'm finally taking the leap (which I should have done long ago) and abandoning Outlook 2011 all together (doesn't help that Outlook now prompts me to rebuild by Identity multiple times per day). I am hoping to export from Outlook to iCal, Address Book, etc, but I would love it if someone could check my steps.
    Delete iCal and Apple Address Book content -- Because I have old data in iCal and Address Book (that was synched before I upgraded to Mavericks), I planned to delete this data as follows:
    Manually deleting my multiple calendars in the iCal app
    Go to Go>Home>Library>Calendars and drag "Calendar Cache" to trash
    Go to Go>Home>Library>Caches and drag "com.apple.iCal" and "com.apple.AddressBook" to the trash
    Go to Go>Home>Library>Application Support and drag "Address Book" to the trash
    Export Outlook 2011 Calendars to iCalIs there a file format that I can use to export from Outlook 2011 and then import into iCal? I will use this file format to individually export each of my calendars from Outlook 2011 and import them into iCal.
    Export Outlook 2011 Contact List to Apple Address BookIs there a file format that I can use to export from Outlook 2011 and then import into Apple Address Book?
    Suggestions would be greatly appreciated.

    Hi acs4055,
    As per your query I found a relevant solution for resolving this,  actually I haven’t tried the steps you wrote here in your query.  But I found a solid key answer for exporting from Mac OS X Mavericks (10.9.1) Outlook 2011 to iCal for Apple mail. This is possible through Drag and Drop method via this you can undoubtedly migrate Outlook 2011 Calendar to ical format.
    Hope it will assist you and you will be able to attain a desired solution.

  • Problem Installing Oracle 8i and Oracle 10g client on same machine

    Hi Gurus,,
    I am new on DBAside....
    I have already installed Oracle 10g R2.m planning to install oracle 8i on same machine..
    What steps should i follow in order to avoid conflict..
    The OS is Windows XP SP3....
    I know that installing oracle 8i first and than installing oracle 10g is more convinient..But my requirements are different..
    so have to install oracle 10g first and then Oracle 8i on same machine..
    Thanks in anticipation.

    Hold on - it DOES matter - you shouldn't update new repository with old oracle installer, so be careful...
    Paul

  • New users are not updated in Outlook address book (Offline)

    Hi All,
    We are having an Exchange 2010 environment. from few weeks we are experiencing this issue. When we create new user or change the name of a existing user, it is not updated in outlook address book. Can anyone help me to sort this issue?.
    Regs,
    Sachitha.

    What is the Outlook client you are using? Is it 2003 or 2007+
    You are right, you don;t have to update the OAB manually, the kind of issue you are facing is very know (As far as I experienced). After you update the OAB manually, check the issue and it should be fine.
    After that create a Test User and check in Outlook if you see it populated.
    Cheers,
    Gulab Prasad
    Technology Consultant
    Blog:
    http://www.exchangeranger.com    Twitter:
      LinkedIn:
       Check out CodeTwo’s tools for Exchange admins
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • Problem to connect between Oracle 10g xe and VB2010 at Vista sp2

    Introduction
    Hi guys, good day... NEED RESCUE!! SOS!! Hmm.. i have trouble been 1 weeks trying connect between Oracle 10g xe and VB2010 on window vista sp2. Actaully im very new at Oracle 10g xe and VB2010 but i got a project is going to build up system database and i figure out Oracle 10g xe and VB2010 can use free so i just chows these appication to be my project. I been search around internet and there is several things i was found about the connection but i has try and tried still it wont work out.
    Things i found and learned
    Oracle
    1. I have download Oracle 10g XE and installed in my windows vista sp2.
    2. I notice the Oracle Developer Tools is needed for VB2010 (To add reference 'Oracle.DataAccess'). So i was downloaded ODT11beta and installed
    3. I also edit TNSNAMES to following below:
    OraDb =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = shin-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    4. My sqlnet like following below:
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    5.I have try tnsping OraDB and its works.
    6. I monitoring task manager and OracleServicesXE is running.
    7. ora_dba is added in Group.
    Problem in SQLPLUS
    When i try connect SQLPLUS in cmd i get ERROR: ORA-12560: TNS:protocol adapter error.
    i . In cmd i type sqlplus and enter then i been ask for username and password.
    ii. After i insert my username and password and enter then i get the error of ORA-12560.
    Visual Basic 2010
    1. First i created my project, drawing label and button for test connection.
    2. Then, i add reference Oracle.DataAccess into my project.
    3. I type following script into my vb form:
    Imports System.Data
    Imports Oracle.DataAccess.Client
    Imports Oracle.DataAccess.Types
    Public Class Logon
    Private Sub cmdLogon_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdLogon.Click
    Dim oradb As String = "Data Source = OraDb; User Id = system; Password = shin;"
    Dim conn As New OracleConnection(oradb)
    conn.Open()
    Dim cmd As New OracleCommand
    cmd.Connection = conn
    cmd.CommandText = "select SName from Staff where SName = shin"
    cmd.CommandType = CommandType.Text
    Dim dr As OracleDataReader = cmd.ExecuteReader()
    dr.Read()
    lblOra.Text = dr.Item("SName")
    conn.Dispose()
    End Sub
    End Class
    Problem in VB2010
    When i run my project and press the button i get error message ORA-12514: TNS:could not resolve the connect identifier specified at conn.Open()
    Extra Question*
    1. Im notice in my netbook xp home sp2, before i install ODT11beta my sqlplus look fine thought cmd but after i installed ODT11beta its same problem with my Vista sp2 now. Get error ORA-12560: TNS:protocol adapter error :( I tried uninstall ODT11beta again and restart its work fine again. Which i really dun understand. Izzit the version ODT11 is not suitable for 10g xe? And i dunno this problem is related with my connection between oracle 10g xe and vb2010 or not. So confuse@@
    2. I wish to know more about connect between Oracle and VB, is there still a things i miss?(I mean steps or configuration that should i done)
    3. Or i just lower my VB version could make more easy? If yes, what version VB should i use that could work out with oracle 10g xe?
    4. Sorry for too bad my english but i really wish somebody could help me. Please try to understand my written or you could ask me mean if dont understand. Im stuck!! Stuck feel not really that good.....
    Edited by: user9173084 on Jul 19, 2010 3:34 AM

    Huhu..
    Yo, henry
    I thought the OraDb is just a name for entry but im not sure it is a service. I was refer http://www.oracle.com/technology/pub/articles/cook-vs08.html at topic Connection Strings and Objects.
    Here is my lsnrctl service
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOW has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOW has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 state:ready
    DISPATCHER <machine: SHIN-PC, pid: 1932>
    (ADDRESS=(PROTOCOL=tcp)(HOST=shin-pc)(PORT=49158))
    Service "XE_XPT" has 1 instance(s).
    Instance "xe", status READY has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "xe" has 1 instance(s).
    Instance "xe", status READY has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    Izzit ok? I notice there is no listed OraDb. but tnsping OraDb seem fine.
    Actually there is somethings as a newbie i wondering long time alreadly ><
    1. The origin of tnsname.ora is no OraDb or ORCL but i just simple add it by open tnsname.ora with notepad. Im just not sure it is function or not.
    Also please check at my TNSNAME.ORA:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = shin-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    OraDb =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = shin-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    I got the feeling there is so close~~~!!!

  • Slow first connection using Oracle 10g xe and Visual Studio 2008

    {noformat}
    Good day,
    I'm slightly unaccustomed to using forums, so bear with me.
    My initial connection to the Oracle database takes approximately 30 seconds. It seems to be waiting for a connection before timing out and trying another connection which works, as all subsequent connections work immediately. I'm unsure how other people's responses in forums can help me due to the plethora of configurations, so here's mine. My comprehension of the oracle world is still growing, you'll have to explain the terms you're using for me, Hoping you can help.
    I'm using Visual Studio 2008, set to use 32 bit debug mode, on a Windows 7 Pro platform. Also using Oracle 10g Xe, and have installed the 32 bit version of ODAC 11.2 (11.2.0.1) to aid making a connection from Visual Studio to Oracle.
    I have a database set up and a user with system admin rights. This is all local for a programming project and will never see the light of day outside of my personal machine.
    I am using code to connect, not the GUI. I wish to code this project completely without the aid of the GUI. so my connection string within Visual Studio C# is (pw/id hidden)...
    string xe = "Data Source=xe;User Id=xxxxx;Password=xxxxx;";
    OracleConnection conn = new OracleConnection(xe);
    My c:\devsuitehome\network\admin\sqlnet.ora file is this:
    # sqlnet.ora Network Configuration File: C:\DevSuiteHome\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES, EZCONNECT, ONAMES, HOSTNAME)
    And my c:\devsuitehome\network\admin\TNSNames.ora file is this:
    tnsnames.ora Network Configuration File: C:\DevSuiteHome\network\admin\tnsnames.ora
    Generated by Oracle configuration tools.
    XE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = xe)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = <machine name)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PLSExtProc)
    Just for good measure, my tnsping xe shows:
    "Used paramter files:<br/>
    c:\devsuitehome\network\admin\sqlnet.ora<br/><br/>
    Used TNSNAMES adapter to resolve the alias<br/>
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)))(CONNECT_DATA = (SERVICE_NAME = xe)))
    OK (0 msec)"
    So, how can I make that initial connection faster so I don't spend 15 years testing my application due to slow start-ups? :)
    Thank you.
    Kevin.
    {noformat}
    Edited by: 832285 on Jan 29, 2011 10:08 AM
    Edited by: 832285 on Jan 29, 2011 10:10 AM

    I have formatted my hard drive since my first post. I was running window 64 bit with a higher version of the ODAC and that proved to crash my machine with faulty error messages about memory. I have reverted to a previous version of the ODAC tools and everything works very smooth now. Still the connection time is consistently 20 seconds or longer on the first attempt.
    Just a little more information.. I am currently taking a college course with 15 other students, as you can tell by the impersonal machine name, where programming using visual studio 2008, and Oracle 10g xe is expected. All of us are using a 64 bit environment and we all have difficulties cutting down the load time of making the first connection to Oracle. Some people are longer making the connection, but none are shorter.
    One other note. After the first connection is made, taking 20 or more seconds, and is closed, all subsequent openings of the connection are instantaneous, for all of us.
    If there is ANYTHING more I can get for you, please let me know. With my environment stable as it is, I will not need to format or change any information for the foreseeable future.
    Here is the information you requested
    1 The connection method I am using, I have chosen the manual connection for you, however the delay exists if the connection is made through the GUI as well.
    Historically, I am getting slow connection speeds through adding the connection through the GUI or by a manual connection. Here is how I am doing it manually. I have the connection being created in 20 seconds, which is the best I can get.
    Imports Oracle.DataAccess.Client
    Also included project reference: oracle.dataaccess / version 2.111.6.20
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Dim connString As String = "Data Source=XE;User Id=abc;Password=abc;"
            Dim con As OracleConnection = New OracleConnection()
            con.ConnectionString = connString
            Try
                con.Open()
                MessageBox.Show("Connected!")
                con.Close()
                con.Dispose()
            Catch ex As Exception
                MessageBox.Show(ex.Message)
            End Try
        End SubMy current TNS Ping results
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 16-FEB-2011 01:02:36
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
    OK (0 msec)2 Connection to SQL plus is instantaneous.
    I fought for weeks about the ODAC version 11.2.0.1 that you see in the previous post, and that would be a whole new thread. Suffice it to say I have a reliable environment to program in with this 10.2.0.1.0 version that I am running now, and the connection time has not changed, it is still minimum 20 seconds load time, sometimes up to 25.
    3 Ram usage in my typical environment
    I am running this laptop with 4 gigs of ram. This is a typical environment I would be running my application in.
    Physical memory
    total 4090
    cached 1753
    available 2345
    free 656
    system
    handles 27141
    threads 911
    processes 70
    commit megs 2860/8179
    kernel memory megs
    paged 201
    nonpaged 52
    4 I formatted my machine and reinstalled the Windows 7 professional operating system as of a few nights ago. The Oracle software on my machine is
    Oracle Database 10g express edition
    ODAC 11.1.0
    I amm not sure what filename you would need in addition to the product names that I have installed.
    5 The information from the SET command is
    ALLUSERSPROFILE=C:\ProgramData
    APPDATA=C:\Users\stepheke\AppData\Roaming
    CommonProgramFiles=C:\Program Files\Common Files
    CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
    CommonProgramW6432=C:\Program Files\Common Files
    COMPUTERNAME=STEKEV0908
    ComSpec=C:\Windows\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Users\stepheke
    LOCALAPPDATA=C:\Users\stepheke\AppData\Local
    LOGONSERVER=\\STEKEV0908
    NUMBER_OF_PROCESSORS=2
    oracle_sid=xe
    OS=Windows_NT
    Path=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Oracleapp\stepheke\product\11.1.0\client_1;C:\Oracleapp\stepheke\product\11.1.0\client_1\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Windows Live\Shared
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    PROCESSOR_ARCHITECTURE=AMD64
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 10, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=170a
    ProgramData=C:\ProgramData
    ProgramFiles=C:\Program Files
    ProgramFiles(x86)=C:\Program Files (x86)
    ProgramW6432=C:\Program Files
    PROMPT=$P$G
    PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
    PUBLIC=C:\Users\Public
    SystemDrive=C:
    SystemRoot=C:\Windows
    TEMP=C:\Users\stepheke\AppData\Local\Temp
    TMP=C:\Users\stepheke\AppData\Local\Temp
    USERDOMAIN=stekev0908
    USERNAME=stepheke
    USERPROFILE=C:\Users\stepheke
    VS90COMNTOOLS=c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\
    windir=C:\Windows

  • Oracle 11g client: TNS-illegal ADDRESS parameter

    Hi,
    I am working on a database application. The application uses OCI interface to connect and query to the Oracle Database
    The application used to work with Oracle 10g client, but using Oracle 11gR1 or 11gR2 client application is failing to connecto the Database
    The sqlnet.log on client machine is showing following error
    Fatal NI connect error 12533, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=vm-oedsdev1)(PORT=1521))(CONNECT_DATA
    =(SERVICE_NAME=orcl)(CID=(PROGRAM=_orasrv@bespin)(HOST=bespin)(USER=sgarg))))
    VERSION INFORMATION:
    TNS for Solaris: Version 11.1.0.6.0 - Production
    TCP/IP NT Protocol Adapter for Solaris: Version 11.1.0.6.0 - Production
    Time: 07-JUL-2011 05:48:50
    Tracing to file: /scratch/sgarg/wrk/bug/OE00175173/oe102b/64bit/trace/cli_8585
    .trc
    Tns error struct:
    ns main err code: 12533
    TNS-12533: TNS:illegal ADDRESS parameters
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    Following is my test environment
    Platform and OS - Solaris 2.9 SPARC V9
    Oracle client version - 11.1.0.6.0
    Oracle Server version - 11.1.0.6.0
    On Database server which is running on 64 bit Windows, listener log and listener trace have following error logs
    listenr.log:
    TNS-12502: TNS:listener received no CONNECT_DATA from client.
    Following is the header of the listener.log file
    TNSLSNR for 64-bit Windows: Version 11.1.0.6.0 - Production on 07-JUL-2011 09:04:56
    listener.trc:
    The corresponding listner trace has following trace entry
    [07-JUL-2011 11:51:51:668] ntt2err: Read unexpected EOF ERROR on 460
    The Oracle client (version 11.1.0.6.0) is running on Solrias 64 bit machine.
    Please help me understanding why are these errors appearing with Oracle 11g client.
    Regards,
    Sachin

    Hi,
    Thanks for your reply, but your assumption is incorrect that I did not read the error message in the documentation. I read it many times, but could not correlate it with any wrongdoing.
    solaris64:102b$ oerr TNS 12533
    12533, 00000, "TNS:illegal ADDRESS parameters"
    // *Cause: An illegal set of protocol adapter parameters was specified. In
    // some cases, this error is returned when a connection cannot be made to the
    // protocol transport.
    // *Action: Verify that the destination can be reached using the specified
    // protocol. Check the parameters within the ADDRESS section of
    // TNSNAMES.ORA. Legal ADDRESS parameter formats may be found in the
    // Oracle operating system specific documentation for your platform.
    // Protocols that resolve names at the transport layer (such as DECnet object
    // names) are vulnerable to this error if not properly configured or names are
    // misspelled.
    The above says that, illegal set of protocol adapters was specified...., I am using 'Local Naming (tnsnames.ora)' connection method and using TCP/IP protocol.
    Following are the tnsnames.ora content
    solaris64:102b$ cat tnsnames.ora
    oeora11g1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = vm-oedsdev1)(PORT = 1521))
    (CONNECT_DATA =
    (service_name = orcl)
    and the following are the sqlnet.ora content
    solaris64:102b$ cat sqlnet.ora
    # sqlnet.ora Network Configuration File: /gateways/solaris64/oracle/client/10.2/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES)
    DIAG_ADR_ENABLED=NO
    trace_level_client=SUPPORT
    trace_directory_client=/scratch/sgarg/wrk/bug/OE00175173/oe102b/64bit/trace
    My bad that the information was not enough to comment on anything on the problem.
    I think, the above info would be helpful
    Thanks,
    Sachin

Maybe you are looking for

  • Disabling Win Key

    I have got a Swing Application implementing KeyListener. While the application isActive() i need amongst others the "WinKey" disabled is that possible?

  • Connecting External Monitor to Old MacBook Pro

    I have a MacBook Pro 15 (2.2)  Running OSX 10.58. Computer has 2.33 Ghz Intel Core 2 Duo processor There is a DVI-out port (funky 8 pin holes/row with 3 rows and the + on the right with a pin hole in each quadrant. Firewire port, and maybe another fi

  • How do i set the size of 3d picture control

    dear sir,             I have attached my vi.I have one doubt  ie I have used translate object. vi in my vi to move my picture according to the value set by the y position.This y position indicates depth my object.this is sample object  insteat of i a

  • Drop down menus not working

    Hi, I am using DVDSP2.0.0 - it has been working fine for ages then suddenly about half of the drop down menus have stopped working - for example if I go to the "First Play" drop down menu in the "Disc" window and click on it - it goes blank. Any help

  • Tables issue

    Hello everyone... I am working in Pages (08) and need to include a table with 20 rows in it into a document I am designing. The table is fine and I have no problem manipulating the various parameters... However, my problem is that when I type text in