Error: Unable to connect... SQLState = 08004... [Oracle] [ODBC] [Ora] ORA-12154:...

Hi Experts/gurus,

I am trying to create a new data source with Oracle 11 g driver with the details below:

Name of the data source: PeopleSoft
Description:
The TNS Service name: HR91PEN
User ID: sysadm
Password: SysAdm1n

When I click on connect Test I got this error below:

Error:
Unable to connect
SQLState = 08004
[Oracle] [ODBC] [Ora] ORA-12154: TNS: could not resolve the connect identifier specified

Help, please.

Thank you very much...
JP

Hello

try to use the tnsping to see if you have the connection to the database of tehe.

Let me know.

Kind regards
Gianluca

Tags: Business Intelligence

Similar Questions

  • Unable to connect to the local database - ORA-12154

    Hello

    I'm having a problem with an Instance Oracle 10.2.0.3 on AIX 5.3.

    Under Root and Oracle, I can connect to the instance by using only "sqlplus user/password', but it does not work under another ID.

    It causes me problems as one of our suppliers has provided a large number of upgrade scripts to be run as a specific user, but fail to establish a database connection.

    Anyone have any ideas on what could be the problem? I put my SID and Oracle Home properly, running oraenv, but it does not work.

    Thank you
    James

    Check what unix groups the user is a member.

    echo $ORACLE_SID
    echo $TWO_TASK

    Use: -.

    sqlplus username/password@database

    Make sure that the database is listed in tnsnames.ora

  • Unable to connect to the Oracle 10g transparent VBA code

    Dear all,

    I am unable to connect to the oracle database, use the code for the same below.
    And the name of the server is PRDCCB, my TNSNAMES file. ORA file is placed correctly, and defined environment variable path.
    Fanny created in VBA ADO objects.
    But am not able to connect error is always the driver's SQLSETConnectAttr failed

    Help, please



    Void Ora_Connection()

    Con Dim As ADODB. Connection
    Dim rs As ADODB. Recordset
    Dim query As String
    The con value = New ADODB. Connection
    Set rs = New ADODB. Recordset


    ' - Replace below highlighted the names with the corresponding values

    con. Open ("Driver = {Microsoft ODBC for Oracle};" & _)
    "CCBPRD = DESCRIPTION =" & _
    "(ADDRESS =(PROTOCOL=TCP)"& _
    "(HÔTE = 10.1.3.50) (PORT = 1521))" & _
    "(CONNECT_DATA = (SID = CCBPRD))); UID = Prasad; pwd = prasad23; »)

    ' - Open the above connection string.


    ' - Now connection is open and you can use queries to execute.
    ' - It will be open until you close the connection
    End Sub

    Replace pls

    con.Open ("Driver={Microsoft ODBC for Oracle}; " & _
    "CCBPRD=DESCRIPTION=" & _
    "(ADDRESS=(PROTOCOL=TCP)" & _
    "(HOST= 10.1.3.50)(PORT=1521))" & _
    "(CONNECT_DATA=(SID=CCBPRD))); uid=Prasad; pwd=prasad23;")
    

    with

    con.open ("Provider=MSDAORA;Data Source=CCBPRD;User ID=Prasad; Password=Prasad23;";)
    


    Rgds,

    Ahmer


    N.B.: To win a good reputation on the forums, and if you want that your question will be answered in due time. Kindly adopt a used to score your closed questions as soon as you give the answer. and be courteous to people who tries to help.

  • After changing the orainventory place im unable to connect using the oracle user

    Hello

    IM using oracle 12 c on rhel 6 after correctly installing the software, I changed the location of oravinventory in/data/houses

    / u01/app/Oracle

    After making these changes im is no longer able to connect using the oracle user...

    also I back return changes I had made to the orainventory folder still unable to connect using the oracle user...

    any help on this would be greatly appreciated

    Sadia. wrote:

    Hello

    IM using oracle 12 c on rhel 6 after correctly installing the software, I changed the location of oravinventory in/data/houses

    / u01/app/Oracle

    After making these changes im is no longer able to connect using the oracle user...

    also I back return changes I had made to the orainventory folder still unable to connect using the oracle user...

    any help on this would be greatly appreciated

    Newer versions of oracle have implemented a great new technology to help solve problems, called "error messages."  Unfortunately, I can't find any reference to an error message named 'is no longer able to connect.

    And why you are moving your site from inventory?  When you have installed oracle, he put the inventory where he wanted.  There is no reason to try to change or replace.

  • FDM Create Application Error: Unable to connect to the database.

    Hello
    While trying to create a new application of FDM, I am not able to connect to the database. error: "unable to connect to the database. Please check the databases and verify the database is '. '. able to connect to the DB using the command line.

    I created the user in Oracle with access s/n (provided permissions: RESOURCE, CONNECT, CREATE SESSION, CREATE VIEW, CREATE DATABASE LINK)
    Oracle 32-bit client is installed with windows server 2008 R2 64-bit.

    I need to update the variable path or any other parameter that needs to be updated.
    Please help solve this problem.

    Hello

    I tried test the connection to the database of FDM help a 32-bit UDL file to check the 32-bit Oracle Client is installed and where the provider OLE DB for Oracle was not available.
    It was a problem with the installation of the Oracle customer 11.2.0.3, it seems that it is a known bug (NOTE > install the 11.2.0.3 Oracle OLE DB provider since the installation of Client media registers properly the provider [ID 1380742.1] Bug: 13417266 WHILE upgrading from 11.2.0.3, Setup is unable to REGISTER DLL ORAOLEDB).
    We have installed Oracle earlier version client and have seen the for Oracle OLEDB provider.
    After this created FDM application successfully.

    Thank you

  • gettign error "unable to connect".

    Hello

    I have new phone purchase watch Elife E3 a few days ago. I downloaded Skype-free IM & video call, and it works great 2 - 3 times when I open a session and after 2 - 3 times it gives "Unable to connect" error when I connect.

    the I uninstall Skype and reinstall it again and it works fine, but after 2 - 3 times it is in error "Unable to connect" again do not know what the problem is.

    any body has any solution for this.

    Thanks in advance

    Sunil

    For a long time, tap the app and choose 'Clear data' or something similar to reset. Its a big trouble, but it's the only solution. To avoid this, I suggest to sign first and the app completely in the drawer of the app from closing before turning off WiFi because it helps a lot. Also, perhaps heat your device upwards before running Skype to avoid it hanging.

  • When you try to connect from my vista desktop to my laptop windows 7 through the DRC I get the error "unable to connect to the gateway terminal server."

    problems of the DRC of vista for windows machine 7

    I have 2 computers running on a homegroup. When you try to connect from my vista desktop to my laptop windows 7 through the DRC, I get the error "unable to connect to the gateway terminal server."   Can I remotely from the laptop to the desktop vista end. I the DRC 7 is installed on the desktop and tried to connect using the IP as well as the name of the machine but still no joy.

    can someone shed light on this please?

    Hello

    Temporarily disable the security software on both computers and check if it makes a difference.

    http://Windows.Microsoft.com/en-us/Windows-Vista/disable-antivirus-software

    Note: Antivirus software can help protect your computer against viruses and other security threats.  In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.

  • I am unable to connect to the virtual pc Xp mode when I try to open a session given an error unable to connect to the domain that a domain controller is down or unavailable,

    I am unable to connect to the virtual pc Xp mode when I try to open a session given an error unable to connect to the domain that a domain controller is down or unavailable,

    Hi Rajendra Patil,

    I suggest you to ask your question on the TechNet Forums.

    Windows Virtual PC and XP Mode.

    http://social.technet.Microsoft.com/forums/en/w7itprovirt/threads

    I hope this helps!

  • Windows 8 mail, Gmail error unable to connect. Make sure that the information you entered is correct

    I tried to set up a Gmail on windows mail 8 for some time. It worked before but then I had to re - install the app and I can't seem to log in now. The only difference between now and when it worked is that I had turned on google + once I had it working the first time, but now I have that turned off.

    I always get this error: unable to connect. Make sure that the information you entered is correct.
    If I have the chance and he fails to add account, then synchronization takes a long time and emails take 5-10 minutes to arrive on the application it does to get to my account in a web browser and on my phone.
    Many users complain about this, we really need a strong response here.

    Hi Martyr844_Coffe,

    Make sure that your google account manager has granted approval of this log - in...

    From there... https://myaccount.google.com/.

    And change the account setting Gmail on Mail app account like the following picture setting...

    (To find out the specific parameters of the account )

  • Cannot configure gmail with messaging metro app error unable to connect. Make sure that the information you entered is correct

    I was able to add an account Gmail for Windows 8 Mail App on my first install and everything worked well. Then bought an SSD and completely installed a new OS of Windows 8 it. Connected with the Live account that I used with the first installation of windows 8. All synchronized. The Mail app has Live accounts and Gmail put in place without having to re-enter the information myself. However, I noticed that Gmail sync never even when I choose sync. Removed from the account to add it again, but have failed so far. Keep gives me the error "unable to connect. Make sure that the information you entered is correct. "Tried to install it on my phone Windows 8 (Nokia 920) and he keeps asking me to re-enter the password. I'm 100% sure that I have no 2-step check set up I checked several times. Never allowed them in the first place.

    At this point, I don't know if it's Google problem or the problem of the Mail application. Any suggestion?

    I also had the same problem. I had no problem for the other three Windows 8 install / computers that I used and the last she has imported all the fine adjustments. However, I had a portable Windows 8 different today and worked alone of my three accounts to Gmail. How I fixed it:

    Of the Mail app: charms > settings > accounts > add account > other account (NOT GMAIL!)
    Click IMAP for account type, then enter your credentials as usual. It connected and synchronized immediately for me.
    Hope this helps!
  • Error: Unable to connect to the database.  Please check the databases and verify the database is accessible.

    Hello.

    Hello

    Do you have any idea of this error, I went through a few forums, but I still got the same message.

    FDM is my server on computer A

    and my Foundation + shared on machine B


    Error: Unable to connect to the database.  Please check the databases and verify the database is accessible.

    Hello

    Browse the following post

    Failed to create the application of FDM

    (mark this message as useful or appropriate if that helps!)

    concerning

    -DM

  • Unable to connect to the database instance: ORA-28001: the password has expired

    Hi all

    I'm on oracle 11g grid.


    I get unable to connect to the database instance: ORA-28001: the password has expired (ERROR of DBD: OCISessionBegin) error.

    I checked and found that my user dbsnmp expired password. I found the page on the grid control to change the password of user dbsnmp.

    but I want to know. If I changed dbsnmp password using the grid control. Is there any other task I have to do after the change of user dbsnmp password.

    Please let me know.


    Thank you

    Hi PK,.

    If GC can reuse the monitored GENERAL to connect to the database account I can't think of anything you should do.
    The database, what has happened is an 11g database? If so the security policy has been changed in this version, which means that in half a year you will still have a locked account of DBSNMP.

    If your company security policy allows, you can avoid this by changing the password_life_time to an unlimited number of default profile:
    change the default profile limit password_life_time unlimited;

    Eric

  • Unable to connect to the database instance: ORA-02391: exceeded IS simultaneous

    Hello

    I get continually alert to OEM:

    Unable to connect to the database instance: ORA-02391: simultaneous exceeded SESSIONS_PER_USER (DBD ERROR: OCISessionBegin).

    I run the query, but has not found any sesion in the database:

    SQL > select username, count (*) from v$ session of the Group of user name.

    COUNT (*) USERNAME
    ------------------------------ ----------
    SYS 1
    8
    Could you please help me solve this problem?

    Thank you
    Gulshan

    Listener.log file saves connection applications
    compare the timestamps in listener.log with the alert_SID.log file to determine the culprit

  • View is not to connect to the event db and error unable to connect to the db

    Hello

    while trying to connect the event dB view, I encounter a weird problem where, by getting "unable to connect" error message.

    in the error log I get below error also can you pls help.

    TP-Processor1 > code [ConfigurationManagerBean] ADAM Error: 2 128 com.vmware.vdi.admin.ui.ConfigurationManagerBean.updateDatabaseConfiguration(SourceFile:181)

    com.vmware.vdi.adamwrapper.exceptions.ADAMServerException: database initialization failed, SQL exception when connecting to the database: TCP/IP connection to host failed. java.net.ConnectException: connection refused: connect

    at com.vmware.vdi.admin.be.ConfigurationManager.a(SourceFile:1703)

    at com.vmware.vdi.admin.be.ConfigurationManager.updateDatabaseConfiguration(SourceFile:1580)

    at com.vmware.vdi.admin.ui.ConfigurationManagerBean.updateDatabaseConfiguration(SourceFile:177)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    to com.vmware.vdi.admin.ui.common.ViewFlexFactory$ ViewProxy.invoke (SourceFile:113)

    to com.sun.proxy. $Proxy56.updateDatabaseConfiguration (unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)

    at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)

    at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)

    at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1011)

    at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)

    at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)

    at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)

    at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)

    at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)

    at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)

    at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)

    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)

    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)

    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)

    at com.vmware.vdi.admin.ui.servlet.AMFProxyServlet.a(SourceFile:90)

    at com.vmware.vdi.admin.ui.servlet.AMFProxyServlet.doPost(SourceFile:57)

    Hi James,

    It's a SQL API based in the event database connection, it does not need an ODBC connection, see will do for you.

    I just wanted to know what operating system you are using to connect to the server and did you do Windows Update on this machine? If not done it please do.

    restart the machine try connecting the event database. It does not work please check the things mentioned in the KB below

    http://KB.VMware.com/kb/1029537

    You can do one more thing before checking the KB, if the connection to the server OS is windows 2012 and the SQL Windows 2012, take a snapshot of the VM Server conection and proceed to

    under location

    C:\Program Files\VMware\VMware View\Server\broker\shared\lib\sqljdbc-1.2.jar

    Stop all the service view in the connection to the server.

    sqljdbc - 1.2.jar and rename sqljdbc - 1.2.jar.backup.

    Download SQL JDBC 3.0 driver http://www.microsoft.com/en-us/download/details.aspx?id=21599

    extract the downloaded file and copy the sqljdbc4.jar to location (C:\Program Files\VMware\VMware View\Server\broker\shared\lib\)

    also copy same file once more and rename the file to sqljdbc-1.2.jar

    Restart all services server connection and wait 10 minutes, then check the admin page.

  • Unable to connect to remote oracle database!  Help, please!

    Hi all-

    I am a new user Oracle and you are allowed to access a remote Oracle database, however I have problems with the installation/configuration program! I downloaded the driver Oracle and the Instant Client (11.2.0.2.0) because I need to use Microsoft Access for the data access (the Access database is already configured to the correct Oracle database). I'm under the impression that, to do this, I need to be able to use the ODBC Administrator to get all set up. Note: Im working on Windows XP.

    I have questions:

    -I don't seem to have installed Netca (which seems to be the recommended method to configure a connection). I have manually adjusted the TNSNAMES file. ORA file so it matches the database, but I'm not sure what would be my next step.

    -When I open SqlPlus it wants a username and password, and I tried the default settings and got an error each time. I must first use SqlPlus, or establish a connection via ODBC first?

    -Also: ODBC requires a TNS Service name, and I'm not sure, where this is established; something that would give the database manager?

    I really just do not know how to configure this remote connection! I continue to run with obstacles and really want a reference "step by step" on the way to do it, if there is such a thing. Any help or additional reference material would be appreciated! I ran by the content of the forum, but have not been able to decode the jargon! Thank you very much in advance.

    Marilyn

    MsMonroe wrote:
    Hi Ed-

    I use the Oracle's ODBC driver. I think there may be a problem with the TNSnames file because I tried to add this file as a"Data Source", and he also said that a connection could not be established. What do you mean by the MS implemented? A configuration of Data Source?

    By MS implemented, I was referring to the MS ODBC for Oracle driver, against the Oracle ODBC for Oracle driver.

    The "source of data file' has nothing to do with the tnsnames file. The ODBC Manager retains its DSN definitions in one of three places. "User DSN" is stored in the HKEY_LOCAL_USER registry, the "System DSN" definitions are stored in the HKEY_LOCAL_MACHINE registry and 'FILE DSN"definitions is stored in a file... I don't remember exactly where or what it's name is as I have (when he is forced to deal with odbc) just keep things simple and use "system dsn". But these aren't all the definitions of ODBC, Oracle tnsnames file.

    The link between the ODBC DSN and the tnsnames.ora presents itself as a property of the ODBC definition. Suppose you have this for a tnsnames.ora entry:

    houston =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = vmlnx01)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVICE_NAME = orcl)
        )
      )
    

    Then
    -When you set up your odbc dsn, if you use the MS for Oracle driver, you must specify 'houston' as the 'server '.
    -When you set up your odbc dsn, if you use the Oracle odbc driver, you must specify "houston" as "the TNS Service name".

    >

    Im going to try to post a modified version of the content of my TNSnames.ora file (for some reason any the "content is not allowed ' by the forum), but I would like to get some comments on whether the structure of the content may be the problem.

Maybe you are looking for

  • CPU fan noisy in Satellite P200-17 b - how to remove dust

    My toshiba p200-17 b is now several weeks ago about 16 months old, the CPU fan works conttineously all the time.The air fan, I see there is a lot of dust in the CPU fan. What should I do now?Is the clean cpu fan included in the warranty?Is it possibl

  • I want to cancel one of my application I bought

    I bought an app called kidloland, it is absolutely not what I expected and I'm quite happy with it. How can I cancel and get my money back?

  • First round with resampling of wave and the memory is full error

    Hi all I have a little problem with my VI that I don't understand. I'm doing a motor controller application that can take a random waveform and TTL signals for a motor controller. It's all good, but the first time I run VI I get a memory full error (

  • Can't access the Task Manager

    I try to implement my task manager using the old CTRL + ALT + DELETE, but I get an error message that says; "Task manager has been disabled by your system administrator" WHAT THE...? It is a private pc, there is no system administrator.

  • Receive a fax manually on the Officejet Pro 276dw with a telephone

    Is it possible to receive a fax manually, on the 276dw Officejet Pro by answering the phone line, the fax using a telephone in another area of the House and enter a code? (My Fax is not on a dedicated line and auto answer is disabled.) I see an answe