XMLParser error in PL/SQL
I am using DBMS_XMLParser in Oracle 10g to parse an XML. The code is as follows:
CREATE OR REPLACE procedure xml_main is
P DBMS_XMLPARSER.Parser;
DOC CLOB;
v_xmldoc DBMS_XMLDOM.DOMDocument;
v_out CLOB;
BEGIN
P := DBMS_XMLPARSER.newParser;
DBMS_XMLPARSER.setValidationMode(p, FALSE);
DOC := '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<com.welligent.Student.BasicStudent.Create>
<ControlAreaSync messageCategory="com.welligent.Student" messageObject="BasicStudent" messageAction="Create" messageRelease="1.0" messagePriority="1" messageType="Sync">
<Sender>
<MessageId>
<SenderAppId>com.openii.SyncRouter</SenderAppId>
<ProducerId>a72af712-90ea-43be-b958-077a87a29bfb</ProducerId>
<MessageSeq>53</MessageSeq>
</MessageId>
<Authentication>
<AuthUserId>Router</AuthUserId>
</Authentication>
</Sender>
<Datetime>
<Year>2001</Year>
<Month>3</Month>
<Day>23</Day>
<Hour>13</Hour>
<Minute>47</Minute>
<Second>30</Second>
<SubSecond>223</SubSecond>
<Timezone>6:00-GMT</Timezone>
</Datetime>
</ControlAreaSync>
<DataArea>
<NewData>
<BasicStudent mealCode="" usBorn="Yes" migrant="No" workAbility="No" ellStatus="">
<StudentNumber>052589F201</StudentNumber>
<ExternalIdNumber>1234567890</ExternalIdNumber>
<StateIdNumber>123456</StateIdNumber>
<Name>
<LastName>Lopez</LastName>
<FirstName>Maria</FirstName>
<MiddleName>S</MiddleName>
</Name>
<Gender>Female</Gender>
<BirthDate>
<Month>1</Month>
<Day>1</Day>
<Year>1995</Year>
</BirthDate>
<Race>Hispanic</Race>
<Ethnicity>Hispanic</Ethnicity>
<PrimaryLanguage>English</PrimaryLanguage>
<HouseholdLanguage>Spanish</HouseholdLanguage>
<Address>
<Street>123 Any Street</Street>
<ApartmentNumber>12-D</ApartmentNumber>
<City>Los Angeles</City>
<County>Los Angeles</County>
<State>CA</State>
<ZipCode>90071</ZipCode>
</Address>
</BasicStudent>
</NewData>
</DataArea>
</com.welligent.Student.BasicStudent.Create>';
DBMS_XMLPARSER.PARSECLOB ( P, DOC );
v_xmldoc := DBMS_XMLPARSER.getDocument(P);
printElementAttributes(v_xmldoc);
exception
when DBMS_XMLDOM.INDEX_SIZE_ERR then
raise_application_error(-20120, 'Index Size error');
when DBMS_XMLDOM.DOMSTRING_SIZE_ERR then
raise_application_error(-20120, 'String Size error');
when DBMS_XMLDOM.HIERARCHY_REQUEST_ERR then
raise_application_error(-20120, 'Hierarchy request error');
when DBMS_XMLDOM.WRONG_DOCUMENT_ERR then
raise_application_error(-20120, 'Wrong doc error');
when DBMS_XMLDOM.INVALID_CHARACTER_ERR then
raise_application_error(-20120, 'Invalid Char error');
when DBMS_XMLDOM.NO_DATA_ALLOWED_ERR then
raise_application_error(-20120, 'Nod data allowed error');
when DBMS_XMLDOM.NO_MODIFICATION_ALLOWED_ERR then
raise_application_error(-20120, 'No mod allowed error');
when DBMS_XMLDOM.NOT_FOUND_ERR then
raise_application_error(-20120, 'Not found error');
when DBMS_XMLDOM.NOT_SUPPORTED_ERR then
raise_application_error(-20120, 'Not supported error');
when DBMS_XMLDOM.INUSE_ATTRIBUTE_ERR then
raise_application_error(-20120, 'In use attr error');
END;
CREATE OR REPLACE procedure printElementAttributes(doc DBMS_XMLDOM.DOMDocument) is
nl DBMS_XMLDOM.DOMNODELIST;
len1 NUMBER;
len2 NUMBER;
n DBMS_XMLDOM.DOMNODE;
e DBMS_XMLDOM.DOMELEMENT;
nnm DBMS_XMLDOM.DOMNAMEDNODEMAP;
attrname VARCHAR2(100);
attrval VARCHAR2(100);
text_value VARCHAR2(100):=NULL;
n_child DBMS_XMLDOM.DOMNODE;
BEGIN
-- get all elements
nl := DBMS_XMLDOM.getElementsByTagName(doc, '*');
len1 := DBMS_XMLDOM.getLength(nl);
-- loop through elements
FOR j in 0..len1-1 LOOP
n := DBMS_XMLDOM.item(nl, j);
e := DBMS_XMLDOM.makeElement(n);
DBMS_OUTPUT.PUT_LINE(DBMS_XMLDOM.getTagName(e) || ':');
-- get all attributes of element
nnm := DBMS_XMLDOM.getAttributes(n);
n_child:=DBMS_XMLDOM.getFirstChild(n);
text_value:=DBMS_XMLDOM.getNodeValue(n_child);
dbms_output.put_line('val='||text_value);
IF (DBMS_XMLDOM.isNull(nnm) = FALSE) THEN
len2 := DBMS_XMLDOM.getLength(nnm);
dbms_output.put_line('length='||len2);
-- loop through attributes
FOR i IN 0..len2-1 LOOP
n := DBMS_XMLDOM.item(nnm, i);
attrname := DBMS_XMLDOM.getNodeName(n);
attrval := DBMS_XMLDOM.getNodeValue(n);
dbms_output.put(' ' || attrname || ' = ' || attrval);
END LOOP;
dbms_output.put_line('');
END IF;
END LOOP;
END printElementAttributes;
While executing the xml_main proc from an anonymous block, I am getting the following error:
ORA-04063: package body "XDB.DBMS_XMLPARSER" has errors
ORA-06508: PL/SQL: could not find program unit being called: "XDB.DBMS_XMLPARSER"
ORA-06512: at "BALB.XML_MAIN", line 9
ORA-06512: at line 2
I've checked that the XDB is installed in my database by running the below query and getting the output
select comp_name, version, status
from dba_registry
where comp_name like '%XML%';
COMP_NAME VERSION STATUS
Oracle XML Database 10.2.0.2.0 VALID
1 row selected.
Please let me know a way out to resolve it?
It worked for me. I ran your code fine in Oracle 10g. Now 9i is probably a different story.
Similar Messages
-
Error while installing SQL Server 2012 X64 SP2,
Error while installing SQL Server 2012 X64 SP2,
When I installed the SQL Server 2012 X64 SP1, I got the attached error.
What might be the issue here?
Thank you
Best
JamalHello,
Are you trying to install SQL Server on a compressed or encrypted drive? SQL Server won’t install on a drive/folder with these attributes.
Are you trying to install SQL Server on a ReFS file system? It is not supported on SQL Server 2012.
Disable any security/antivirus software and download the media again. Mount the media (.ISO file) and try to install again.
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Error: while generating SQL.java.rmi.ServerException:
Hi:
I tried the JGuru's "MusicStore" example. HOwever at Task 6 and 7 I am getting the following error:
Error: while generating SQL.java.rmi.ServerException:
RemoteException occured in server thread; nested exception is:
* java.rmi.RemoteException: Error connecting to database;
nested exception is:
* SQL Exception: Failed to start database 'MusicStoreDB', see
the next exception for details.
Please make sure the database name/user/password is valid
and the J2ee server and database are running.
However when i check my database it is running perfectly:
E:\>%j2ee_home%\bin\cloudscape -start
Sun Feb 16 12:48:11 PST 2003: [RmiJdbc] Starting Cloudscape RmiJdbc Server Version
Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] COM.cloudscape.core.JDBCDriver registered i
Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] Binding RmiJdbcServer...
Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] No installation of RMI Security Manager...
Sun Feb 16 12:48:14 PST 2003: [RmiJdbc] RmiJdbcServer bound in rmi registry
Server:
J2EE server listen port: 1050
Naming service started:1050
Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;crea
te=true
Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:Cloudscape
DB;create=true
Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:Cloudscap
eDB;create=true
Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;crea
te=true
Binding DataSource, name = jdbc/MusicStore, url = jdbc:cloudscape:rmi:MusicStore
DB;create=false
Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.co
re.RemoteXaDataSource@1d88db7
Starting JMS service...
Initialization complete - waiting for client requests
Binding: < JMS Destination : jms/Topic , javax.jms.Topic >
Binding: < JMS Destination : jms/Queue , javax.jms.Queue >
Binding: < JMS Cnx Factory : TopicConnectionFactory , Topic , No properties >
Binding: < JMS Cnx Factory : QueueConnectionFactory , Queue , No properties >
Binding: < JMS Cnx Factory : jms/QueueConnectionFactory , Queue , No properties
>
Binding: < JMS Cnx Factory : jms/TopicConnectionFactory , Topic , No properties
>
Starting web service at port: 8000
Starting secure web service at port: 7000
J2EE SDK/1.3.1
Starting web service at port: 9191
J2EE SDK/1.3.1
J2EE server startup complete.
Can anyone suggest me a way out..plzwhat type of persistent u r using also post ur query if bmp and check with another example with cmp.
-
ORA-00604: error at recursive sql level 1ORA-01882: timezone region not fou
hello eveyone i have installed SQL developer and try to create a connexion but it shows the following error:
" : ORA-00604: error at recursive sql level 1ORA-01882: timezone region not found"
(i choosed TNS as connexion type , default as rol )
plz help
thanksHi Raccio,
Using the forum search functionality, I came across the following threads with some tips that might help you:
ORA-00604 & ORA-01804 when connecting to Oracle 11 database 11.1.0.6.0
ora-01882 "timezone region not found" with 3.0.03.97 but not with 3.0.03.45
Regards,
Gary Graham
SQL Developer Team
Edited by: gggraham on Jul 20, 2011 1:03 PM -
Error in appdstln.sql during upgrade to 12.1.1
Hi All,
I am upgrading my 11.5.9 ebs to 12.1.1 I have gone through all steps outlined in chapter 3 of Oracle® E-Business Suite
Upgrade Guide Release 11i to 12.1.3 Part No. E16342-03. I am now in point number 10 under " Perform the Upgrade" i.e :
Run the American English upgrade patch driver which is (u6678700.drv)
After going through nearly 130,000 jobs I got the following error in appdstln.sql
ORA-01400: cannot insert NULL into("AP"."AP_PAYMENT_HIST_DISTS"."INVOICE_DISTRIBUTION_ID")
Please help me get through this error asap as we are very low on time.Please log a SR as no similar issues are reported in MOS website.
Thanks,
Hussein -
Hi,
I am installing SAP 4.7 Enterprise on Red Hat 5.3 and Oracle 10.2.0.4. When I install 4.7 Enterpirse I have an error in catproc.sql phase like below: -
ERROR 2009-06-02 18:42:34
CJS-00084 SQL statement or script failed.<br>DIAGNOSIS: Error message: ORA-955 for defaultdestSQL> Rem bnainani 11/29/00 - specify compatible=8.0 for create_queue_tableSQL> Rem liwong 10/20/00 - add def$_destination.flagSQL> Rem bnainani 11/15/00 - specify compatible=8.0 for queue tableSQL> Rem narora 09/13/00 - add comment on new def$_destination columnsSQL> Rem liwong 09/01/00 - add master w/o quiesce: fixesSQL> Rem liwong 07/12/00 - add total_prop_time_latSQL> Rem liwong 06/29/00 - add total_txn_count, total_prop_timeSQL> Rem liwong 05/17/00 - add_master_db w/o quiesceSQL> Rem jstamos 05/17/00 - add_master_db w/o quiesceSQL> Rem elu 01/24/00 - add column apply_init to def$_destinationSQL> Rem alakshmi 12/02/99 - Bug 979398: Before-row insert trigger onSQL> Rem def$_propagatorSQL> Rem wesmith 10/31/98 - change shape of table def$_pushed_transactionsSQL> Rem jnath 02/23/98 - bug 601972: split anonymous pl/sql blocksSQL> Rem wesmith 01/21/98 - create def$_pushed_transactions table forSQL> Rem server-side RepAPISQL> Rem nbhatt 07/27/97 - change create_queuetable -> create_queue_tableSQL> Rem nbhatt 04/21/97 - change 'TRACKING' in CREATE_QUEUE to 'DEPENDENCYSQL> Rem nbhatt 04/21/97 - change syntax of create_queueSQL> Rem liwong 04/16/97 - Alter view system.AQ$DEF$_AQ{CALL,ERROR}SQL> Rem liwong 04/11/97 - Fixing defaultdest_primary typoSQL> Rem jstamos 04/10/97 - remove unneeded indexesSQL> Rem nbhatt 04/08/97 - change create_qtable to create_queuetableSQL> Rem jstamos 04/04/97 - tighter AQ integrationSQL> Rem liwong 04/02/97 - Add schema_name, package_name in def$_calldestSQL> Rem ato 03/31/97 - create_qtable interface changeSQL> Rem liwong 03/25/97 - remove batch_no from def$_tranorderSQL> Rem liwong 02/24/97 - pctversion --> 0 for def$_aqcall, def$_aqerrorSQL> Rem liwong 02/22/97 - Remove dropping view aq$def$_aqcallSQL> Rem ademers 02/07/97 - Remove constraint def$_calldest_callSQL> Rem liwong 01/11/97 - drop and create aq$def$_aqcall (temporary)SQL> Rem liwong 01/10/97 - Alter view aq$def$_aqcallSQL> Rem liwong 01/07/97 - Alter default value for batch_noSQL> Rem jstamos 12/23/96 - change temp$nclob colSQL> Rem jstamos 11/21/96 - nchar supportSQL> Rem sjain 11/11/96 - Remove dummy buffer # commentSQL> Rem asgoel 11/05/96 - Disable misc_tracking in def$_aqerrorSQL> Rem sjain 11/06/96 - deferror changesSQL> Rem vkrishna 10/28/96 - change STORED IN to STORE AS for lobSQL> Rem sjain 10/02/96 - Aq conversionSQL> Rem sbalaram 09/24/96 - ARPC performance - add foreign key indexSQL> Rem jstamos 09/06/96 - rename temp$lob and temporarily change nclobSQL> Rem sjain 09/03/96 - AQ conversonSQL> Rem ademers 08/02/96 - queue_batch default in def_destinationSQL> Rem ademers 07/29/96 - queue_batch default in def_callSQL> Rem ademers 07/29/96 - queue_batch defaultSQL> Rem jstamos 07/24/96 - add system.temp$lobSQL> Rem sbalaram 07/22/96 - create def$_aqcall and def$_aqerror tablesSQL> Rem jstamos 06/12/96 - LOB support for deferred RPCsSQL> Rem ldoo 06/28/96 - Comment out queue_table from def_tranorderSQL> Rem ademers 05/30/96 - create def_originSQL> Rem ademers 05/28/96 - fix def_destination col namesSQL> Rem ldoo 05/09/96 - New security modelSQL> Rem sjain 05/01/96 - add seq col to def_destinationSQL> Rem ademers 04/29/96 - add batch_no, dep_scn to def_callSQL> Rem jstamos 12/04/95 - 324303: use index to avoid sorting the queueSQL> Rem jstamos 08/17/95 - code review changesSQL> Rem jstamos 08/16/95 - add comments to tablesSQL> Rem wmaimone 01/04/96 - 7.3 mergeSQL> Rem hasun 01/31/95 - Modify tables.<br>SOLUTION: See ora_sql_results.log and the Oracle documentation for details.
Also some error lines in ora_sql_results.log file like below:
Connected to an idle instance.
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Disconnected
DOC> The following statement will cause an "ORA-01722: invalid number"
DOC> error and terminate the SQLPLUS session if the user is not SYS.
DOC> Disconnect and reconnect with AS SYSDBA.
ERROR at line 1:
ORA-01432: public synonym to be dropped does not exist
ERROR at line 1:
ORA-00942: table or view does not exist
DOC> The following PL/SQL block will cause an ORA-20000 error and
DOC> terminate the current SQLPLUS session if the user is not SYS.
DOC> Disconnect and reconnect with AS SYSDBA.
ERROR at line 1:
ORA-01921: role name 'EXP_FULL_DATABASE' conflicts with another user or role
name
ERROR at line 1:
ORA-01434: private synonym to be dropped does not exist
ERROR at line 1:
ORA-04043: object DIANA does not exist
ERROR at line 1:
ORA-04043: object DIUTIL does not exist
ERROR at line 1:
ORA-04043: object DIUTIL does not exist
ERROR at line 1:
ORA-04043: object SUBPTXT2 does not exist
ERROR at line 1:
ORA-04043: object CREATE_TABLE_COST_COLUMNS does not exist
ERROR at line 1:
ORA-01434: private synonym to be dropped does not exist
And ora_sql.log file is:
connect / as sysdba ;
SHUTDOWN ABORT;
exit;
Executed successfully.
connect / as sysdba ;
SHUTDOWN IMMEDIATE;
exit;
Executed with error.
connect / as sysdba ;
STARTUP NOMOUNT;
exit;
Executed successfully.
connect / as sysdba ;
CREATE DATABASE MDP CONTROLFILE REUSE MAXLOGFILES 255 MAXLOGMEMBERS 3 MAXLOGHISTORY 1000 MAXDATAFILES 254 MAXINSTANCES 50 NOARCHIVELOG CHARACTER SET UTF8 NATIONAL CHARACTER SET UTF8 DATAFILE '/oracle/MDP/sapdata1/system_1/system.data1' SIZE 350M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M EXTENT MANAGEMENT LOCAL DEFAULT TEMPORARY TABLESPACE PSAPTEMP TEMPFILE '/oracle/MDP/sapdata1/temp_1/temp.data1' SIZE 1750M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M UNDO TABLESPACE PSAPUNDO DATAFILE '/oracle/MDP/sapdata1/undo_1/undo.data1' SIZE 700M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M SYSAUX DATAFILE '/oracle/MDP/sapdata1/sysaux_1/sysaux.data1' SIZE 1000M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE 10000M
LOGFILE GROUP 1 ('/oracle/MDP/origlogA/log_g11m1.dbf',
'/oracle/MDP/mirrlogA/log_g11m2.dbf') SIZE 50M REUSE ,
GROUP 2 ('/oracle/MDP/origlogB/log_g12m1.dbf',
'/oracle/MDP/mirrlogB/log_g12m2.dbf') SIZE 50M REUSE ,
GROUP 3 ('/oracle/MDP/origlogA/log_g13m1.dbf',
'/oracle/MDP/mirrlogA/log_g13m2.dbf') SIZE 50M REUSE ,
GROUP 4 ('/oracle/MDP/origlogB/log_g14m1.dbf',
'/oracle/MDP/mirrlogB/log_g14m2.dbf') SIZE 50M REUSE
exit;
Executed successfully.
connect / as sysdba ;
set newpage 0
set space 0
set pagesize 0
set linesize 32767
set markup HTML off
set heading off
set verify off
set feedback off
set trimspool on
set sqlprompt SQL>
set termout on
set verify off
set echo off
spool ora_query3_tmp0_1.res
SELECT STATUS FROM V$INSTANCE;
spool off
exit;
Executed successfully.
connect / as sysdba ;
@@/oracle/MDP/102_64/rdbms/admin/catalog.sql
exit;
Executed successfully.
connect / as sysdba ;
set newpage 0
set space 0
set pagesize 0
set linesize 32767
set markup HTML off
set heading off
set verify off
set feedback off
set trimspool on
set sqlprompt SQL>
set termout on
set verify off
set echo off
spool ora_query3_tmp0_1.res
SELECT STATUS FROM V$INSTANCE;
spool off
exit;
Executed successfully.
connect / as sysdba ;
@@/oracle/MDP/102_64/rdbms/admin/catblock.sql
exit;
Executed successfully.
connect / as sysdba ;
set newpage 0
set space 0
set pagesize 0
set linesize 32767
set markup HTML off
set heading off
set verify off
set feedback off
set trimspool on
set sqlprompt SQL>
set termout on
set verify off
set echo off
spool ora_query3_tmp0_1.res
SELECT STATUS FROM V$INSTANCE;
spool off
exit;
Executed successfully.
connect / as sysdba ;
@@/oracle/MDP/102_64/rdbms/admin/catproc.sql
exit;
Executed with error.
connect / as sysdba ;
set newpage 0
set space 0
set pagesize 0
set linesize 32767
set markup HTML off
set heading off
set verify off
set feedback off
set trimspool on
set sqlprompt SQL>
set termout on
set verify off
set echo off
spool ora_query3_tmp0_1.res
SELECT STATUS FROM V$INSTANCE;
spool off
exit;
Executed successfully.
connect / as sysdba ;
@@/oracle/MDP/102_64/rdbms/admin/catproc.sql
exit;
Executed with error.
connect / as sysdba ;
set newpage 0
set space 0
set pagesize 0
set linesize 32767
set markup HTML off
set heading off
set verify off
set feedback off
set trimspool on
set sqlprompt SQL>
set termout on
set verify off
set echo off
spool ora_query3_tmp0_1.res
SELECT STATUS FROM V$INSTANCE;
spool off
exit;
Executed successfully.
connect / as sysdba ;
@@/oracle/MDP/102_64/rdbms/admin/catproc.sql
exit;
Executed with error.
connect / as sysdba ;
set newpage 0
set space 0
set pagesize 0
set linesize 32767
set markup HTML off
set heading off
set verify off
set feedback off
set trimspool on
set sqlprompt SQL>
set termout on
set verify off
set echo off
spool ora_query3_tmp0_1.res
SELECT STATUS FROM V$INSTANCE;
spool off
exit;
Executed successfully.
connect / as sysdba ;
@@/oracle/MDP/102_64/rdbms/admin/catproc.sql
exit;
Executed with error.
connect / as sysdba ;
set newpage 0
set space 0
set pagesize 0
set linesize 32767
set markup HTML off
set heading off
set verify off
set feedback off
set trimspool on
set sqlprompt SQL>
set termout on
set verify off
set echo off
spool ora_query3_tmp0_1.res
SELECT STATUS FROM V$INSTANCE;
spool off
exit;
Executed successfully.
connect / as sysdba ;
@@/oracle/MDP/102_64/rdbms/admin/catproc.sql
exit;
Executed with error.
The errors are like these. How can I correct these errors and continue to installation? Is the oracle version 10.2.0.4 not correct version to install 4.7 enterprise on Red Hat Linux 5.3?
Best regards,Hi Markus,
I found 5 ERROR. There are different lines.
First one:
<fld name="STATUS">
<strval><![CDATA[ERROR]]>
Second one:
CASE (= 'AUTOALLOCATE') RETURN (' AUTOALLOCATE '),
CASE (DEFAULT) RETURN (' ERROR ' + (tTablespaces.extMgmtAllocMode
Third one:
CASE (= 'DICTIONARY') RETURN (' DICTIONARY '),
CASE (DEFAULT) RETURN (' ERROR ' + (tTablespaces.extMgmtMode
Fourth one:
CASE (= 'AUTOALLOCATE') RETURN (' AUTOALLOCATE '),
CASE (DEFAULT) RETURN (' ERROR ' + (tTablespaces.extMgmtAllocMode
Fifth one:
CASE (= 'DICTIONARY') RETURN (' DICTIONARY '),
CASE (DEFAULT) RETURN (' ERROR ' + (tTablespaces.extMgmtMode
Which one will I change to OK? Must all off them change to OK?
Also is this problem about only these oracle error in your oppinion? For example in first line of ora_sql_results.log I have an error like below:
CJS-00084 SQL statement or script failed
Connected to an idle instance.
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
But ORACLE_HOME and ORACLE_SID environment variable are ok. Also I can connect and start and stop database manually. There is no problem about it.
I installed anly Oracle patch 10.2.0.4. I didn't install any oracle interim patch. Should I have install oracle interim patch for Oracle 10.2.0.4?
Best regards, -
To_numer function return error in pl/sql
Hello,
I don't have a prob when running select to_number('1234.56') from dual, the numer contains digit decimal
But this stm return error Invalid number in procedure unless I use to_number('1234.56','9999999.99')
Please help me out.
Do I have to set parameter in DB ?
BTW: my NLS_NUMERIC_CHARACTER is set to '.,'
Thanks.to_numer function return error in pl/sql
hlthanh wrote:
Hello,
I don't have a prob when running select to_number('1234.56') from dual, the numer contains digit decimal
But this stm return error Invalid number in procedure unless I use to_number('1234.56','9999999.99')
Please help me out.
Do I have to set parameter in DB ?
BTW: my NLS_NUMERIC_CHARACTER is set to '.,'
Thanks.Handle: hlthanh
Status Level: Newbie
Registered: Mar 7, 1999
Total Posts: 94
Total Questions: 60 (38 unresolved)
so many questions & so few answers.
How SAD! -
Error in converting SQL 2014 Trial to Full version using VLKey
Hi,
I am currently trying to upgrade my SQL 2014 evaluation version to the full version.
I have purchased a Volume License for SQL Server 2014 Server/CAL and have extracted the product key from the ISO File.
I have verified this product key with the product activation department and it is confirmed that it is a valid product key "ProdKey3 SQL Svr Standard Edtn 2014 00204 PA/BP VL:GVLK Pre Pidded"
However, when i input the product key in to the server, it is showing me the error message:
The SQL product key is not valid, enter key from certificate of authenticity or SQL server packaging
Checked on the version of the evaluation and this is the edition - Microsoft SQL Server 2014.0120.2000.08
The site that I am activating the server on does not have any internet connection, does this affect the activation?
Would there be an alternate phone activation method for converting to Trial to Full?
Kindly Assist. Thank you.Hi Julian,
Firstly, according to the error message, please ensure that your SQL Server installation file is not corrupt, and make sure you use corresponding license key matched the edition and version of SQL Server. For more details about the error, please review the
similar
thread.
Secondly, in addition to Ed’s post, you can also use the following command lines to upgrade SQL Server 2014 Trial to a full version.
Setup.exe /q /ACTION=editionupgrade /INSTANCENAME=<MSSQLSERVER or instancename> /PID=<PID key for new edition>" /IACCEPTSQLSERVERLICENSETERMS
Thirdly, for more detailed information regarding to the license issue, please call
1-800-426-9400,
Monday through Friday, 6:00 A.M. to 6:00 P.M. (Pacific Time) to speak directly to a Microsoft licensing specialist. For international customers, please use the Guide to Worldwide Microsoft Licensing Sites to find contact information in your locations.
Thanks,
Lydia Zhang -
Getting error while expanding SQL Server 2012 agent.
Hi All,
Server Version Details: Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64)
Oct 19 2012 13:38:57
Copyright (c) Microsoft Corporation
Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)
We are using SQL Server 2012 in Active/Passive Cluster and the problem is getting below error while expanding SQL Agent. Please share you views on this. Thank You.
TITLE: Microsoft SQL Server Management Studio
Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&LinkId=20476
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
A severe error occurred on the current command. The results, if any, should be discarded. (Microsoft SQL Server, Error: 0)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=11.00.3000&EvtSrc=MSSQLServer&EvtID=0&LinkId=20476
BUTTONS:
OK
Regards,
Kalyan
----Learners Curiosity Never Ends----Hi OHM SAI RAM,
I’m writing to follow up with you on this post. Was the problem resolved after checking the error message and performing the action plan steps? I’d like to mark this issue as "Answered". Please also feel free to unmark the issue, with any new findings or
concerns you may have.
Thanks,
Sofiya Li
Sofiya Li
TechNet Community Support -
Getting error while installing sql server std 2008 R2 on win 7 prof. sp1 64bit
Hi,
I am getting error while installing sql server std 2008 R2 on win 7 prof. sp1 64bit. I have already tried all option but fail to installation
an error during the installation of assembly micro soft.vc80.crtHi,
I am getting error while installing sql server std 2008 R2 on win 7 prof. sp1 64bit. I have already tried all option but fail to installation
an error during the installation of assembly micro soft.vc80.crt
Can you please post summary.txt file here.Below link will help you in finding it.
http://technet.microsoft.com/en-us/library/ms143702(v=sql.105).aspx
Also with error you posted I guess it is a known issue .You need to install below package and then continue with fresh installation
http://www.microsoft.com/en-gb/download/details.aspx?id=15336
Please make sure before beginning fresh installation you make sure previous failed installation is removed completely.Use add remove program to remove failed SQL Server.If yu still face issue please post summary.txt file here
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
Error while installing SQL Server 2008 R2 in Windows 7 SP1 machine
Hi Team,
Error while installing SQL Server 2008 R2 in Windows 7 SP1 machine. I can confirm this machine has .Net
Feature enabled and with Latest version.
TITLE: Microsoft SQL Server 2008 R2 Setup
The following error has occurred:
Error 25541.Failed to open XML file C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config, system error: -2147024786
Regards,
Muthukumar.S.P.Hi,
Can you follow workaround mentioned in below msdn blog
http://blogs.msdn.com/b/astebner/archive/2007/11/01/5826719.aspx
As per the blog you have to open the msi log files which must be located at
C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log
In MSI log files search for the error mentioned in blog. Below link will help you read setup log files
http://msdn.microsoft.com/en-gb/library/ms143702%28v=sql.105%29.aspx
PS: Please read links carefully and patiently and if it does not solves issue please post summary.txt file and details.txt file on skydrive for analysis
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Articles -
Error While Installing SQL SERVER 2012 on Windows Serrver 2012 R2
I encounter the following errors while installing SQL SERVER on Windows SERVER 2012 R2, can anybody help me out?
dotdazzleIf you are using any system account then password is not needed. From the screenshot I see NT Authority\.... so you don't need password.
Balmukund Lakhani | Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
This posting is provided "AS IS" with no warranties, and confers no rights.
My Blog |
Team Blog | @Twitter
Author: SQL Server 2012 AlwaysOn -
Paperback, Kindle -
SP 2013 Server + Dec 2013 CU. Upgrading from SharePoint 2010.
We have a web application that is distributed over 7-8 content databases from SharePoint 2010. All but one database are upgradable. However, one database gives:
Invalid object name 'Webs'.
while running Test-SPContentDatabase or Mount-SPContentDatabase.
EventViewer has the following reporting 5586 event Id:
Unknown SQL Exception 208 occurred. Additional error information from SQL Server is included below.Invalid object name 'Webs'.
After searching a bit, these links do not help:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/fd020a41-51e6-4a89-9d16-38bff9201241/invalid-object-name-webs?forum=sharepointadmin
we are trying PowerShell only.
http://blog.thefullcircle.com/2013/06/mount-spcontentdatabase-and-test-spcontentdatabase-fail-with-either-invalid-object-name-sites-or-webs/
In our case, these are content databases. This is validated from Central Admin.
http://sharepointjotter.blogspot.com/2012/08/sharepoint-2010-exception-invalid.html
Our's is SharePoint 2013
http://zimmergren.net/technical/findbestcontentdatabaseforsitecreation-problem-after-upgrading-to-sharepoint-2013-solution
Does not seem like the same exact problem.
Any additional input?
Thanks, Soumya | MCITP, SharePoint 2010Hi,
“All but one database are upgradable. However, one database gives:
Invalid object name 'Webs'.”
Did the sentence you mean only one database not upgrade to SharePoint 2013 and given the error?
One or more of the following might be the cause:
Insufficient SQL Server database permissions
SQL Server database is full
Incorrect MDAC version
SQL Server database not found
Incorrect version of SQL Server
SQL Server collation is not supported
Database is read-only
To resolve the issue, you can refer to the following article which contains the causes and resolutions.
http://technet.microsoft.com/en-us/library/ee513056(v=office.14).aspx
Thanks,
Jason
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Jason Guo
TechNet Community Support -
Error while running sql queries..
Hi there,
We are suppose to run gather schema stats..
but while running the procedure we are getting following error..
gather_schema.sql:
exec fnd_stats.gather_schema_statistics('CMWCONN');
exec fnd_stats.gather_schema_statistics('CMW');
exec fnd_stats.gather_schema_statistics('ALL');
SQL> @gather_schema.sql;
BEGIN fnd_stats.gather_schema_statistics('CMWCONN'); END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'FND_STATS.GATHER_SCHEMA_STATISTICS' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
BEGIN fnd_stats.gather_schema_statistics('CMW'); END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'FND_STATS.GATHER_SCHEMA_STATISTICS' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
BEGIN fnd_stats.gather_schema_statistics('ALL'); END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'FND_STATS.GATHER_SCHEMA_STATISTICS' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Could you give me the correct pl/sql procedure to run the query.
Thanks,.
Balu.Actually the script was working fine last week..we are using the following script
SQL> exec fnd_stats.gather_schema_statistics('ALL');
but it throws me the following error
BEGIN fnd_stats.gather_schema_statistics('ALL'); END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'FND_STATS.GATHER_SCHEMA_STATISTICS' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored -
Hi
We have a big problem, We can't create internal orders, when I run the CREATE INTERNAL ORDER, it finish with ERROR:
Concurrent Manager encountered an error while running SQL*Plus for your concurrent request 134980682.
Review your concurrent request log and/or report output file for more detailed information.
this is the log:
+---------------------------------------------------------------------------+
Purchasing: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
POCISO module: Create Internal Orders
+---------------------------------------------------------------------------+
Current system time is 26-JUL-2013 09:21:09
+---------------------------------------------------------------------------+
+-----------------------------
| Starting concurrent program execution...
+-----------------------------
+---------------------------------------------------------------------------+
Start of log messages from FND_FILE
+---------------------------------------------------------------------------+
Begin create internal sales order
Updating Req Headers
14 Reqs selected for processing
Top of Fetch Loop
Source Operating Unit: 82
Selecting Currency Code
Currency Code : MXP
Selecting Order Type
Order Type ID:1001
Selecting Price List from Order Type
Deliver To Location Id: 196
Inserting Header : 3908784
Getting the customer id
Getting the customer id: 15334
Unhandled Exception : ORA-01403: no data found
+---------------------------------------------------------------------------+
End of log messages from FND_FILE
+---------------------------------------------------------------------------+
Concurrent Manager encountered an error while running SQL*Plus for your concurrent request 134980682.
Review your concurrent request log and/or report output file for more detailed information.
+---------------------------------------------------------------------------+
Executing request completion options...
Output file size:
78
Output is not being printed because:
The print option has been disabled for this report.
Finished executing request completion options.
+---------------------------------------------------------------------------+
Concurrent request completed
Current system time is 26-JUL-2013 09:21:14
+---------------------------------------------------------------------------+
Some suggestion for resolve it??
Thanks & Regards.In the document 294932.1 Section 4 there are no pre-installation patches or update for OS RedHat LinuxAS4.
When I type echo $LD_ASSUME_KERNEL it doesn't display any value so do I need to set the LD_Assume_Kernal value manually.
If yes, please let me know the path and command to set the kernel value.
Thanks
Amith
Maybe you are looking for
-
How to turn a doc designed for spread into a page ordered pdf?
I am a relative InDesign newbie, so please excuse my ignorance. I have document of installation instructions that is printed on a single double-sided piece of paper, which is then folded. So in InDesign, there are two layout spreads. The first one in
-
Designing Layout of Query Component
Hi, I am using the query component both in basic and advanced mode. I just want to know whether i can change the layout pattern of fields in query component or not. If yes, then please provide some guidelines.
-
Can developers read Address Book Notes?
Hope someone can help. When allowing an app to read your iOS address book, can the developers read your notes? Or do they only have access to names and emails/phone numbers? There can be a lot of information stored in Address Book such as anniversari
-
Software to build on-line record store
Are there any off the shelf packages that will enable me to build an ON-LINE RECORD STORE, that includes listening to samples of music downloading music etc, searcing. I have to do it within 6 weeks I Basically want to use one package without use man
-
Recovery Manager Help hp windows 7
I want to reset my computer to Factory Settings, but when i got to start > all programs > recovery manager. It is not there. I have windows 7 hp 6530b is the model number.