OS authentication gives ORA-01005

We are new to ODP.NET and are trying to connect to our Unix databases which are configured with OS authentication. When we connect with sqlplus we enter "/" as the userid, leave the password column null and enter the database name in the required location. This connects OK. However, when we try the same thing with ODP.NET we are getting an ORA-01005 error. It doesn't like the null password. We do not set sqlnet.authentication_services in our sqlnet.ora file which means it defaults to none. Does ODP.NET support OS authentication? My configuration files are obviously working for SQL*Plus. Do I need to do something special for ODP.NET?

I think that the driver should be included by the
development team directly within the SQL Developer
directory - especially since 10g is currently the
most distributed version...They include the jdbc driver, but they can't include the rest of it without installing an oracle client. That means two of the selling points are gone - runs on anything with a JVM, and doesn't need an oracle client -; and a lot of extra effort providing operating system dependent distributions. Currently there are only 2 - windows and everything else, and the only difference is that the windows version bundles the jdk. You can install the everything else version on windows too.

Similar Messages

  • 9.0.1: select on dba_users as sys gives ORA-03106

    Hi,
    Select username from dba_users logged as sys gives
    ORA-03106: fatal two-task communication protocal error.
    Install done from zipped OTN files, server 9.0.1, OS Linux SuSe 7.2. Character set UTF8. Is UTF8 incompatible with 9i?
    Any treatment ideas are greatly appreciated.
    Thanks
    Anatoliy Smirnov

    resolved
    thanks

  • Gives  ORA-12560: TNS: protocol adapter error when installing oracle 10g

    I tried to install oracle 10g r2 in server 2008. but it gives ORA-12560: TNS: protocol adapter error when installing. how I can fix this issue??? please help me ASAP. because its urgent.
    thanks in advance.
    chamara

    Welcome to the forums !
    Pl indicate which version of 10g you are installing and on which version of Win 2008. Neither 10gR1 nor 10gR2 are certified to be installed on Win 2008 R1, AFAIK.
    For 10gR2, only 10.2.0.5 is certified for Win 2008 R2 - see MOS Doc 1173433.1 (How to Install Oracle 10.2.0.5 on MS Windows 7 / Windows 2008R2)
    Also see MOS Doc 740926.1 (Where can I find the Database / Client software to download for Microsoft Vista, or Windows 2008R1?).
    Both 10gR1 and 10gR2 are now in extended support - is there a reason you are not using 11gR2 ?
    HTH
    Srini

  • APEX.AUTHENTICATION.SESSION_VERIFY_FUNCTION - ORA-01403: no data found

    Hi,
    I'm deploying an APEX app with user general identified users (like user1, user2, and so).
    Now in this stage of implementation, we created user groups and user, but when I migrate the app from dev to production, all the new users that we created in the prod environment, when they try to log in, the app sends the error "APEX.AUTHENTICATION.SESSION_VERIFY_FUNCTION - ORA-01403: no data found" and the users cant't access the app.
    We have triple-checked all the variables buyt can't find the error from our side.
    Any help would by highly appreciate
    Thanks in advance,
    Agustin.

    Hi Hari,
    I'm just checking my Ayuthentication Scheme (instead of my Authorization scheme) and it seems to be the origin of the "no_data_found" message.
    The thing is that we make a Validation against one internal user table wich defines the office where the user work. That table had the username in lowercases and even the user wrote its username in the login page, using lowercases, the SELECT returned an "no_data_found".
    If the username field in our table is un UPPERCASE, the same function, typing the username in lowercase, returns OK.
    Thanks a lot for your interest
    Agustin

  • ORA-01005 error when running app on standalone server

    Hello All:
    When I run an application on stand alone weblogic 10.3 server, I am getting error:
    ORA-01005: null password given; logon denied.
    In IDE it is running well and password field is filled checkboxes Save Password, Deploy Password checked in Database Connection.
    Thanks,
    SNikiforov

    Try searching the forum for ORA-01005...

  • Fine Grain Access Control gives ORA-02014

    Using Fine Grain Access Control on Oracle 8i 8.1.6, when a policy is enabled on a table then queries of the form "select * from table for update nowait" give "ORA-02014 cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc.".
    Similar queries without the "for update nowait" work OK.
    Does anyone have a fix or workaround?
    null

    I ran into this. If you're using a function to add to/add a where clause to your statement, when the where clause gets appended to the end and generates an error. You should be seeing trace files in the udump area of oracle that show you the actual sql line that is being created in error. I modified my function to add the FOR UPDATE NOWAIT in the correct place.

  • ORA-01005 error when starting OBIEE

    Hi All,
          I am having error ORA-01005 when I try to start OBIEE (bi_server1) from WLST.  However this server was working fine an hour ago and  I don't know how, but the schema DEV_BIPLATFORM returns the following error when I query as SYSTEM.
    DEV_BIPLATFORM LOGON 17/10/13 12:13:35,715827000 1005
         Does someone knows how can I recreate the password for this schema ?
    Thanks in advance

    I've found the issue. THe archive area from databse server has reached 100%. After it was cleaned up the services started without any error.
    Thanks

  • Upgrade 11.1.0.7 to 11.2.0.3  gives ora-1403,ora-6512

    We are upgrading the databse from 11.1.0.7 to 11.2.0.3 on hpux ia 64 using manual upgrade.
    We ran catupgrade.sql and after that utu112.sql.
    However the utu112.sql gives the following status->
    @utlu112s.sql
    .Oracle Database 11.2 Post-Upgrade Status Tool 03-30-2013 01:53:44
    Component Current Version Elapsed Time
    Name Status Number HH:MM:SS
    Oracle Server
    . ORA-01403: no data found
    . ORA-06512: at line 5
    . ORA-06512: at line 5
    . ORA-01403: no data found
    . VALID 11.2.0.3.0 00:35:25
    JServer JAVA Virtual Machine
    . VALID 11.2.0.3.0 00:04:23
    Oracle XML Database
    . VALID 11.2.0.3.0 00:04:56
    Oracle Database Java Packages
    . VALID 11.2.0.3.0 00:00:18
    Gathering Statistics
    . 00:12:34
    Total Upgrade Time: 00:57:39
    PL/SQL procedure successfully completed.
    Also, when we did select from dba_registry it gave all components as valid
    Oracle Database Catalog Views VALID 11.2.0.3.0
    Oracle Database Packages and Types VALID 11.2.0.3.0
    JServer JAVA Virtual Machine VALID 11.2.0.3.0
    Oracle Database Java Packages VALID 11.2.0.3.0
    Oracle XML Database VALID 11.2.0.3.0
    I want to know, should i consider the database upgrade as sucess ot what to do next.
    The upgrade log also shows same error- grep "^ORA-" upgrade11gR2.log
    ORA-01403: no data found
    ORA-06512: at line 5
    ORA-01403: no data found
    ORA-06512: at line 5
    Thanks in advance!!

    Pl post a link to the instructions you followed, along with all of the errors from the actual upgrade log file. Is there a reason for not using DBUA ? Have you opened an SR for this issue ?
    HTH
    Srini

  • Database give ORA-600 error after cold backup

    HI,
    I have oracle 10g install on linux system. i take cold backup of my database using
    sql> shutdown immediate
    and then copy all files to any other location.
    but when i start my database it gives me error like
    Errors in file /opt/oracle/fina/bdump/fina_smon_4422.trc:
    ORA-00607: Internal error occurred while making a change to a data block
    ORA-00600: internal error code, arguments: [4193], [136], [139], [], [], [], [], []
    Fri Dec  4 15:23:18 2009
    Errors in file /opt/oracle/fina/bdump/fina_smon_4422.trc:
    ORA-00600: internal error code, arguments: [4193], [67], [70], [], [], [], [], []
    Fri Dec  4 15:23:19 2009
    Doing block recovery for file 2 block 1702
    Block recovery from logseq 13, block 3531 to scn 758385
    Fri Dec  4 15:23:19 2009
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 13 Reading mem 0
      Mem# 0 errs 0: /opt/oracle/fina/dbs/redo01.log
    Block recovery completed at rba 13.3532.16, scn 0.758386
    Doing block recovery for file 2 block 153
    Block recovery from logseq 13, block 3531 to scn 758436
    Fri Dec  4 15:23:19 2009
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 13 Reading mem 0
      Mem# 0 errs 0: /opt/oracle/fina/dbs/redo01.log
    Block recovery completed at rba 13.3612.16, scn 0.758437
    Fri Dec  4 15:23:19 2009
    Errors in file /opt/oracle/fina/bdump/fina_smon_4422.trc:
    ORA-00607: Internal error occurred while making a change to a data block
    ORA-00600: internal error code, arguments: [4193], [67], [70], [], [], [], [], []
    Fri Dec  4 15:23:29 2009
    Errors in file /opt/oracle/fina/bdump/fina_smon_4422.trc:
    ORA-00600: internal error code, arguments: [4193], [136], [139], [], [], [], [], []
    Fri Dec  4 15:23:29 2009
    Errors in file /opt/oracle/fina/bdump/fina_pmon_4410.trc:
    ORA-00474: SMON process terminated with error
    Fri Dec  4 15:23:29 2009
    PMON: terminating instance due to error 474
    Instance terminated by PMON, pid = 4410i have seen this happen sometime after cold backup database give errors. is taking cold backup of database is not safe.
    Please suggest.

    Umesh,
    Since it is case of Ora 600, for which only last solution is oracle support, but i would like to mention that your are getting ORA-00600: internal error code, arguments: [4193].... So, this 4193 is cause to read following links too:
    http://www.orafaq.com/forum/t/47048/2/ and. see Metalink note 153788.1 and 39282.1.
    Regards
    Girish Sharma

  • Windows OS authentication fails ORA-1017 after renaming AD user

    When a user is renamed in Active Directory, they can no longer connect to the Oracle DB thru OS authentication. There is no OID/DIP integration.
    sqlnet.ora
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME)
    NAMES.DEFAULT_DOMAIN = cal.com.br
    create user "CAL\RENATOH" IDENTIFIED EXTERNALLY
    GRANT CREATE SESSION TO "CAL\RENATOH"
    AD User CAL\RENATOH can connect to DB as 'sqlplus /'
    But after renaming AD User CAL\RENATOH to CAL\RENATOH1 and dropping DB user CAL\RENATOH and creating DB user CAL\RENATOH1
    drop user "CAL\RENATOH";
    create user "CAL\RENATOH1" IDENTIFIED EXTERNALLY;
    Now OS authentication 'sqlplus /' fails 'ORA-01017: invalid username/password; logon denied'
    Once I recreate the DB user with old AD user name 'CAL\RENATOH', OS authentication succeeds.
    create user "CAL\RENATOH" IDENTIFIED EXTERNALLY;
    ==========
    C:\Windows\system32>set username
    USERNAME=RENATOH1
    C:\Windows\system32>sqlplus /@rmlab001
    SQL*Plus: Release 11.1.0.6.0 - Production on Tue Jul 3 15:16:46 2012
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning and OLAP options
    SQL> select SYS_CONTEXT('USERENV','OS_USER') from dual;
    SYS_CONTEXT('USERENV','OS_USER')
    CAL\RENATOH
    =================
    Why the Database is still looking for old AD user name?
    Does Oracle cache information about OS authenticated users?

    Hi,
    Have you added the NPS server to the RAS and IAS Servers
    security group in AD DS?
    The NPS server needs permission to read the dial-in properties of user accounts during the authorization process.
    Try to add a loal user on the NPS server, then test with the local user. If it works, it means that there is something wrong between NPS and DC.
    If the issue persists, it means that the configuration between NPS and NAS is wrong.
    Steven Lee
    TechNet Community Support

  • Alter system kill session always gives ORA-00030

    Hello
    Im writing a tool for oracle and one of its features requires killing user session (Im connecting with JDBC). The database Im testing on is 11.2.0.2.
    I find the sid and the serial# without problems, than I issue the "alter system kill session 'x,y' immediate" command.
    So far so good, but I always get an ORA-00030 error saying this session cannot be found.
    I double check and the session does exist in the database.
    Because I want the tool to make the kill, killing via the OS is not an option.
    Its doesn't look like a permission problem because it gives the same error even when connected as system.
    Whats wrong ? does this kill command work at all ? Whats its limitations ?
    Thanks
    Guy Shilo
    Edited by: user13266377 on Jun 9, 2011 1:15 AM

    user13266377 wrote:
    Hello
    Im writing a tool for oracle and one of its features requires killing user session (Im connecting with JDBC). The database Im testing on is 11.2.0.2.
    I find the sid and the serial# without problems, than I issue the "alter system kill session 'x,y' immediate" command.
    So far so good, but I always get an ORA-00030 error saying this session cannot be found.
    I double check and the session does exist in the database.
    Because I want the tool to make the kill, killing via the OS is not an option.
    Its doesn't look like a permission problem because it gives the same error even when connected as system.
    Whats wrong ? does this kill command work at all ? Whats its limitations ?
    Thanks
    Guy Shilo
    Edited by: user13266377 on Jun 9, 2011 1:15 AMyou cannot kill the session already killed or disconnected from the session.
    refer the link:- this may help you to write scripts to kill session using dbms_scheduler
    Grant restricted and kill sessions.

  • Installing 10g R2 on WinXP SP2 NL gives ORA-19870, ORA-19612, ORA-06512...

    I'm trying to install version 10g R2 on the following configuration:
    ASUS K8V SE board + AMD 64 Athlon + 512Mb Ram + 160GB SATA HD + 18GB IDE HD Windows XP SP2 NL
    When I install 10g without creating the db then it installs without problem.
    If I try to create the db (afterwards or during install) I get the following errors:
    (Translated from Dutch to English)
    ORA-19870: Error by reading backup part C:\ORACLE\DB10G2\ASSISTANTS\DBCA\TEMPLATES\SEED_DATABASE.DFB
    ORA-19612: Data file 3 is not fixed because of missing or corrupt data.
    ORA-06512: IN "SYS.X$DBMS_BACKUP_RESTORE", line 5149
    ORA-06512: IN LINE 16
    I get the option to ( Ignore ) or ( Abort )
    Ignoring brings other simular problem and at the end I dont have a database.
    The files are on the HD and are readable, even installed from a second download gives the same errors.
    I have tryed several things even disable BitDefender 9 internet security but nothing helps.
    Can someone give me some hints ?
    Thanks in advance

    Hi damorgan,
    Thank for your reply. I try what you say at the first time but it's failed because of missing file. If it is successfully installed for you, I will try it.
    For me I ignore the database config process and end installation. After that I create successfully my database by orace configuration and migration tools > database config.
    Regards.
    Edited by: dialaya on 27 avr. 2010 14:58

  • On 9i RAC, one node gives ORA-03113: end-of-file on communica...

    Hi,
    working with:
    9i RAC 9.2.0.2.0
    HP Tru64 UNIX
    SHMMAX is set to 6GB (box has total of 10GB+ memory)
    I tried to make changes to SGA (db_cache and shared_pool) of 1 RAC node, but change gives below error during startup of RAC node 1 (while the other node is up and running with old settings):
    Old pfile settings (works):
    *.db_cache_size=512M
    *.shared_pool_size= 1258291200 # (1200MB)
    New pfile settings (gives above error)
    *.shared_pool_size=805306368 # (768MB)
    *.db_cache_size=1610612736 # (1536MB)
    Error on node 1:
    SQL> conn / as sysdba
    Connected to an idle instance.
    SQL> startup
    ORA-03113: end-of-file on communication channel
    After making new changed to pfile, I did startup, after about 2 minutes it gives the ‘ORA-03113: end-of-file on communication’ error, nothing is written to alert log about this startup and error. But reverting back to old pfile setting, works fine.
    Thank you for all your help in advance.
    Regards

    Wes... did you ever resolve this problem? If so we would be interested since we seem to have a similar siuation.
    - Wendel
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Wes Carberry ([email protected]):
    We have tried to create an intermedia index using the syntax:
    create index <index_name> on <table_name>(<blob_field_name>) indextype is ctxsys.context;
    After about thirty seconds we get the following error:
    ORA-03113: end-of-file on communication channel
    We have tried to create this index using SQL-PLUS and the SQL Window of TOAD and on client machines as well as the db server itself with the same results each time.
    Ideally we'd like to do this on a table of 4000 records, with the blob field populated with MS Word (each approx 40KB) documents. However, we have tried on tables of 4000, 3000, 2000, 1000, and 500 with no success. HOWEVER, we have tried it on a table of one record with success, so it seems to be an issue of scale.
    When I try to delete the index, I get the following error:
    ORA-29868: cannot issue DDL on a domain index marked as LOADING
    Does this mean that the index is still trying to load (it has been over 14 hours since I last executed the command)?
    Thanks for your help in advance.
    Wes<HR></BLOCKQUOTE>
    null

  • Registerschema gives ORA-01792: maximum number of columns...

    Hi,
    DB: Oracle9i Enterprise Edition Release 9.2.0.6.0
    Opp Sys: HP-UX
    I've just increased the size of an XSD we have loaded in a customers database and attempting to reload using dbms_xmlschema.registerschema gives the following error:
    ORA-31084: error while creating table "SOLO"."LetterRoot5799_TAB" for element "LetterRoot"
    ORA-01792: maximum number of columns in a table or view is 1000
    ORA-02310: exceeded maximum number of allowable columns in table
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 0
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 26
    ORA-06512: at "SOLO.WORK_TEST_LETTERS_XSD", line 23
    ORA-06512: at line 2
    Is there a work around for this?
    Thanks,
    Mike Moore

    Hi! I faced the same problem as author of a thread. At first it was just the same and I used solution that was offered - add attribute xdb:SQLInline="false".
    But now this error (ORA-01792: maximum number of columns in a table or view is 1000) became to rise on element that doesn't have a lot of attributes or subelements that coul exceed limit of 1000! Moreover it is based on complex type that already exists! It was created during another schema registration, which is included in schema that I'm trying to register now!
    Does anyone challenged this problem?
    I use Oracle9i Enterprise Edition Release 9.2.0.5.0

  • Bug? htmldb_util.reset_pw gives ORA-29278: SMTP transient error 451

    After changing mailprovider we had some troubles mailing from the database.
    After mailing to his SMTP-server we got the error message:
    ORA-29278: SMTP transient error: 451
    We were able to correct our custom code by replacing all the end-of-line LF with calls to
    UTL_TCP.CRLF.
    However, our Apex-application is still broken. By calling HTMLDB_UTIL.RESET_PW
    the system should mail the new pwd to our user.
    Should
    But it doesn't
    In the Mail Log/queue we again get the ORA-29278,
    so my deduction is that in the message that RESET_PW assembles a single LF is
    used and not the CRLF.
    Question: is there a way to overcome this bug?
    BTW, the SMTP-server is present. Writing a HTMLDB_MAIL.SEND by hand gives no trouble at all.

    CRLF characters are required to separate each SMTP command, per RFC 821 (http://www.ietf.org/rfc/rfc0821.txt), and that is what the APEX_MAIL package does.
    But the portion that "you are afraid of" which contains CHR(10) is the message[b] body of the reset password functionality of APEX - there can be any combination of characters in there. It is not a requirement that the body of the message uses CRLF for line endings. So, unfortunately, I don't think the deduction applies here.
    Let's start with some basic things. If you change the "SMTP Host Address" in the internal Administration Services of APEX to a known good SMTP host, does the problem go away?
    451 means "Requested action aborted: error in processing". That could be anything. It could even be an issue with your provider, your connection to the provider, etc. Does your provider have a log of the incoming "conversation" and a log of the abort? That may be helpful.
    Joel
    P.S. By the way, which version of Application Express/HTML DB are you using?

Maybe you are looking for

  • Itunes will not allow home sharing?

    Mac 10.8.5 and Itunes 11.3.1 will not turn on home share on same WiFi network (or using Ethernet).  Both my Windows 7 laptops run Itunes and allow home sharing.  I have uninstalled Itunes, opened all ports, taken down firewalls, and even did an ancie

  • Getting the data based on dates

    Hi All, In my application i am not able to retrieve the data from database between two dates. while entering the dates i am entring using : + "',to_date('+ fromdate+ "','DD-Mon-YYYY HH24:MI:SS')," as in database i have kept my fromdate type as "varch

  • Error: 0xc0000001 windows/system32/winload.efi missing or ..

    i have msi ge60 0nd series leptop and recently i want to recovery my system and go back factory settings but end up this error and i can' t recover. Need your help.

  • How to generate xml file with multiple nodes using sqlserver as database in SSIS..

    Hi , I have to generate the xml file using multiple nodes by using ssis and database is sqlserver. Can some one guide me on to perform this task using script task? sudha

  • Applet server vm

    Is there any way to use the Server VM in an applet? I am currently trying to run a java applet in both IE6 and firefox on windows 2000 with the jre from j2sdk-1.4.2_04. on the command line, "java -version" outputs Java(TM) 2 Runtime Environment, Stan