Forms :: How To Catch Warning / Error ORA-28002 In Oracle

Dec 6, 2010

SQL > conn ashish/pass@conn_string
ERROR:
ORA-28002: the password will expire within 1 days
----------------------------------------------------------
I want to catch this eror in forms: catch the error code ORA-28002 in ON-ERROR trigger and ON-Message trigger, however its not getting caught in the trigger. how to catch the warning/error ORA-28002 in oracle forms?

View 1 Replies


ADVERTISEMENT

Client Tools :: Catch Oracle Login Error In Batch File?

Feb 6, 2012

I have a Batch file(.bat) where I get the user name password ans schema name as a input . Based on that input I connect the sql and run some update query from bat file itself. Now I have issue ,when the user give wrong credintials it ask for the credintials again.

Is there any way to check the credintials of oracle and give the invalid credintial error via bat file. The sample of my Bat file is as follows.

@echo off
for /f %%i in ('sqlplus -s usename/password@db @H: est_db_connection.sql') do @set count=%%i
echo %count%
IF %count% EQU 1 ECHO ("Database connection working fine")
IF %count% NEQ 1 ECHO ("Not able to connect to database")

This is not working fine.

View 2 Replies View Related

Forms :: Oracle Form Login - No Warning Message After 5 Minutes

Nov 11, 2009

Is there any way to make a form timeout.

After login into form if there is no transaction/event happens I want it to throw one warning message after say 5 minutes.

View 9 Replies View Related

Forms :: How To Catch Exception Thrown By A Table

Feb 11, 2010

How can i catch the exception thrown by a PLSQL_TABLE.POPULATE_BLOCK. Actually i want to display alert messages if POPULATE_BLOCK doesn't contain any records. i wrote the PLSQL_TABLE.POPULATE_BLOCK(bk_data, 'block name');

In query procedure after that if i write any code for alert message then it is not getting executed it may be because of exception is handled by PLSQL_TABLE.POPULATE_BLOCK

What will be the solution to this problem ?

View 1 Replies View Related

Forms :: Displaying A Warning Message If No Detail Saved

Jul 25, 2011

I have 2 blocks, block 1 which is the master and block 2 which is the detail. Both block 1 and block 2 are multi record blocks. For my form I want to display a warning message to the user if they create a master block without also creating a detail.

View 2 Replies View Related

Application Express :: Raise Warning When Password Due To Expire - Oracle Database Users

Aug 23, 2012

Using Apex 4.1 and custom authentication based on Oracle Database users.

I want to be able to show a warning immediately after a user logs in if their password is due to expire in xx days. Oracle raises a warning (ORA-28002) but I don't know how to handle that from the standard Apex login page.

View 1 Replies View Related

How To Catch Null Value With C# Code

Jan 5, 2010

how to catch a null value with C# code?

My Asp.Net/C# application is connected to an Oracle database where it retrieves database values and also values calculated/returned from Oracle functions. My problem is that sometimes an Oracle function I calling returns a null value because of not correct input parameters which will cause Oracle function to (I think) return an null value. My problem and question is how to catch/obtain if he Oracle function returns a null value? Oracle function should return a decimal value if correct input parameters. Below is my row of code that crashes when Oracle function returns a null value in case of incorrect input parameters.

decGrossFreightRevenue = (decimal)(OracleNumber)cmdCalculateRevenueCall.ExecuteOracleScalar();

how to change my code to catch a null value and avoid a crash. I have tried several checks (if statements) without success.

View 2 Replies View Related

SQL & PL/SQL :: Catch The Triggering Statement In DMl Triggers

Dec 23, 2011

How to catch or store the sql statement that caused the trigger to fire in DMl Triggers.

View 11 Replies View Related

SQL & PL/SQL :: Functional Index - Catch Exception And Print Customized Message

Feb 16, 2011

I have a functional index.. which doesn't allow duplicate based on condition.I want to catch the exception and print the customized message but it always override my message.

create or replace function i_func
(tt_id in number,
d_date date,
stat in varchar2)
return varchar2
[code].....

output: ORA-00001: unique constraint (abb.TEST_IDX) violated

View 10 Replies View Related

Forms :: Assertion Failed Error On Oracle Forms 10g?

May 4, 2011

I have several forms developed in Oracle forms builder 10g version 9.0.4.0.19. It contains Hierarchical Tree items. when i run this form on this version of oracle, it's running properly. but when i compile and run it on oracle forms 10 version 10.1.2.0.2, it shows an error message stating Assertion Failed!, if I click on the Tree item. I cant find out what and where the problem is. If I build a new form with tree item, it is working properly.

View 1 Replies View Related

SQL & PL/SQL :: Execution Completed With Warning

May 2, 2011

I'm trying to run the following procedure and I'm getting he following message:

Warning: execution completed with warning
PROCEDURE etl_bago Compiled.

The procedure is created, the problem is that when I tried to run it with parameters I'm getting this error:

exec etl_bago ('july19.csv');

Error report:

ORA-06550: line 1, column 7:

PLS-00905: object SYSTEM.ETL_BAGO is invalid
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
06550. 00000 - "line %s, column %s:
%s"
[code]......

Btw, I'm using SQL Developer 1.5.3. And the procedure script is here:

[URL].....

View 33 Replies View Related

SQL & PL/SQL :: Warning Compiling A Function

Feb 10, 2012

I have a requirement to reformat some data elements that consist of two numbers separated by a hyphen e.g. 123-456. I have written a function to get the first number but it compiles with a warning.

CREATE OR REPLACE FUNCTION get_lowernumber
(housenumber varchar2)
RETURN varchar2
IS
v_hyphen number;
[code].......

View 8 Replies View Related

ORA-12713 Error In Oracle Forms?

Oct 11, 2012

i am getting ora-12713 error in oracle forms output whle displaying text in textbox.

ORA-12713:character data loss in NCHAR/CHAR conversion
ORA-01403 : no datafound.

these two erros are cuming together in oracle 11g and some data is lossing. other its displaying.

View 3 Replies View Related

Forms :: Run The Report In Oracle 10g Error

Jul 7, 2010

i tried to run the report via oracle froms 10g in BUTTON CLICK. But i got the error like "FRM-41219 : CANNONT FIND REPORT:INVALID ID". I did the Following code.

DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status varchar2(20);
BEGIN
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);

[code]....

View 8 Replies View Related

FRM-92101 Error In Oracle Forms

Oct 25, 2008

I am using windows Xp environment. Downloaded the software from Oracle website. Database is Oracle Express on windows. Have installed Oracle Forms 10.1.2.0.2 and OC4J also on windows xp Installation is fine and i am able to run forms same day. THe next day i am not able to run Oracle forms, i get error frm-92101 error.

I have tried posting this in various oracle forums and have not got a solution yet. I tried reinstalling. Every time i reinstall, it works for a day (the day i install, i have been able to create forms, compile and run them) but it does not work the next day. THis has happened thrice (reinstalled thrice).

Oracle JInitiator: Version 1.3.1.22
Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
User home directory = C:Documents and SettingsuserProxy Configuration: no proxyJAR cache enabled
Location: C:Documents and SettingsuserOracle Jar Cache
Maximum size: 50 MB

[code]...

View 1 Replies View Related

Forms :: ORACLE Error 6550 In FDPSTP

Jun 21, 2011

I am getting following error when we submit request through button in forms.but backend it is created.

ORACLE error 6550 in FDPSTP

Cause: FDPSTP failed due to ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'XXPL_PO_REQ_INTER_MAIN'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

View 7 Replies View Related

Forms :: FRM-92100 Error In Oracle 10.1.0.4 Under UNIX B.11.11

Jul 30, 2010

We have recently migrated from IAS 9.0 to IAS 10.1.2 in one of our development Server hosted in UNIX B.11.11. We are using Oracle forms as front end. We have re-compiled all the existing forms and libraries using IAS 10. There were no changes in the forms and libraries. We deployed the forms in our development box and configured it, since we are using our own environment specific copy of default.env file. With few of forms we are facing the FRM-92100 error mentioning the "Connection to Server was interrupted". Most of the forms are running fine but with few forms we are facing this error. Some of details are:-

Oracle 10.1.0.4
UNIX B.11.11
IAS 10.1.2

NLS_LANG parameter in default.env is set to "american_america.WE8ISO8859P1"..We have even tried copying the libraries in our local system and then opening and saving them and ftp'ng them back in to UNIX server and then recompiling there with full permissions but still unable to resolve this error.

View 2 Replies View Related

Windows :: Getting Error When Installing Oracle Forms On XP

Nov 14, 2010

When i trying to install oracle Forms on Windows XP i am getting following error message . When i click on Setup , Dos windows Opens with following error message .

Starting Oracle Universal Installer. Checking installer requirements.

Checking operating system version: must be 5.0, 5.1 or 5.2 . Actual 5.1
Passed
Checking monitor: must be configured to display at least 256 colors . Actual
4294967296 Passed
Checking swap space: 0 MB available, 1535 MB required. Failed <<<<

Some requirement checks failed. You must fulfill these requirements before continuing with the installation, at which time they will be rechecked.

Continue? (y/n) [n]

View 4 Replies View Related

Warning / Inbound Connection Timed Out (ORA-3136)

Jan 29, 2012

I am getting error in alert log file something like this:

WARNING: inbound connection timed out(ora-3136)

while on checking SQLNET.LOG file it is showing :

Tns error struct:

ns main err 12541
TNS:12541: TNS:no listener
ns secondary error 12560
nt main error 511
TNS:00511 : No listener
nt secondary error 146
nt OS err 0

View 3 Replies View Related

Backup & Recovery :: WARNING / Archived Log Not Deleted

Jan 23, 2012

I ran into the message RMAN-08138: WARNING: archived log not deleted - must create more backups during a backup. From what I understand this is caused when logs are removed that are needed for recovery.

rman target / nocatalog <<EOT
CONFIGURE CHANNEL DEVICE TYPE DISK clear ;
CONFIGURE CHANNEL DEVICE TYPE TAPE clear ;
CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' clear ;
CONFIGURE RETENTION POLICY TO recovery window of 14 days;
CONFIGURE BACKUP OPTIMIZATION OFF;
CONFIGURE DEFAULT DEVICE TYPE TO DISK;

[code].....

View 1 Replies View Related

Performance Tuning :: Tablespace Full Warning

Apr 26, 2012

If my tablespace goes beyond 80% I should get a email from Unix crontab.

1)Warning for tablespace 80% full.
2)critical for tablespace 90%full..

I need the script for Oracle tablespace with 87% and shell script.

Do I need 2 scripts? Is there anything ready available (Oracle 10g).

View 4 Replies View Related

Forms :: Error While Installing Oracle Developer Suite 10g?

Jul 1, 2011

While installing Dev Suite 10g i got the following error:[URL] What should i do? I specified another oracle home name, i have oracle database 11g installed too, and i'm installing dev suite 10g on another location.

View 3 Replies View Related

Forms :: Compiling Error When Using Bulk Collect In Oracle 10g?

Mar 15, 2010

i am getting compiling error when using bulk collect in oracle form 10g

Quote:this feture is not supported on client-side programs

View 3 Replies View Related

Forms :: Error While Installing Oracle Developer Suite 10g 10.1.2.0.2?

Oct 11, 2011

When I try to install "Oracle Developer Suite 10g 10.1.2.0.2" on Windows 7, I'm getting error , " Install has encountered an error while attempting to verify your virtual memory settings. verify that the sum of the initial sizes of the paging files is atleast 256 MB."

View 4 Replies View Related

RAC & Failsafe :: Database Time Spent Waiting Warning

Jan 16, 2012

i'm keep on getting below error every morning in my Database.this indicate in Grid control every morning.

Metrics "Database Time Spent Waiting (%)" is at 34.336 for event class "Concurrency"
Metrics "Database Time Spent Waiting (%)" is at 100 for event class "Other"
Metrics "Database Time Spent Waiting (%)" is at 44.78 for event class "Other"

i need to know, this is something that i should consider as a critical warning and how can i solve this .

View 1 Replies View Related

Data Guard :: Warning / ORA-16607 / One Or More Databases Have Failed

Mar 30, 2011

I have one primary database server and one physical standby database serve. but i am unable to fix "ORA-16607" while enabling configuration. during log switch redo data is being applied to the phy standby side but some thing wrong happens in BROKER

here are details........about my configuration

Primary database name PRIM
Physical Database Name STAN
net service PRIM
net service STAN

DGMGRL> show configuration

Configuration
Name: test
Enabled: YES
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
prim - Primary database
stan - Physical standby database

Current status for "test": Warning: ORA-16607: one or more databases have failed

======================================================
Alert log file First para show no problem for for redo to be transmitted to stndby
======================================================
LNS1 started with pid=48, OS id=5408
Thu Sep 21 21:32:03 2006
Thread 1 advanced to log sequence 59
Current log# 1 seq# 59 mem# 0: /u01/app/oracle/oradata/PRIM/redo01.log

[code]......

View 2 Replies View Related

Data Guard :: V$DATAGUARD_STATUS - Log Transport Services Warning

Nov 1, 2012

OS read hat, oracle enterprise edition 11g release 2, dataguard 2 physical standby's

everything works fine but since 1 day we get following warnings from dataguard on the primary server:

SELECT * FROM V$DATAGUARD_STATUS;

FACILITY          SEVERITY     DEST_ID MESSAGE_NUM ERROR_CODE CAL TIMESTAM
------------------------ ------------- ---------- ----------- ---------- --- --------
MESSAGE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Log Transport Services     Warning          0 309911     0 NO 01.11.12
RTC returned 2, disabling RTC for next 2 I/Os.

in the alert log it looks like this:

RTC returned 2, disabling RTC for next 2 I/Os.
Thu Nov 01 12:09:46 2012
RTC returned 2, disabling RTC for next 2 I/Os.
Re-enabling RTC following backoff interval 2.
Re-enabling RTC following backoff interval 2.
RTC returned 2, disabling RTC for next 2 I/Os.
RTC returned 2, disabling RTC for next 2 I/Os.
Re-enabling RTC following backoff interval 2.
Re-enabling RTC following backoff interval 2.
Thu Nov 01 12:11:16 2012
RTC returned 2, disabling RTC for next 2 I/Os.
Re-enabling RTC following backoff interval 2.

View 3 Replies View Related

Backup & Recovery :: Warning Message In Alert Logfile?

Nov 25, 2012

I see following warning message in alert log file.

Quote:WARNING: OMF is enabled on this database. Creating a physical standby controlfile, when OMF is enabled on the primary database, requires manual RMAN intervention to resolve OMF datafile pathnames.

NOTE: Please refer to the RMAN documentation for procedures describing how to manually resolve OMF datafile pathnames.

Is it just an information or something like warning message we need to look into it.

View 1 Replies View Related

Forms :: FRM-40508 / ORACLE Error / Unable To INSERT Record

Jan 14, 2013

I have an interface composed of five elements:

1.display_item (primary key)
2-list_item (foreign key) / / dynamic list :this is the cause of the error
3-lis_item (foreign key) / / dynamic list
4-text_item
5-button (insert commit)

when I click the button, an error is displayed:

FRM-40508: ORACLE error: unable to INSERT record.in detail: ora-02291 integrity constraint Violated - parent key not found

Note:

-the elements of two lists already exist in the parent table!!

-I use a block based.

-button

commit_form();

View 17 Replies View Related

Forms :: ORACLE ERROR Unable To Read List Of Values

Sep 28, 2010

We have recently shifted our database from 10G to 11G and after the intial hickups most of the thinghs have stablised. We had changed system by Alter System command so that database does not have case sensevity problem and with that all the reports from the forams have also stabilied However some of the forms are failing with the above error ORACLE ERROR Unable to read list of values

These form are running fine with users having DBA privelege. However other users this is failing.

We have also checked that with users not having DBA privelege we are able to read the data in the table within the form also. The query in the record group is very simple

"SELECT CODE,SHORTDESC FROM GENCODES WHERE CODETYPE='BS' AND CODE <> '00'"

All these forms were fine previously when database was on 10g.

Moreover there are many other fields where list of values are there and allthose are ruing fine.

I have also checked datatype and length in query as well as fields on the form

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved