ORA-12154 when connect to Ora10 using an odbc from visual C++

Hello
I have the follong problem , I have a machine that must access to an oracle database , I have made an Odbc Conection and if I make atest there is no one problem and the test is sucessfully . My problem is when I 'm trying to access using my visual c++ program in this case I get an ORA -12154 error , using the same odbc connection that I have probe, also I have probe this program over others machines and there is no problem to access to the database . Can anyone tell me something ??
The machine is an windows XP and the programa is a Visual C++.net .

Well we have find the problem , was the path of the application . this has 84 characters we have put our program in a shortest path and now works!!!!

Similar Messages

  • 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

  • Ora-12154 when trying to connect to database from fortran application

    I am trying to connect to database and run an simple select query to a table(without any where clause) using pro*fortran code.
    the connect strng is like
    exec sql connect :uidpwd
    where uidpwd = username/password@SID
    SID and tnsnames connect string are the same.
    The fortran (profortran) code is placed in the database server and there are no errors when make is run.
    Tnsping is working fine, also i am able to conect using sql*plus and run the same query.
    Please help
    Thanks and Regards
    Nitin

    Hi Nitin
    Thanks for the helpful! With your point I'm now Pro! Great thanks.
    By the way have your seen that?
    Files such as LISTENER.ORA, TNSNAMES.ORA, SQLNET.ORA, if configured manually, or copied and edited from earlier releases of Oracle Database may have record attributes that are incompatible with Oracle Database 10g release 2. The software cannot read such files. The required record format is stream_lf and the record attributes are carriage_control and carriage_return.
    This may result in:
    Inability to start the listener
    Services not registered with the listener
    Inability to connect to other databases
    ORA-12154: TNS:could not resolve service name
    Run the following command on each file affected:
    $ DIR/FULL filename
    An output similar to the following may be displayed:
    Record format: Variable length, maximum 255 bytes
    Record attributes: Carriage return carriage control
    If the output includes the preceding entries, then run the following command:
    $ CONVERT/FDL=SYS$INPUT filename filename
    RECORD
    CARRIAGE_CONTROL CARRIAGE_RETURN
    FORMAT STREAM_LF
    ^Z
    Otherwise herewith an interesting metalink note. Doc ID:      Note:437597.1
    Subject:      Ora-12154 When Executing Pro*Fortran Code Compiled With Oracle 10g.
    Hope this will also help you...
    Cheers
    Hubert

  • TNS error ORA-12154 : can connect to one server but not to another.

    Hello,
    I have a Forms 6.0 application running on a Solaris box. It connects
    fine to an Oracle 9.0 server but fails with ORA-12154 when trying to
    connect to Oracle 10g running on a different server.
    'sqlplus' can connect fine to both servers .
    'tnsping'result is succesful from the Solaris client to both servers.
    Configuration details are as follows. (IP Addresses have been
    sanitised. I've included the client side listener and also entries for
    the 'local' Oracle 8i server running on the Solaris 'client' although
    I think some of this may be not relevant):
    1. Connecting to Server 9.0 : application CAN connect successfully:
    a. application URL
    http://host_ip_address:7778/dev60cgi/if60cgi?config=rack : application
    runs successfully
    b. client's formsweb.cfg excerpt:
    [rack]
    pageTitle=yadayada
    form=login01
    userid=user/pass@nn_rackspace
    archive=f60all.jar, oracle_ice-4_03_1.jar
    c. client's tnsnames.ora excerpt (local services not excluded):
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sun1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcl)
    RR =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sun1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = RR)
    NN_RACKSPACE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 1.2.33.44)(PORT =1521))
    (CONNECT_DATA =
    # (SERVER = DEDICATED)
    (SERVICE_NAME = QQ1.QONNECTIS.COM)
    NN_QQ3 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
    (CONNECT_DATA =
    # (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.qonnectis.com)
    NN_QQ3.qonnectis.com =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
    (CONNECT_DATA =
    # (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.qonnectis.com)
    d. client's sqlnet.ora: contains ONLY:
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    e. client's listener.ora excerpt:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /space/oracle/OraHome1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = orcl)
    (ORACLE_HOME = /space/oracle/OraHome1)
    (SID_NAME = orcl)
    (SID_DESC =
    (GLOBAL_DBNAME = NN)
    (ORACLE_HOME = /space/oracle/OraHome1)
    (SID_NAME = NN)
    (SID_DESC =
    (GLOBAL_DBNAME = RR)
    (ORACLE_HOME = /space/oracle/OraHome1)
    (SID_NAME = RR)
    f. remote server's tnsnames.ora excerpt:
    QQ1.QONNECTIS.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = qanasta1.qonnectis.com)
    (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = QQ1.qonnectis.com)
    QQ1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)
    (HOST = qanasta1.qonnectis.com)
    (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = QQ1)
    QQ3.QONNECTIS.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcl.qonnectis.com)
    g. remote server's sqlnet.ora contains only:
    NAMES.DEFAULT_DOMAIN = qonnectis.com
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    h. remote server's listener.ora excerpt:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)
    (HOST =qanasta1.qonnectis.com)
    (PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /opt/oracle/product/9.2.0.1.0)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = QQ1.qonnectis.com)
    (ORACLE_HOME = /opt/oracle/product/9.2.0.1.0)
    (SID_NAME = QQ1)
    i. on Solaris client, tnsping nn_rackspace : succeeds
    j. on Solaris client, sqlplus user/pass@nn_rackspace: succeeds
    k. on server, Oracle server processes have names like ora_d000_QQ1.
    l. on server, Oracle connected listener processes show up in ps
    listing like oracleQQ1 (LOCAL=NO)
    m. On server, lsnrctl status reports amongst other things
    Service "QQ1.qonnectis.com" has 2 instance(s).
    Instance "QQ1", status UNKNOWN, has 1 handler(s) for this service...
    Instance "QQ1", status READY, has 1 handler(s) for this service...
    2. Connecting to Server 10g : application does NOT connect successfully:
    a. application URL
    http://host_ip_address:7778/dev60cgi/if60cgi?config=rack2
    b. client's formsweb.cfg excerpt:
    [rack2]
    pageTitle=yadayada
    form=login01
    userid=user/pass@nn_qq3
    archive=f60all.jar, oracle_ice-4_03_1.jar
    c. client's tnsnames.ora excerpt (local services not excluded):
    -as above-
    d. client's sqlnet.ora: contains ONLY:
    -as above-
    e. client's listener.ora excerpt:
    -as above-
    f. remote server's tnsnames.ora excerpt:
    # default sid 'orcl' : for local access
    orcl =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.qonnectis.com)
    # QQ3_Vlan : default sid 'orcl' : access over 10. private net from qq1
    QQ3_VLAN =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.99.99.99)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.qonnectis.com)
    # nn_qq3 : default sid 'orcl' : access from external sites by public
    # external IP - specifically sun admin dba tool in twx
    NN_QQ3 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2.3.44.55)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.qonnectis.com)
    g. remote server's sqlnet.ora contains only:
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    NAMES.DEFAULT_DOMAIN = qonnectis.com
    h. remote server's listener.ora excerpt:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/OraHome_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = orcl)
    (ORACLE_HOME = /u01/app/oracle/OraHome_1)
    (SID_NAME = orcl)
    i. on Solaris client, tnsping nn_qq3 : succeeds
    j. on Solaris client, sqlplus user/pass@nn_qq3: succeeds
    k. on server, Oracle server processes have names like ora_d000_orcl .
    l. on server, Oracle connected listener processes show up in ps
    listing like oracleorcl (LOCAL=NO)
    m. On server, lsnrctl status reports amongst other things
    Service "orcl" has 1 instance(s).
    Instance "orcl", status UNKNOWN, has 1 handler(s) for this
    service...
    Service "orcl.qonnectis.com" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    As you can see, I have tried adding an alias for the default domain
    name suffix '.qonnectis.com' in the tnsnames.ora files on the solaris
    client and on the new 10g server.
    Just to add to the fun, the 'new' server running Ora 10g CANNOT connect
    to the old server running Ora 9:
    sqlplus user/pass@nn_qq3
    sqlplus user/pass@nn_qq3.qonnectis.com both fail.
    While the old 9.0 server CAN connect to the new 10g one:
    sqlplus user/[email protected] succeeds.
    Sorry this is such a mess. TBH I find this whole area extremely
    confusing.
    All suggestions welcome. Unfortunately I am away on holiday next week
    but will follow up any leads when I get back.
    thanks!
    Victor Churchill.

    Hi DianeinBirmingham,
    Welcome to the Apple Discussions
    The Log goes further
    Chat ended with error -8
    Video Conference Error Report:
    Video Conference Support Report:
    Video Conference User Report:
    Binary Images Description for "iChat":
    This bit suggests the ports are not open.
    Intermittent success like this And the ports not being open suggests a Modem that might be SIP aware such a Thomson-Alcatel Speedtouch device.
    Can you tell us what modem you have ?
    7:55 PM Friday; July 13, 2007

  • ORA-12154 when using Database Link

    We're running 11r2 on our servers. I have a primary db and a standby db, using Data Guard. The standby is open for read-only querying. We are not using ASM.
    The primary (and thus the standby) have a PUBLIC database link to a third db server.
    When I run a query against the database link on the primary: select * from test@MyDBlink; Everything works fine.
    When I run the same query against the database link on the standby: select * from test@MyDBlink; I get ORA-12154: TNS:could not resolve the connect identifier.
    I check that the db link exists on the standby. It does.
    I go to command prompt on the standby and run "tnsping MyDBlink". It executes fine. It says "Used TNSNAMES adapater to resolve the alias" and sure enough, MyDBlink is referenced in the TNSNAMES.ORA.
    I also run "tnsping IP-of-MyDBlink" to doublecheck. No issues.
    What is going on that is blocking the db link on the standby? Many reports utilize that standby and I'd hate to deny them the functionality of a db link.
    Thanks

    893968 wrote:
    We're running 11r2 on our servers. I have a primary db and a standby db, using Data Guard. The standby is open for read-only querying. We are not using ASM.
    The primary (and thus the standby) have a PUBLIC database link to a third db server.
    When I run a query against the database link on the primary: select * from test@MyDBlink; Everything works fine.
    When I run the same query against the database link on the standby: select * from test@MyDBlink; I get ORA-12154: TNS:could not resolve the connect identifier.
    I check that the db link exists on the standby. It does.
    I go to command prompt on the standby and run "tnsping MyDBlink". It executes fine. It says "Used TNSNAMES adapater to resolve the alias" and sure enough, MyDBlink is referenced in the TNSNAMES.ORA.
    I also run "tnsping IP-of-MyDBlink" to doublecheck. No issues.
    What is going on that is blocking the db link on the standby? Many reports utilize that standby and I'd hate to deny them the functionality of a db link.
    ThanksMost people with this problem don't understand that the dblink is just another client, no different than sqplus running on the same machine - and therefore the link uses the tnsames in the ORACLE_HOME of the database containing the link. But it seems from the steps you've described that you've grasped that. The only thing I can think of off the top of my head is when you try sqlplus from the standby server you are hitting a different tnsnames than the one the database is using.

  • ORA-12154 when try to connect oracle 9i with forms9i

    Hi everybody,
    I install oracle database 9i AS in:c:\ora9ias folder, with ora9ias database name.
    and I install oracle developer suite in c:\ora9ids, and both installation were successfull.
    in oracle with sql+, I connect with system/manager@ora9ias it's working,
    but when I work with forms, I have this error mesage:
    ORA-12154, can't resolve symbolique adresse TNS?
    Thanks for your help...
    best regards

    In Oracle 9i Release 2 onwards, passwords for SYS and SYSTEM are entered by you when you install Oracle 9i R2.
    In order to connect to SQL Plus via Host String, e.g. ora9i
    User name: sys
    Password: YOUR_NEW_PASSWORD (this is he actual password that you entered when you installed Oracle 9i)
    Host String: ora9i as sys

  • ORA-12154 error connecting CR 2008 to Oracle XE on Windows 7

    I have Crystal 2008 SP3 running on Windows 7. I have Oracle Database Express Edition installed and running. Using the DirectData CR Oracle ODBC Driver 5.1 I test connect fine to Oracle but when I try to use Database Expert to connect to my Oracle database I fail to connect.
    The error I get is Failed to open the connection. Details: ORA-12154: TNS:could not resolve the connect identifier specified. [Database Vendor Code: 12154].  I've spent a lot of time here trolling for information. My TNSnames.ora file appears to be correctly formatted but I'm not sure if it has the correct information in it. I checked my Path and that may be the problem but I am not technical enough to know what to put there so that this 32-bit driver is the first in the list. It's the driver in Windows/SysWOW64. I just need to be able to run a SQL statement in Oracle and create RPTs in CR - not be an OS Expert. Any help would be greatly appreciated.
    TNSNAMES.ORA
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = Owner-VAIO)(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)
    PATH
    PATH=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program File
    s (x86)\Common Files\Microsoft Shared\Windows Live;C:\oraclexe\app\oracle\produc
    t\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\W
    indows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Softw
    are\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files (x86)
    \Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files (x86)\Common Files\R
    oxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Intuit\QBPOSSDKRuntim
    e;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Windows Live
    \Shared

    Hello,
    This should work, XE is not lsited in our supported platforms PDF but it's still 10.2 which is supported.
    There are more tools you can use to debug, third party Connection tests and ProcessMonitor as well as our database logging dll but if you are running out of time I suggest you purchase a single case and a Rep will contact you directly to resolve the problem.
    To get a single support case got to:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=38156200
    And No, the ORA file should be in the that folder.
    Thanks again
    Don

  • ORA-01031 WHEN CONNECTING TO AUXILIARY DATABASE

    Hi
    i am currently trying to to create a standby database using RMAN using the ORACLE RMAN Backup and recovery book.
    I get the ORA-01031 when i connect to the auxiliary database.
    i do the following:
    RMAN> connect target sys/password@primary
    connected to target
    RMAN > connect auxiliary sys/password@aux1
    ORA-01031.............insufficient privileges
    obviously the database aux1 hasnt been created yet but i have configured the tns and listener and both work fine, also created a password file and created a pfile from the spfile in the primary database as instructed by the book. I also started the aux1 database in nomount mode as well.
    does any one have any ideas where i maybe going wrong?
    thanks

    conn sys/pwd@aux1 as sysdba ,what happens to this
    in sqlplus
    add an entry to your TNSNAMES.ora
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    We dont need this entry this is for OS authenicarion sorry
    then try again
    Version and OS?
    Message was edited by:
    Maran Viswarayar
    Message was edited by:
    Maran Viswarayar

  • ORA-12154 when migrating from 6 to 6i

    When starting RAU-migration-tool I always get "ORA-12154: TNS: could not resolve service name". With SQL I can connect to this instance. I tried to connect to the 6-repository with designer 6i and got this error-msg: "CDR-20004: Your are attempting to connect to a previous release of the repository". So I think designer "knows" the connection, but not the migration-tool. Is there another tnsnames?

    Sorry I forgot, the designer is running on Windows NT and Database runs on HP-UX
    bye Karl

  • ORA-12154:Can connect oracle in CGI!

    I use such code to connect oracle , in shell
    its work fine. but in Apache run as a CGI,
    ORA-12154 occer. I have set the var such as ORACLE_HOME, etc.
    olg(&lda,(ub1 *)hda,"scott/tiger@to195",...)
    anything others i need do ?

    I use such code to connect oracle , in shell
    its work fine. but in Apache run as a CGI,
    ORA-12154 occer. I have set the var such as ORACLE_HOME, etc.
    olg(&lda,(ub1 *)hda,"scott/tiger@to195",...)
    anything others i need do ?

  • Video capture stops when connected to FCP using fire wire

    Captured video using Sony VX2000 using 48 khz and 16 bit audio stereo mode. Using Sony Premium miniDV tapes.
    Video plays back fine when not connected via firewire to G4 dual 867 with 2 GB Ram.
    Using default capture preset of 48 khz 16 bit, connect fire wire and video capture randomly stops stating it has lost connection or is missing capture data. If I switch to just plain capture using non controllable device, I have the same issue except the tape keeps playing but FCP stops capturing.
    Tried other tapes and no problem.
    Tried other fire wire cable and no problem.
    I am having problems only on this tape and when connected.
    When not connected it plays back on the camera with no stopping.
    Steve Bowers

    To answer your questions--
    Dumping preferences usually does not cause problems. More likely you updated some part of your system or are having other hardware issues.
    No updates or hardware issues. The original problem (discussed in another thread) was one where the video is skewed inward on the lower right corner. Apple instructed me to dump the preferences and start from scratch. That I did and now I am experiencing problems I did not have before. If it is hardware problems, then I guess it is just coincidental that FCP is just now presenting problems. However, the other problems I am having are software related and does not involve the camera.
    What software versions of FCP, OSX and QT are you running and have you updated any of them recently?
    FCP version-5.1.2
    OSX-10.4.8
    QT-7.1.3
    Is there anything special about the 'difficult' tape?
    No.
    Did you record it?
    Yes
    Was it the last of a bunch?
    Not sure. I buy bulk so this was one in a box of 5 that is was in a case of 50 boxes.
    Are you using the same camera as the playback device?
    Yes
    Does it work if you use another computer?
    Not sure what you mean. I have only one MAC G4.
    Was it recorded using another camera in a non-DV format?
    No. Playback is through same camera is was recorded on.

  • Get error when CONNECT BY PRIOR used by where

    Hi
    I get "No more data to read from socket" error when the result of CONNECT BY PRIOR used after where, is there anybody encounter this error?
    example SQL:
    select
    from table_A
    where exists
    (select 1 from table_b
    START WITH table_b.col1 = 'value'
    CONNECT BY PRIOR table_b.col1 = table_b.col2)
    The sql select 1 from table_b START WITH table_b.col1 = 'value' CONNECT BY PRIOR table_b.col1 = table_b.col2 can return 2 row correct, but the whole sql does not work.

    Hi! Rahul,
    Thank you for your reply first. Your method doesn't work in my case.  Can you tell me the steps of creating a new layout for added records and draft documents.  I have created a quotation layout which work with added records only, the steps has been show below and please comments, thanks.
    1. In Crystal Report > new blank report > create new connection > Choose "SAP Business One" > Select OQUT under "B1 Tables".
    2. Insert "CardName" field to report > Create DocKey@ parameter and  set it equal to DocEntry in select expert record function
    3. Click Add-ins > SAP Business One > Save > Choose company database and input manager password.
    Regards,
    Ivan

  • ORA-01031 when connecting as sysdba after upgrading DB 10.2.0.1 to 10.2.0.3

    Hello everyone
    I have just finished upgrading my development database from 10.2.0.1.0 to 10.2.0.3.0. I have also upgraded my workstation client software to 10.2.0.3.0. Everything appears to be working fine except that I can no long access the new database "as sysdba" from my client computer. Each time I try to login using sys/password@mydb as sysdba I get an ORA-01031: Insufficient privileges error.
    I have no problem connecting to the database using any other normal user. I can connect using "/ as sysdba" from the server console and I also have no problem accessing my production database -- which is still 10.2.0.1 using the 10.2.0.3 drivers. The server is running SLES9 while my workstation runs openSUSE 10.2.
    Any help will be most welcome
    Thanks in advance.
    Thanassis.

    Ensure you have your password file inatct (recreate it if necessary).
    HTH,
    cciontu.

  • What happens to PSCredential obejct when connecting to O365 using Connect-MSOLService cmdlet

    Hello all,
    I've been trying to find this information on Google but I've come up short.
    Basically what I want to know is how the PSCredential object is treated when connecting to O365 via the Connect-MSOLService cmdlet.
    For example, running the following code creates a secure PSCredential object
    $cred = get-credential
    Now I can run the Connect-MSOLService cmdlet to connect to O365 like so:
    Connect-MsolService -Credential $cred
    My question is, how are the encrypted credentials treated when passed to O365 via the cmdlet? Are they decrypted at any point, or does O365 create a similar secure string and compare the hashes?

    Start here
    https://products.office.com/en-us/business/office-365-trust-center-cloud-computing-security
    You can also post in the security forum for more technical details.
    ¯\_(ツ)_/¯

  • Error showing when connecting to MySQL using servlet

    This is my Program. (MySQL.java)
    package coreservlets;
    import java.sql.*;
    public class MySQL {
         public static void main (String[] args) {
         String driver = "com.mysql.jdbc.Driver";
         String url = "jdbc:mysql://localhost/leave_app";
         String username = "";
         String password = "";
         showEmployeeTable(driver, url, username, password);
    public static void showEmployeeTable(String driver,
    String url,
    String username,
    String password)
    try{
                   Class.forName(driver);
    Connection connection = DriverManager.getConnection(url, username, password);
                   Statement statement = connection.createStatement();
                   String query = "Select userid from userlogin";
                   ResultSet resultSet = statement.executeQuery(query);
                   while(resultSet.next()){
                        System.out.print(resultSet.getString("userid"));
                   connection.close();
                   } catch(ClassNotFoundException cnfe) {
                        System.err.println("Error loading driver: " + cnfe);
                   } catch(SQLException sqle) {
                             System.err.println("Error with connection: " + sqle);
    Error showing
    java.lang.ClassCastException: coreservlets.MySQL cannot be cast to javax.servlet.Servlet
         org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:370)
         org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:134)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    Could someone help me to resolve this bug?

    Hi,
    I think you have misunderstood me. What I'm trying to say is that your MySQL.java doesn't seems to be the root cause of the problem.
    The way you invoke the MySQL.java. may be the cause of the problem.
    As from your implementation, your MySQL.java seems to be a plain java application. However, it seems that you are trying to treat MySQL .java as a servlet.
    My guess this that you wanted to do something like this:
    class MySQL extends HttpServlet {
         public void doPost(..... ) {
              //the codes in the main method to be put in this method.
         public void doGet( ....) {
                 doPost(....)
         //some of your other methods put here.
    }For more information on how to write a servlet, you may visit http://java.sun.com/developer/onlineTraining/Programming/BasicJava1/servlet.html

Maybe you are looking for

  • Calculation of CST on (Base Value+Service Tax )

    Hi Gurus, We are using tax procedure as TAXINN. Here our client want tax code for service and CST i.e. (Service Tax 10.3 + CST 5%.For this I have done the required configuration in FTXP but still there is a problem regarding calculation of CST.Client

  • Logical Database ekko

    I am new to Logical Database. I want to create a Logical DB which should show me table values of EKKO based on the selection that I make. So I want to create a Logical DB, which, if I run, should show me selection options(for PO Number) first and onc

  • Accounting Rule query from the Pricing/Billing tab in Service Contracts

    Running Oracle Apps. 11.5.10.2. I have the query listed below which returns both header and live level data for service contracts. I am trying to add the Accounting Rule from the Pricing/Billing tab within service contracts, but I am not having luck

  • How do i build a digital clock in multisim

    I need help. I am trying to build a digital clock in multisim. I know some things but not what I need to know. Originally this project was supposed to be a full 12 hour format with minutes and seconds but  the instructor decided to make it just the h

  • Items that need to be downloaded apear to go into a Mozilla Download File. How can I access that file without having to download?

    Clarification: I notice that items I have recently downloaded remain in what appears in the screen header as a file titled "Downloads" with the Firefox logo in front of it -- I assume this is a file Mozilla creates. I can't find it when I look for it