Error ORA-12154 trying to connect with instant client 11g / LDAP on Ubuntu

Hello,
I have successfully installed instant client 11.2.0.2 and sqlplus on my Ubuntu 11.04 workstation. I am able to successfully connect to DB's defined in tnsnames.ora, but when the resolution is (or should be) by LDAP, I get error
ORA-12154: TNS:could not resolve the connect identifier specified
Note: while it's fine for testing, it's not a viable option to setup all the DB's defined in the OID in tnsnames.ora - I need to use LDAP.
My setup is as follows:
Install folder: /opt/oracle/instantclient_11_2
TNS_ADMIN=/opt/oracle/instantclient_11_2/
sqlnet.ora
NAMES.DIRECTORY_PATH=(TNSNAMES,LDAP)
I am certain that tnsnames.ora and ldap.ora are valid, as I can connect successfully on another machine with the full client installed using the same files.
I tried to setup tracing in sqlnet.ora as follows
TRACE_LEVEL_CLIENT = SUPPORT
TRACE_DIRECTORY_CLIENT = /tmp
TRACE_FILE_CLIENT = sqlnet.trc
but not trace file gets generated in /tmp - am I doing something wrong ? (Note, I also tried to set DIAG_ADR_ENABLED=OFF as suggested by Laurenz Albe in Instant client don't work trace but that did not help)
I checked DocID=359206.1 but I don't think that applies as I'm on 11g.
Hope someone can help. Thanks in advance !

rgoold, you are a star ! I should have thought about line endings of course. Many thanks for your suggestion, that fixed the problem.
# file *.ora
ldap.ora: ASCII text, with CRLF line terminators
sqlnet.ora: ASCII text, with CRLF line terminators
# dos2unix *.ora
dos2unix: converting file ldap.ora to UNIX format ...
dos2unix: converting file sqlnet.ora to UNIX format ...
# ./sqlplus -L user@database
SQL*Plus: Release 11.2.0.2.0 Production on Mon Sep 5 15:26:16 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
WOHOOOOO !!! :-)

Similar Messages

  • I got the error ORA-12154 trying to connect my app but not with the SQLplus

    Hello! i need your help,
    I have a client (Win XP SP2) and i'm trying to connect to the database in the server (Windows 2003, Oracle 10G) using the SQL plus, this is ok, but i try to do it throught the application developed in Developer 6i and i cannot, i got the error: ORA-12154 TNS:could not resolve service name. I tried to solve it by setting the env. var TNS_ADMIN and i still have the same error.
    Could anyone help me?, please

    Hi,
    Check for following file TNSNAMES.ORA at location;
    C:\<Forms-directory>\NET80\ADMIN
    See, if your service name is added to your file. If not then add a new entry like;
    gsm.world =
    (DESCRIPTION =
    (ADDRESS = (COMMUNITY = tcp)(PROTOCOL = TCP)(Host = 10.0.1.22)(Port = 1521))
    (CONNECT_DATA = (SID = gsm))
    Where:
    gsm.world = your service through which you connect to databse.
    Host = ip address of machine where oracle server is running.
    sid = name of your database
    If you already have entry of service in TNSNAMES.ora file then paste you service here as is did , so that we can check because the error you are facing is only due to service problem. Please update........

  • Getting error 789 when trying to connect with a PC remotely via VPN

    When we set up the VPN we are getting a Error 789 when trying to connect with a PC. Any suggestions would be appreciated.

    The utilities, provided on the CD, are not required for the PC to access the Internet through the 802.11n AirPort Extreme Base Station (AEBSn). They are only necessary for administering the base station.
    If your PC is currently configured as a DHCP client, it shouldn't have any issues connecting by Ethernet. The AEBSn will assign the appropriate IP addresses required for connectivity to the Internet ... just like it does for wireless clients.

  • IChat error -8 when trying to connect with AIM

    I tried to connect with an AIM user (on an XP) using iChat 3 for either video or audio chat, and in both got disconnected with error code -8 .
    We actually never got connected - we could see the invitation, but the call ended as soon as we accepted it.
    Both of us disabled the firewall before connecting, and we both have a pretty decent broadband service.
    Below is the extra-long log file.
    Any idea what it means, what causes it, and how to fix it?
    THANKS
    (Btw, I found many threads with this specific question around the net - unfortunately, they all had one post only - the question itself. I hope to be more lucky in here. Most of the users mention that the error happens 'randomly', in conversations that otherwise work fine. I encounter it constantly)
    Date/Time: 2006-12-01 16:27:12.251 -0500
    OS Version: 10.4.8 (Build 8N1051)
    Report Version: 4
    iChat Connection Log:
    AVChat started with ID 0.
    0x16c561a0: State change from AVChatNoState to AVChatStateWaiting.
    idobadolin: State change from AVChatNoState to AVChatStateInvited.
    0x16c561a0: State change from AVChatStateWaiting to AVChatStateConnecting.
    idobadolin: State change from AVChatStateInvited to AVChatStateConnecting.
    idobadolin: State change from AVChatStateConnecting to AVChatStateEnded.
    Chat ended with error -8
    0x16c561a0: State change from AVChatStateConnecting to AVChatStateEnded.
    Chat ended with error -8
    Video Conference Error Report:
    Video Conference Support Report:
    Video Conference User Report:
    Binary Images Description for "iChat":
    0x1000 - 0x17cfff com.apple.iChat 3.1.5 (440) /Applications/iChat.app/Contents/MacOS/iChat
    0x5dd000 - 0x5ddfff com.ksuther.chaxloader ??? (1.4.6) /Users/iroll/Library/InputManagers/Chax/Chax.bundle/Contents/MacOS/Chax
    0x5e2000 - 0x638fff com.ksuther.chax ??? (1.4.6) /Users/iroll/Library/InputManagers/Chax/Chax.bundle/Contents/Resources/Chaxmain.bundle/Contents/MacOS/Chaxmain
    0x14ac6000 - 0x14ac8fff com.apple.AutomatorCMM 1.0.1 (87) /System/Library/Contextual Menu Items/AutomatorCMM.plugin/Contents/MacOS/AutomatorCMM
    0x14acc000 - 0x14ad0fff com.apple.FolderActionsMenu 1.3.1 /System/Library/Contextual Menu Items/FolderActionsMenu.plugin/Contents/MacOS/FolderActionsMenu
    0x14ad5000 - 0x14ad5fff com.apple.SpotLightCM 1.0 (121.36) /System/Library/Contextual Menu Items/SpotlightCM.plugin/Contents/MacOS/SpotlightCM
    0x15db6000 - 0x15db6fff com.apple.osax.digihub 1.0 /System/Library/ScriptingAdditions/Digital Hub Scripting.osax/Contents/MacOS/Digital Hub Scripting
    0x15e62000 - 0x15e6bfff com.apple.IOFWDVComponents 1.9.0 /System/Library/Components/IOFWDVComponents.component/Contents/MacOS/IOFWDVComp onents
    0x15e8e000 - 0x15e93fff com.apple.audio.AppleHDAHALPlugIn 1.2.7 (1.2.7a9) /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bun dle/Contents/MacOS/AppleHDAHALPlugIn
    0x15ef5000 - 0x15f31fff com.apple.QuickTimeFireWireDV.component 7.1.3 /System/Library/QuickTime/QuickTimeFireWireDV.component/Contents/MacOS/QuickTim eFireWireDV
    0x15f3d000 - 0x15f6dfff com.apple.QuickTimeIIDCDigitizer 7.1.3 /System/Library/QuickTime/QuickTimeIIDCDigitizer.component/Contents/MacOS/Quick TimeIIDCDigitizer
    0x15f77000 - 0x15fb3fff com.apple.QuickTimeUSBVDCDigitizer 1.6.8 /System/Library/QuickTime/QuickTimeUSBVDCDigitizer.component/Contents/MacOS/Qui ckTimeUSBVDCDigitizer
    0x15fd7000 - 0x16130fff com.apple.opengl 1.4.13 /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
    0x1615c000 - 0x1634afff com.apple.ATIRadeonX1000GLDriver 1.4.42 (4.4.2) /System/Library/Extensions/ATIRadeonX1000GLDriver.bundle/Contents/MacOS/ATIRade onX1000GLDriver
    0x16386000 - 0x163a2fff com.apple.opengl 1.4.13 /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLDriver.bundl e/GLDriver
    0x163a9000 - 0x163cdfff com.apple.opengl 1.4.13 /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLRendererFloa t.bundle/GLRendererFloat
    0x164b0000 - 0x164dcfff com.apple.osax.standardadditions 1.10.7 (???) /System/Library/ScriptingAdditions/StandardAdditions.osax/Contents/MacOS/Standa rdAdditions
    0x16655000 - 0x16658fff com.apple.audio.AudioIPCPlugIn 1.0.2 /System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugI n.bundle/Contents/MacOS/AudioIPCPlugIn
    0x16677000 - 0x166a1fff com.apple.audio.SoundManager.Components 3.9.2 /System/Library/Components/SoundManagerComponents.component/Contents/MacOS/Soun dManagerComponents
    0x16a92000 - 0x16a93fff com.symantec.NAVCMPlugIn 10.1 (003) /Library/Contextual Menu Items/NAVCMPlugIn.plugin/Contents/MacOS/NAVCMPlugIn
    0x172a9000 - 0x172acfff com.apple.iokit.IOQTComponents 1.4 /System/Library/Components/IOQTComponents.component/Contents/MacOS/IOQTComponen ts
    0x8fe00000 - 0x8fe49fff dyld /usr/lib/dyld
    0x90000000 - 0x9016ffff libSystem.B.dylib /usr/lib/libSystem.B.dylib
    0x901bf000 - 0x901c1fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
    0x901c3000 - 0x90200fff com.apple.CoreText 1.1.1 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
    0x90227000 - 0x902fdfff com.apple.ApplicationServices.ATS 2.0.5 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
    0x9031d000 - 0x90772fff com.apple.CoreGraphics 1.258.51 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
    0x90809000 - 0x908d1fff com.apple.CoreFoundation 6.4.6 (368.27) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x9090f000 - 0x9090ffff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x90911000 - 0x90a04fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
    0x90a54000 - 0x90ad3fff libobjc.A.dylib /usr/lib/libobjc.A.dylib
    0x90afc000 - 0x90b60fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
    0x90bcf000 - 0x90bd6fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
    0x90bdb000 - 0x90c4efff com.apple.framework.IOKit 1.4.6 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x90c63000 - 0x90c75fff libauto.dylib /usr/lib/libauto.dylib
    0x90c7b000 - 0x90f21fff com.apple.CoreServices.CarbonCore 682.15 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
    0x90f64000 - 0x90fccfff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
    0x91005000 - 0x91043fff com.apple.CFNetwork 129.19 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
    0x91056000 - 0x91066fff com.apple.WebServices 1.1.3 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServ icesCore.framework/Versions/A/WebServicesCore
    0x91071000 - 0x910f0fff com.apple.SearchKit 1.0.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
    0x9112a000 - 0x91148fff com.apple.Metadata 10.4.4 (121.36) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
    0x91154000 - 0x91162fff libz.1.dylib /usr/lib/libz.1.dylib
    0x91165000 - 0x91304fff com.apple.security 4.5.2 (29774) /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x91402000 - 0x9140afff com.apple.DiskArbitration 2.1.1 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x91411000 - 0x91437fff com.apple.SystemConfiguration 1.8.6 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
    0x91449000 - 0x91450fff libbsm.dylib /usr/lib/libbsm.dylib
    0x91454000 - 0x914cafff com.apple.audio.CoreAudio 3.0.4 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x9151b000 - 0x9151bfff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
    0x9151d000 - 0x91549fff com.apple.AE 314 (313) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ AE.framework/Versions/A/AE
    0x9155c000 - 0x91630fff com.apple.ColorSync 4.4.6 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
    0x9166b000 - 0x916defff com.apple.print.framework.PrintCore 4.6 (177.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
    0x9170c000 - 0x917b5fff com.apple.QD 3.10.21 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
    0x917db000 - 0x91826fff com.apple.HIServices 1.5.2 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
    0x91845000 - 0x9185bfff com.apple.LangAnalysis 1.6.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
    0x91867000 - 0x91882fff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ FindByContent.framework/Versions/A/FindByContent
    0x9188d000 - 0x918cafff com.apple.LaunchServices 181 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/LaunchServices
    0x918de000 - 0x918eafff com.apple.speech.synthesis.framework 3.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x918f1000 - 0x9192cfff com.apple.ImageIO.framework 1.5.0 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
    0x9193e000 - 0x919f0fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
    0x91a36000 - 0x91a4cfff libcups.2.dylib /usr/lib/libcups.2.dylib
    0x91a51000 - 0x91a6ffff com.apple.ImageIO.framework 1.5.0 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x91a74000 - 0x91ad2fff com.apple.ImageIO.framework 1.5.0 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJP2.dylib
    0x91ae4000 - 0x91ae8fff com.apple.ImageIO.framework 1.5.0 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x91aea000 - 0x91b67fff com.apple.ImageIO.framework 1.5.0 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRaw.dylib
    0x91b6b000 - 0x91ba8fff com.apple.ImageIO.framework 1.5.0 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x91bae000 - 0x91bc8fff com.apple.ImageIO.framework 1.5.0 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x91bcd000 - 0x91bcffff com.apple.ImageIO.framework 1.5.0 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x91bd1000 - 0x91bd1fff com.apple.Accelerate 1.3.1 (Accelerate 1.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x91bd3000 - 0x91c61fff com.apple.vImage 2.5 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
    0x91c68000 - 0x91c68fff com.apple.Accelerate.vecLib 3.3.1 (vecLib 3.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
    0x91c6a000 - 0x91cc3fff com.apple.Accelerate.vecLib 3.3.1 (vecLib 3.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
    0x91ccc000 - 0x91cf0fff com.apple.Accelerate.vecLib 3.3.1 (vecLib 3.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
    0x91cf8000 - 0x92101fff com.apple.Accelerate.vecLib 3.3.1 (vecLib 3.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
    0x9213b000 - 0x924effff com.apple.Accelerate.vecLib 3.3.1 (vecLib 3.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
    0x9251c000 - 0x9259afff com.apple.DesktopServices 1.3.5 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
    0x925db000 - 0x9280bfff com.apple.Foundation 6.4.7 (567.28) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x92917000 - 0x929f5fff libxml2.2.dylib /usr/lib/libxml2.2.dylib
    0x92a12000 - 0x92afffff libiconv.2.dylib /usr/lib/libiconv.2.dylib
    0x92b01000 - 0x92b0bfff com.apple.framework.AppleTalk 1.2.0 (???) /System/Library/Frameworks/AppleTalk.framework/Versions/A/AppleTalk
    0x92b0f000 - 0x92b26fff com.apple.opengl 1.4.13 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x92b31000 - 0x92b89fff com.apple.opengl 1.4.13 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x92b9d000 - 0x92b9dfff com.apple.Carbon 10.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x92b9f000 - 0x92baffff com.apple.ImageCapture 3.0.4 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
    0x92bbe000 - 0x92bc6fff com.apple.speech.recognition.framework 3.6 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
    0x92bcc000 - 0x92bd2fff com.apple.securityhi 2.0.1 (24742) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
    0x92bd8000 - 0x92c69fff com.apple.ink.framework 101.2.1 (71) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
    0x92c7d000 - 0x92c81fff com.apple.help 1.0.3 (32.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
    0x92c84000 - 0x92ca2fff com.apple.openscripting 1.2.5 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
    0x92cb4000 - 0x92cbafff com.apple.print.framework.Print 5.2 (192.4) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
    0x92cc0000 - 0x92d23fff com.apple.htmlrendering 66.1 (1.1.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
    0x92d4a000 - 0x92d8bfff com.apple.NavigationServices 3.4.4 (3.4.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
    0x92db2000 - 0x92dc0fff com.apple.audio.SoundManager 3.9.1 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
    0x92dc7000 - 0x92dccfff com.apple.CommonPanels 1.2.3 (73) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
    0x92dd1000 - 0x930c5fff com.apple.HIToolbox 1.4.8 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
    0x931cb000 - 0x931d6fff com.apple.opengl 1.4.13 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x931db000 - 0x931f6fff com.apple.DirectoryService.Framework 3.2 /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
    0x93246000 - 0x93246fff com.apple.Cocoa 6.4 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x93248000 - 0x938fefff com.apple.AppKit 6.4.8 (824.42) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x93c7f000 - 0x93cf8fff com.apple.CoreData 90 /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x93d31000 - 0x93de9fff com.apple.audio.toolbox.AudioToolbox 1.4.3 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x93e2b000 - 0x93e2bfff com.apple.audio.units.AudioUnit 1.4.2 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x93e2d000 - 0x93ffffff com.apple.QuartzCore 1.4.10 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x94050000 - 0x94091fff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib
    0x94099000 - 0x940d3fff com.apple.opengl 1.4.13 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
    0x9410f000 - 0x94157fff com.apple.bom 8.5 (86.3) /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
    0x94161000 - 0x9419ffff com.apple.vmutils 4.0.2 (93.1) /System/Library/PrivateFrameworks/vmutils.framework/Versions/A/vmutils
    0x941e3000 - 0x941f4fff com.apple.securityfoundation 2.2.1 (28150) /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
    0x94202000 - 0x94240fff com.apple.securityinterface 2.2.1 (27695) /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
    0x9425c000 - 0x9426bfff com.apple.CoreGraphics 1.258.51 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
    0x94272000 - 0x9427dfff com.apple.CoreGraphics 1.258.51 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
    0x942c9000 - 0x942e3fff com.apple.CoreGraphics 1.258.51 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
    0x942e9000 - 0x945a3fff com.apple.QuickTime 7.1.3 /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
    0x94705000 - 0x9484bfff com.apple.AddressBook.framework 4.0.4 (485.1) /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
    0x948d7000 - 0x948e6fff com.apple.DSObjCWrappers.Framework 1.1 /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWra ppers
    0x948ed000 - 0x94916fff com.apple.LDAPFramework 1.4.2 (69.1.1) /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
    0x9491c000 - 0x9492bfff libsasl2.2.dylib /usr/lib/libsasl2.2.dylib
    0x9492f000 - 0x94954fff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib
    0x94960000 - 0x9497dfff libresolv.9.dylib /usr/lib/libresolv.9.dylib
    0x94984000 - 0x949e9fff com.apple.Bluetooth 1.7.11 (1.7.11f14) /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth
    0x94b28000 - 0x94c00fff edu.mit.Kerberos 5.5.23 /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x94ca8000 - 0x94d3afff com.apple.WebKit 418.9.1 /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
    0x94d94000 - 0x94e16fff com.apple.JavaScriptCore 418.3 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/JavaScriptCor e.framework/Versions/A/JavaScriptCore
    0x94e4f000 - 0x9512efff com.apple.WebCore 418.21 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
    0x952ad000 - 0x952d0fff libxslt.1.dylib /usr/lib/libxslt.1.dylib
    0x95544000 - 0x95548fff com.apple.URLMount 2.1.3 /System/Library/PrivateFrameworks/URLMount.framework/Versions/A/URLMount
    0x96455000 - 0x96455fff com.apple.vecLib 3.3.1 (vecLib 3.3.1) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
    0x9693c000 - 0x9695efff com.apple.speech.LatentSemanticMappingFramework 2.5 /System/Library/PrivateFrameworks/LatentSemanticMapping.framework/Versions/A/La tentSemanticMapping
    0x969cf000 - 0x96aa5fff com.apple.opengl 1.4.13 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
    0x96ac0000 - 0x96ac1fff com.apple.opengl 1.4.13 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLSystem.dy lib
    0x96ac3000 - 0x96ac8fff com.apple.agl 2.5.9 (AGL-2.5.9) /System/Library/Frameworks/AGL.framework/Versions/A/AGL
    0x96c1e000 - 0x96c1efff com.apple.MonitorPanelFramework 1.1.1 /System/Library/PrivateFrameworks/MonitorPanel.framework/Versions/A/MonitorPane l
    0x96dd7000 - 0x96debfff com.apple.AppleShareClient 1.5.1 /System/Library/Frameworks/AppleShareClient.framework/Versions/A/AppleShareClie nt
    0x96df4000 - 0x96e33fff com.apple.AppleShareClientCore 1.5.1 /System/Library/Frameworks/AppleShareClientCore.framework/Versions/A/AppleShare ClientCore
    0x97380000 - 0x9746afff com.apple.viceroy.framework 277.0 /System/Library/PrivateFrameworks/VideoConference.framework/Versions/A/VideoCon ference
    0x97b9b000 - 0x97b9dfff com.apple.DisplayServicesFW 1.8.2 /System/Library/PrivateFrameworks/DisplayServices.framework/Versions/A/DisplayS ervices
    0x97dc8000 - 0x988a8fff com.apple.QuickTimeComponents.component 7.1.3 /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTim eComponents
    0x99209000 - 0x99214fff com.apple.IMFramework 3.1.1 (427) /System/Library/Frameworks/InstantMessage.framework/Versions/A/InstantMessage
    0x9921e000 - 0x9938afff com.apple.MessageFramework 2.1.1 (752.3) /System/Library/Frameworks/Message.framework/Versions/B/Message
    0xc0000000 - 0xc0008fff com.growl.growlframework 0.7.3 /Users/iroll/Library/InputManagers/Chax/Chax.bundle/Contents/Resources/Chax_mai n.bundle/Contents/Resources/Frameworks/Growl.framework/Growl

    badolina
    Error -8 indicates that some of the necessary ports are not open.
    You can read how to set up iChat by searching this board or reading these tutorials:
    http://www.mvldesign.com/videoconferencetutorial.html
    http://www.ralphjohnsuk.dsl.pipex.com/
    But you might fare better with Skype instead. Download from www.Skype.com, one version for the Mac and one for the Windows machine.
    Let us know how you get on.
    Dave

  • ORA-12154 trying to connect using TOAD

    Hi all,
    I have Oracle 10G up and running on W2K, and working fine with sqlplus.
    I have setup the registration KEYS (HKEY_LOCAL_MACHINE/...) so TOAD can look at the proper Database, but when I try to connect, I get the famous (and frustrating!) "ORA-12154: TNS:listener does not currently know of service requested in connect descriptor".
    the TNSPING works fine as well as requested in the TOAD help file.
    I don't really know what I have to do at this stage. Any idea is welcome.
    Thanks,
    Philippe Le Mounier

    Try this:
    set ORACLE_HOME and ORACLE_SID environment variables to the correct values by right clicking on "My Computer" on desktop and clicking:
    Properties -> Environment Variables -> New
    And then try connecting to TOAD.
    I would suggest restoring the registry entries to their original values (since the connecting should work without changing any registry entries).

  • Error while trying to retrieve text for error ORA-12154

    Hello,
    I try to install php 5.1.2 on a WIN2003 server and IIS6 with the OCi8 extension without success from several days.
    On my server I've a 920 oracle client and the 10.1 instant client, I copy the tnsnames.ora in the instant client's directory.
    I've declare many environnement variables :
    - NLS_LANG : AMERICAN_AMERICA.WE8MSWIN1252
    - TNS_ADMIN : E:\...\oracle\instantclient_10_1
    - ORA_NLS33 : E:\..\oracle\920\ocommon\nls\ADMIN\DATA
    With the php command line the oci_connect function correctly works : the php command line use the instant client's tnsnames.ora. I can query with success my database.
    When I try to load a web php script (the same as the php command line script) I have the following error " Error while trying to retrieve text for error ORA-12154" ( oci_connect( $user , $pass, $sid ) . The $sid variable have the value of an alias declared in the tnsnames.ora.
    If I replace the sid's alias by something like this " (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xx.xx.xx.xx)(PORT=1521)))(CONNECT_DATA=(SID=xx)" in the oci_connect function, I have another error : Error while trying to retrieve text for error ORA-12705.
    A web page with the phpinfo function displays the following messages about oci8 extension : It seems to be correct.
    oci8
    OCI8 Support enabled
    Revision $Revision: 1.269.2.8 $
    Active Persistent Connections 0
    Active Connections 0
    Temporary Lob support enabled
    Collections support enabled
    Do you have any idea ? Thanks a lot

    The web server is not seeing the Oracle environment correctly. You need to set PATH to the instant client libraries. ORA_NLS33 is not used for Oracle 10g clients. Perhaps you have some library conflict with two versions of Oracle on the machine?
    These may help:
    http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#envvars
    http://blogs.oracle.com/opal/2006/05/01

  • ORA-12154 when connects. Instant client installed.

    Hi. I am installed instant client 10.2 and cannot connect to database : give error ORA-12154: TNS:could not resolve the connect identifier specified. I am using Linux. I am set TNS_ADMIN and put into this directory file tnsnames.ora with all necessary instances, but have not no one result.

    Add the following line to sqlnet.ora in the directory to which TNS_ADMIN points:
    TRACLE_LEVEL_CLIENT = SUPPORT
    Then try again and examine the *.trc file created. This should tell you what's wrong.
    Yours,
    Laurenz Albe

  • ERROR ORA-12154 connecting to Oracle 9i

    Hi,
    I've downloaded the Oracle Developer Tools for Visual Studio .net and when connecting to an Oracle 9i database I get error: ORA-12154... I'm new to Oracle and I know that is related to the “tnsnames.ora” file.The location of my file is on the Oracle\ora92\network\admin directory. Do I need a copy of this file to any other directory? I can still connect to the database using SQL+.
    Any help will be appreciated.
    Many thanks
    Justo

    Hi Justo,
    If ODT was installed correctly, it should have gone into a new Oracle10g Oracle home. This would mean that you need to copy your tnsnames.ora from your Oracle9 Oracle home into your Oracle10g Oracle home so that you can continue to use the same aliases from ODT.
    Christian Shay
    Oracle

  • Database connectivity problem with instant client.

    Guys,
    I've installed the Oracle instant client basic and ODBC files in my system.
    But when I create a system DSN and test the connectivity my database connectivity,it fails with
    ORA-12637:Packet receive failed error
    My TNSNAMES reads below:
    ONDSP101.DIGITALINDIASW.NET =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = namesrv1.xy.zz.com)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ONDSP101)
    and my SQLNET as below:
    AUTOMATIC_IPC = OFF
    TRACE_LEVEL_CLIENT = ON
    SQLNET.INBOUND_CONNECT_TIMEOUT=20
    NAMES.DEFAULT_DOMAIN = na.pg.com
    NAME.DEFAULT_ZONE = na.pg.com
    SQLNET.CRYPTO_SEED = "kdg:9yv2$-plo*u6b2x!"
    NAMES.DIRECTORY_PATH = (ONAMES,TNSNAMES)
    NAMES.PREFERRED_SERVERS =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = TCP.xy.zz.com)
    (PROTOCOL = TCP)
    (Host = namesrv1.xy.zz.com)
    (Port = 1522)
    (ADDRESS =
    (COMMUNITY = TCP.xy.zz.com)
    (PROTOCOL = TCP)
    (Host = namesrv2.xy.zz.com)
    (Port = 1522)
    I've placed my TNSNAMES and SQLNET file in the same folder having the instant client files and I've set my TNSADMIN,LD_LIBRARY_PATH and PATH environmental variable to the folder location.
    Note:I'm able to connect to the database using SQLplus.
    Thanks,
    Bhagat

    12637, 00000, "Packet receive failed"
    // *Cause:  A process was unable to receive a packet from another process.
    // Possible causes are:
    // 1. The other process was terminated.
    // 2. The machine on which the other process is running went down.
    // 3. Some other communications error occurred.
    // *Action: If the cause is not obvious, contact Oracle Customer Support.
    These days I very seldom use ODBC for Oracle - most recently it was simply to get Enterprise Architect to "talk" to Oracle. I never used it for my client applications (unlike in the fast distant past), so what I know about ODBC is seriously outdated.
    Even so, a few comments. :-)
    Have you tried creating a user DSN, in case a system DSN somehow works different environment wise?
    The above error description sounds like the original TCP connection was successful (i.e. it is not a host unknown or not reachable error). Subsequent packets seem to fails.
    To confirm, run the listener on namesrv1.xy.zz.com with logging enabled and have a look at the listener.log - does it show a connection being accepted/handled from your PC when you use the ODBC DSN?
    Have you tried the Oracle ODBC drivers? When getting EA connected I had problems (also with Instant Client) and Microsoft ODBC driver for Oracle. Downloaded and installed the Oracle ODBC driver and it worked just fine first time around.
    PS. You should raise this topic on the Instant Client Forum instead.

  • Essbase Error(1021001) Failed to Establish Connection With SQL Database...?

    Hi there!
    I am very new in Essbase and I am receiving the error message quoted below while trying to load data in a Cube. Weird thing is that we have checked all connections already and they are working correctly, however this process is still failing.
    If someone can give us an idea to troubleshoot it, that would be really appreciated.
    Thanks very much in advance for any help and regards!
    MAXL> deploy data from model 'Production_GL_Cube_SchemaModel' in cube schema '\Production_GL\Cube_Schemas\Production_GL_Cube_Schema' login AdminUserAccount identified by MyPassword on host 'ServerName.MyCompany.com' to application 'ORA_HFM' database 'GL' overwrite values using connection 'ServerName' keep all errors on error ignore dataload write 'E:\Logs\DataLoad_Error_2013.04.19.16.23.00.txt';
    BPM Connect Status: Success
    Failed to deploy Essbase cube. Caused by: Failed to load data into database: GL. Caused by: Cannot get async process
    state. Essbase Error(1021001): Failed to Establish Connection With SQL Database Server. See log for more information
    BPM maxl deployment ...failure.

    Hi Celvin,
    Thanks for your reply and my apologies for not coming back before on this issue.
    For the benefit of other readers, after hours struggling with the issue, we focused our attention in the following portion of the ORA_HFM.log file:
    [Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/54996/Info(1013157)
    Received Command [Import] from user [Service_Acct@Native Directory] using [GL.rul] with data file [SQL]
    [Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Info(1021041)
    Connection String is [DRIVER={DataDirect 6.1 Oracle Wire Protocol};Host=MyEssbaseServer01.MyCompany.com;Port=1521;SID=PRODUCTION;UID=...;PWD=...;ArraySize=1000000;]
    [Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Info(1021006)
    SELECT Statement [SELECT cp_127."ACCT" AS "Accounts_CHILD",
             cp_127."PERIOD_MEMBER" AS "Period_CHILD",
             cp_127."PERIOD_YEAR" AS "Years_CHILD",
             'INPUT'  AS "View_CHILD",
             cp_127."ENTITY"  AS "Entity_CHILD",
             cp_127."PRODUCT_LINE" AS "Custom1_Product_CHILD",
             cp_127."Function" AS "Custom4_Function_CHILD",
             cp_127."B_U" AS "Business_Unit_ORACLEBUSINESS",
             cp_127."ORACLEFUNCTION" AS "Oracle_Function_CHILD",
             cp_127."LEGALENTITY" AS "Oracle_Entity_CHILD",
             'P' || cp_127."PRODUCTLINE" AS "Oracle_Product_CHILD",
             'A'[Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Info(1021043)
    Connection has been established
    [Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Info(1021044)
    Starting to execute query
    [Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Info(1021013)
    ODBC Layer Error: [S1000] ==> [[DataDirect][ODBC Oracle Wire Protocol driver][Oracle]ORA-04063: view "REP_ESSBASE.VW_GL_BALANCES" has errors]
    [Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Info(1021014)
    ODBC Layer Error: Native Error code [4063]
    [Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Error(1021001)
    Failed to Establish Connection With SQL Database Server. See log for more information
    [Sat Apr 20 11:48:34 2013]Local/ORA_HFM/GL/Service_Acct@Native Directory/8964/Error(1003050)
    Data Load Transaction Aborted With Error [1021001]
    Then we concentrated in the following error message: *ODBC Layer Error: [S1000] ==> [[DataDirect][ODBC Oracle Wire Protocol driver][Oracle]ORA-04063: view "REP_ESSBASE.VW_GL_BALANCES" has errors]*
    So, we checked the database and noticed the schema and their views were damaged and -due to this- they lost all their properties (like data types, for example). So, we had to recompile all of them in order to avoid any loss of data. This was done in TOAD, as per the following info: https://support.quest.com/SolutionDetail.aspx?id=SOL66821
    Finally, once all the views on this schema were rebuilt and fixed, we were able to deploy the Cube again.
    Hope this help in the future. Cheers!!

  • TNS error ORA-12154

    Hi all,
    One of our client is trying to connect to our database from his local pc. We are able to connect to the database fine from here.
    But when he connects from his pc via vpn it gives him this error:
    Ora-12154: TNS:could not resolve the connect identifier specified.
    I checked the path and the Oracle client is in the path on his pc. Tnsping works. Not sure what else I should check. I do not have access to his pc, I just have to troubleshoot on the phont.
    Below is his sqlnet.ora and tnsnames.ora.
    # SQLNET.ORA Network Configuration File: C:\oracle\product\10.2.0\client_1\network\admin\sqlnet.ora
    #NAMES.DIRECTORY_PATH= (TNSNAMES)
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    alp =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = alm)(PORT = 1525))
    (CONNECT_DATA =
    (SID = alp)
    (SERVER = DEDICATED)
    Please give me your suggestions.
    Thanks.
    Edited by: user553564 on Oct 3, 2008 7:55 AM

    When you do the tnsping, does it say using tnsnames or hostname? I've noticed it can be a bit confusing when you have a host running oracle that is not in your tnsnames.ora, it will successfully tnsping, because the host has a listener running, but you can't attach because the connection string is different. For example, I can tnsping a host named POLARIS, which is not in my tnsnames.ora, but it is in DNS and is running XE. D'Oh!
    You might consider trying a service_name that matches your lsnrctl status output, rather than SID in the tnsnames.ora. It's also possible the user has multiple tnsnames.ora (especially if several things have been installed), and is picking up the wrong one. Try changing things the connect name to something just plain weird and see if it makes a difference. See if there is TWO_TASK in your environment, too.
    Other reasons I'm going bald: case sensitivity of the SID; having two nearly identical entries in the tnsnames.ora and not scrolling down while editing; sqlnet.ora strangenesses; and I've "seen" (in earlier versions, anyways), invisible characters causing problems.

  • Error ORA-12154

    Hi friends.
    When I try to connect with a database, shows this error:
    SQL> conn system/[email protected]
    ERROR:
    ORA-12154 TNS:could not resolve service name
    Thanks in advance for your help.

    Use the Net8 assistant to set up your sqlnet.ora and tnsnames.ora

  • Discoverer Plus Error: ORA-12154:TNS:could not resolve the

    Hi,
    I’m running the Discoverer report in Discoverer Plus and getting the below error, but when the same report ran in Desktop completes successfully and the SQL from the report is running without error in SQL nav.
    Database Error - ORA-12154:TNS:could not resolve the connect identifier specified.
    Thanks in Advance.
    Sunil

    Hi Sunil,
    Did you test the direct method I posted above? That will bypass the tnsnames.ora file. If it connects fine that way, then you likely have a configuration issue with your sqlnet.ora and/or tnsnames.ora
    You can test with:
    $ORACLE_HOME/bin/tnsping <tnsalias>
    If it is successful, then check if you have the TNS_ADMIN environment variable set (echo $TNS_ADMIN) -- assuming Linix/Unix, if Windows, check system environment variables
    You may TNS_ADMIN set and pointing to a tnsnames.ora that is not in the default location.
    If it fails and your tns entry is correct in the tnsnames.ora file, then you may need to look at the sqlnet.ora
    For example,
    If you have NAMES.DEFAULT_DOMAIN set.. then you would need enter: <tnsalias>.<domain> (i.e. scott.world)
    or you may need to check if TNSNAMES is first in NAMES.DIRECTORY_PATH=
    You can remove or rename the sqlnet.ora to make sure that is not an issue.
    Hope that helps. Good Luck.
    ~Steve.

  • OFSA RM PROCESS실행시 OCI DRIVER ERROR - ORA-12154 에러발생

    제품 : OFSA_RM
    작성날짜 : 2003-05-21
    OFSA RM PROCESS실행시 OCI DRIVER ERROR - ORA-12154 에러발생
    ====================================================
    PURPOSE
    Problem Description
    RM process 실행시 아래와 같은 에러 발생.
    Oracle RM
    Version 4.5.36
    Copyright (c) Oracle Corporation, 1995-2000
    All rights reserved worldwide.
    MB(Oracle Financial Services Application error) (203105) Oracle drv_oci error:
    OCI Function: [0] - olon(), orlon()
    Oracle Error: [12154] - ORA-12154: TNS:could not resolve service name
    Driver Function: drv_oci::Connect()
    MB(AttachDB()) Error attaching to database: OFSA45
    Workaround
    Solution Description
    기존에 사용하던 "OFSA45" 라는 listener가 다른 이름으로 바뀌어 있었다.
    OFSA45 Listener를 다시 만들고 test하니, 잘 됨.
    Reference Documents
    -------------------

    First, don't use an ODBC connection, use OCI. Secondly you need to search what's the active home. Also change all your TNSNAMES.ORA files that you can find in your system to make they have the DB name you are trying to resolve. Then try to "tnsping" the DB from a CMD prompt.

  • An error occurred while trying to connect to a Web service, when InfoPath web enabled form loads.

    Hi Everyone,
    I am getting an error message: An error occurred while trying to connect to a web service, when my InfoPath form tries to load.  The last few days, it only spits this error message in the morning and around 12pm-1pm it resolves itself and the form loads
    fine the rest of the day, oddly enough. 
    A few things about my form:
    1). It is web enabled
    2). The form submits to a form library on the SP server
    3). I use the UserProfileService data connection in the form to auto-populate a few fields
    4). I use a udcx file with correct language stored in the root of the site collection in the data connection library
    5). The form has been working fine until a few days ago
    I noticed while in Central Administration, that the User Profile Service Synchronization is Stopped.  Not sure if this is causing some or all of the problem. If I need to start it I will need to contact my farm administrator to do this, since I do not
    have the service account information.
    Also, I looked thru the log files on the SharePoint server and found the following by searching for the Correlation ID shown when the error comes up, I won't put in everything just the important messages.
    Schema file was already loaded: BuiltInActiveXControls.xsd
    FormServer Partial Trust - Proxy operation invoked in the SHIM process.
    FormServer Partial Trust - Invoking proxy operation for Web service adapter failed with exception Operation is not valid due to the current state of the object. for Url=https://<SP URL>/_vti_bin/UserProfileService.asmx
    Data adapter failed during OnLoad: The custom code in the form cannot be run. This functionality may be deactivated on the server. For more information, contact the server farm administrator.
    The following query failed: GetUserProfileByName (User: , Form Name: Expense Report, IP: , Connection Target: <SP URL>/Data Connections/GetUserProfileByName.udcx, Request: , Form ID: urn:schemas-microsoft-com:office:infopath:Expense-Report:-myXSD-2014-04-11T21-06-32
    Type: DataAdapterException, Exception Message: The custom code in the form cannot be run. This functionality may be deactivated on the server.

    Hi B.,
    You are on the right track. I recommend that you first get the User Profile Synchronization Service started because that itself could be the root cause of the issue.
    If that doesn't fix it then focus your attention on the GetUserprofileByName data connection. I always use my secure store ID for this connection. I add the ID by editing the udcx file and then publishing it again.
    Hope this helps.
    Daniel Christian (MCTS)

Maybe you are looking for