Error in expdp - single schema

Hi,
We are exporting single schema using expdp command and getting following error while export in been taken:
Command used:
expdp impexp/********@dbname schemas=schema1 directory=DATA_PUMP_DIR dumpfile=EXPDP_schema1_PRE_231111.dmp LOGFILE=EXPDP_schema1_PRE_231111.log version=compatible content=ALL
Error
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/TABLESPACE_QUOTA
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/SYNONYM/SYNONYM
Processing object type SCHEMA_EXPORT/TYPE/TYPE_SPEC
Processing object type SCHEMA_EXPORT/DB_LINK
Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/COMMENT
Processing object type SCHEMA_EXPORT/TABLE/RLS_POLICY/RLS_POLICY
Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_SPEC
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA [PACKAGE:"SCHEMA1".PK_XFACE_IV_LOST_REP_REL_DTLS"]
ORA-06502: PL/SQL: numeric or value error: NULL index table key value
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 8358
----- PL/SQL Call Stack -----
object line object
handle number name
0x965e8970 19208 package body SYS.KUPW$WORKER
0x965e8970 8385 package body SYS.KUPW$WORKER
0x965e8970 2935 package body SYS.KUPW$WORKER
0x965e8970 9054 package body SYS.KUPW$WORKER
0x965e8970 1688 package body SYS.KUPW$WORKER
0x89194c60 2 anonymous block
Job "IMPEXP"."SYS_EXPORT_SCHEMA_03" stopped due to fatal error at 09:31:11
Please suggest what can be done to fix this...

Thanks for the reply..
but it is really strange that how compile time errors effect the overall export and import operation... ideailly it should deploy object as it is...
any other suggestion except to fix code? jst wondering what to do in situation where DBA's are not allowed to touch source codes..

Similar Messages

  • Full Expdp & Try to import single schema

    Hi All,
    I have full expdp backup & i want to do single schema import.
    When i m trying to import single schema it started full import.
    Export :-
    expdp praful/praful directory=dump dumpfile=full.dmp logfile=full.log full=y
    Import :-
    impdp praful/praful directory=dump dumpfile=full.dmp logfile=imp_praful.log remap_schema=PRAFUL:TEST
    Kindly give a suggetion for single schema import from full export dump.
    Regards,
    Praful

    Hi,
    Don't forget to include the parameter SCHEMAS - which provides the details, wher as remap_schema - suffice the details for remapping instead of importing to current schema which you are connected with respect to current session.
    - Pavan Kumar N

  • Error using expdp on Oracle XE

    Hi,
    When I try and do an export in Oracle XE I get the following error:
    D:\>expdp SYSTEM/vodafone SCHEMAS=XE_DATA DIRECTORY=dmpdir DUMPFILE=xedata.dmp
    Export: Release 10.2.0.1.0 - Production on Thursday, 29 June, 2006 10:47:10
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Producti
    n
    ORA-39002: invalid operation
    ORA-39070: Unable to open the log file.
    ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE", line 475
    ORA-29283: invalid file operation
    Any ideas??
    /John

    Hi guys,
    The problem was that Oracle didn't have access to the directory I created. So I created a directory in the Oracle home directory and it worked..
    Thanks,
    John

  • ORA-04030: out of process memory error for expdp utility

    Hi,
    I am using expdp utility to export schema objects. It was working fine for the past one year, but now I am facing this issue.
    It is giving below error while exporting one schema objects.
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    ORA-39125: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA while calling DBMS_METADATA.FETCH_XML_CLOB [TABLE:....................
    ORA-04030: out of process memory when trying to allocate 4108 bytes (Typecheck,kgghteInit)
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.KUPW$WORKER", line 6241
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    678894EC 14916 package body SYS.KUPW$WORKER
    678894EC 6300 package body SYS.KUPW$WORKER
    678894EC 2340 package body SYS.KUPW$WORKER
    678894EC 6861 package body SYS.KUPW$WORKER
    678894EC 1262 package body SYS.KUPW$WORKER
    501F624C 2 anonymous block
    Job "SYSTEM"."SYS_EXPORT_SCHEMA_37" stopped due to fatal error at 03:30:28
    DB version: Oracle 10.2.0.1
    SGA Details:
    Total System Global Area 1426063360 bytes
    Fixed Size 1251052 bytes
    Variable Size 243271956 bytes
    Database Buffers 1124073472 bytes
    Redo Buffers 57466880 bytes
    pga_agregate_target = 600M
    OS: Windows Server 2003 R2
    RAM: 3.5 GB
    I tried running expdp multiple times every time I will get out of memeory error along with different oracle errors, but the common error is out of memory ora -04030.
    In above case I got this error along with ORA-39125 and sometimes I will get with
    ORA-39014: One or more workers have prematurely exited.
    ORA-39029: worker 1 with process name "DW01" prematurely terminated
    ORA-31671
    I searched forums and found lot options but not for expdp utility.
    Can some one please help in resolving this issue.
    Thanks,
    Srikanth.K

    Hi;
    Please investigate your issue:
    Master Note for Diagnosing OS Memory Problems and ORA-4030 [ID 1088267.1]
    DataPump Export (EXPDP) Terminates With Error ORA-4030 [ID 1368462.1]
    Regard
    Helios

  • Expdp with schemas containing special charecters

    Hi!
    Need to export a schema which name contains the character "-".
    When using expdp with parameter schemas="Test1-test2" this error comes:
    ORA-39039: Schema expression "IN ('Test1')" contains no valid schemas.
    How do I escape the "-".
    Thanks,
    Kenn

    I have created the function below to replace the special characters before usig XMLElement. Try if it workes for you. Good luck
    FUNCTION NameofFunction(cNUMBER_STRING VARCHAR2) RETURN VARCHAR2
    AS
    BEGIN
    RETURN(
    REPLACE(
    REPLACE(
    --REPLACE(
    TRANSLATE(cNUMBER_STRING,
    'oAAAAAAECEEEEIIIIDNOOOOOxOUUUUYpbaaaaaaaceeeeiiiionooooouuuuypy'
    --' & ','&'||'amp;'),
    CHR(26),''),
    CHR(27),'')
    END NameofFunction;
    Regards,
    Rajesh Kanakagiri
    Edited by: user2899093 on Jan 20, 2010 1:16 PM

  • 500 internal server error for only single user

    Hi Experts,
    Pls help me that
    I am getting the problem of 500 Internal server error for a single user .
    Except that user remaining users are not getting this error, They are working fine
    i.e it is ESS & MSS  Package all other application working fine , this iview came from  Webdynpro .
    Regards
    Krishna

    Hi Arun,
    where can i check with that whether in DEV/PROD system...?
    I don't have access to PROD system and SU01 system too.
    Can you please guide me with the steps to get it done.
    Please check the below log which is getting displayed for the User, when he is logging in.
    Error summary
    While processing the current request, an exception occurred which could not be handled by the application or the framework.
    If the information contained on this page doesnu2019t help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this
    Root Cause
    The initial exception that caused the request to fail, was:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: ComponentUsage(FPMConfigurationUsage): Active component must exist when getting  interface controller
    at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.ensureActiveComponent(ComponentUsage.java:773)
    at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getInterfaceControllerInternal(ComponentUSage.java:348)
    at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getInterfaceController(ComponentUsage.java:335)
    at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdGetFPMConfigurationUsageInterface(InternalFPMComponent.java.245)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.changeToExceptionPerspective(FPMComponent.java:862)
    u2026 59 more
    Please provide me any help.
    Thanks in advance.
    Regards,
    Ponneswari A.

  • Error while Registering XML Schema

    Hi Team,
    The mail purpose of my project is to load data from XML feed file into Oracle tables. I did following steps which went perfectly fine ...
    I did following steps.
    1)create DIRECTORY xml_dir as 'c:\xmldata';
    2) create table xmltab of XMLType;
    3) Following packages are executed through "Sys" Schema
    1)dbmslob.sql;
    2)prvtlob.plb;
    4) An xmldata folder is created under "c:\" and file with data_file.xml is stored in it.
    5) insert into xmltab values(XMLType(bfilename('XML_DIR ','data_file.xml'), nls_charset_id('AL32UTF8')));
    When I try to execute following select statment "No Rows Selected" message is displayed; although there is one element in xml data file.
    SELECT OBJECT_VALUE
    FROM xmltab
    WHERE existsNode(OBJECT_VALUE, '/ConsolidatedAssetHeader[AssetSourceSystem= "CAPS"]')=1
    Now I think in order to use all functions like existsNode and exctractValue I will have to register Schema in DB.
    Following is the XML Schema file.
    <xsd:schema targetNamespace="schemas-dart-com:sql:ConsolidatedAssetHeader" xmlns:schema="schemas-dart-com:sql:ConsolidatedAssetHeader" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sqltypes="http://schemas.microsoft.com/sqlserver/2004/sqltypes" elementFormDefault="qualified">
    <xsd:import namespace="http://schemas.microsoft.com/sqlserver/2004/sqltypes" schemaLocation="http://schemas.microsoft.com/sqlserver/2004/sqltypes/sqltypes.xsd" />
    - <xsd:element name="ConsolidatedAssetHeader">
    - <xsd:complexType>
    - <xsd:sequence>
    <xsd:element name="InternalId" type="sqltypes:int" />
    - <xsd:element name="DCN">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="30" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="EventDateLastChanged" type="sqltypes:datetime" minOccurs="0" />
    - <xsd:element name="FinancialStatusIndicator" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="InScopeIndicator" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationPriorityIndicator" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="PhysicalInstallDate" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetComment" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="255" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetContractExtension" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetContractNumber" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetDescription" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="AssetFinancialInstallDate" type="sqltypes:datetime" minOccurs="0" />
    <xsd:element name="AssetFinancialRemovalDate" type="sqltypes:datetime" minOccurs="0" />
    - <xsd:element name="AssetFinancialStatus" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetName" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="255" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetParentSource" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetParentSourceID" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="AssetPhysicalInstallDate" type="sqltypes:datetime" minOccurs="0" />
    <xsd:element name="AssetPhysicalRemovalDate" type="sqltypes:datetime" minOccurs="0" />
    - <xsd:element name="AssetPhysicalStatus" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetPhysicalStatusIndicator" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSerialIndicator" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSerialNumber" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSource" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSourceID" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSourceIndicator" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSourceSystem" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSourceType" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetTag" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="BillabilityIndicator" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="InScopeFlag" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="IPAddress" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="NetworkNumber" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="SubnetAddress" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element ref="schema:ConsolidatedAssetLocation" minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    + <xsd:element name="ConsolidatedAssetLocation">
    - <xsd:complexType>
    - <xsd:sequence>
    <xsd:element name="InternalId" type="sqltypes:int" minOccurs="0" />
    <xsd:element name="ParentId" type="sqltypes:int" minOccurs="0" />
    - <xsd:element name="AssetLocationIDBillTo" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetLocationIDShipTo" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetLocationIDSoldTo" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSourceDt" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSourceIDDt" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="AssetSourceSystemDt" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="ContractNumberExtensionDt" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationBillToAddress" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationBillToAddressLine2" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationBillToAddressLine3" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationBillToCity" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationBillToCountry" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationBillToAddressLine4" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationBillToState" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationBillToZip" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationPriorityIndicator" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationShipToAddress" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationShipToAddressLine2" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationShipToAddressLine3" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationShipToAddressLine4" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationShipToCity" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationShipToCountry" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationShipToState" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationShipToZip" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationSoldToAddress" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationSoldToAddressLine2" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationSoldToAddressLine3" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationSoldToAddressLine4" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationSoldToCity" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationSoldToCountry" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationSoldToState" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="LocationSoldToZip" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="PartySource" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    - <xsd:element name="PartySourceID" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="RowCreateDateTime" type="sqltypes:datetime" minOccurs="0" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    I use following package to register schema, which is giving error
    BEGIN
    DBMS_XMLSCHEMA.registerSchema(
    'schemas-dart-com:sql:ConsolidatedAssetHeader',
    XDBURIType('http://schemas.microsoft.com/sqlserver/2004/sqltypes/sqltypes.xsd').getClob(),
    TRUE,
    TRUE,
    FALSE,
    TRUE);
    END;
    Following Error is displayed.
    BEGIN
    ERROR at line 1:
    ORA-31001: Invalid resource handle or path name
    "http://schemas.microsoft.com/sqlserver/2004/sqltypes/sqltypes.xsd"
    ORA-06512: at "SYS.XDBURITYPE", line 4
    ORA-06512: at line 2
    Can you please tell me what changes I need to make in order to resolve this error?Is there any specific location where I should put my schema file?
    Thanks in Advance
    Vaibhavi

    Create a file in c:\xmldata with the name my_xmlschema.xsd with the following content
    <xsd:schema targetNamespace="schemas-dart-com:sql:ConsolidatedAssetHeader" xmlns:schema="schemas-dart-com:sql:ConsolidatedAssetHeader" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sqltypes="http://schemas.microsoft.com/sqlserver/2004/sqltypes" elementFormDefault="qualified">
    <xsd:import namespace="http://schemas.microsoft.com/sqlserver/2004/sqltypes" schemaLocation="http://schemas.microsoft.com/sqlserver/2004/sqltypes/sqltypes.xsd" />
      <xsd:element name="ConsolidatedAssetHeader">
      <xsd:complexType>
      <xsd:sequence>
    <xsd:element name="InternalId" type="sqltypes:int" />
      <xsd:element name="DCN">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="30" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="EventDateLastChanged" type="sqltypes:datetime" minOccurs="0" />
      <xsd:element name="FinancialStatusIndicator" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="InScopeIndicator" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationPriorityIndicator" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="PhysicalInstallDate" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetComment" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="255" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetContractExtension" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetContractNumber" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetDescription" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="AssetFinancialInstallDate" type="sqltypes:datetime" minOccurs="0" />
    <xsd:element name="AssetFinancialRemovalDate" type="sqltypes:datetime" minOccurs="0" />
      <xsd:element name="AssetFinancialStatus" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetName" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="255" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetParentSource" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetParentSourceID" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="AssetPhysicalInstallDate" type="sqltypes:datetime" minOccurs="0" />
    <xsd:element name="AssetPhysicalRemovalDate" type="sqltypes:datetime" minOccurs="0" />
      <xsd:element name="AssetPhysicalStatus" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetPhysicalStatusIndicator" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSerialIndicator" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSerialNumber" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSource" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSourceID" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSourceIndicator" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSourceSystem" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSourceType" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetTag" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="BillabilityIndicator" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="InScopeFlag" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="IPAddress" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="NetworkNumber" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="SubnetAddress" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element ref="schema:ConsolidatedAssetLocation" minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    + <xsd:element name="ConsolidatedAssetLocation">
      <xsd:complexType>
      <xsd:sequence>
    <xsd:element name="InternalId" type="sqltypes:int" minOccurs="0" />
    <xsd:element name="ParentId" type="sqltypes:int" minOccurs="0" />
      <xsd:element name="AssetLocationIDBillTo" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetLocationIDShipTo" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetLocationIDSoldTo" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSourceDt" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSourceIDDt" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="AssetSourceSystemDt" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="ContractNumberExtensionDt" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationBillToAddress" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationBillToAddressLine2" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationBillToAddressLine3" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationBillToCity" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationBillToCountry" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationBillToAddressLine4" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationBillToState" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationBillToZip" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationPriorityIndicator" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationShipToAddress" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationShipToAddressLine2" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationShipToAddressLine3" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationShipToAddressLine4" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationShipToCity" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationShipToCountry" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationShipToState" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationShipToZip" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationSoldToAddress" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationSoldToAddressLine2" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationSoldToAddressLine3" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationSoldToAddressLine4" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="150" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationSoldToCity" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationSoldToCountry" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationSoldToState" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="LocationSoldToZip" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="PartySource" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
      <xsd:element name="PartySourceID" minOccurs="0">
      <xsd:simpleType>
      <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
    <xsd:maxLength value="50" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="RowCreateDateTime" type="sqltypes:datetime" minOccurs="0" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>

  • Error in executing authorization scheme code

    I run my application on APEX.ORACLE.COm and I immediatly get the following error:
    ORA-06550: line 13, column 28: PL/SQL: ORA-00942: table or view does not exist ORA-06550: line 12, column 14: PL/SQL: SQL Statement ignored ORA-06550: line 16, column 19: PLS-00364: loop index variable 'C1' use is invalid ORA-06550: line 16, column 5: PL/SQL: Statement ignored ORA-06550: line 17, column 15: PLS-00364: loop index variable 'C1' use is invalid ORA-06550: line 17, column 5: PL/SQL: Statement ignored ORA-06550: line 25, column 28: PL/SQL: ORA-00942: table or view does not exist ORA-06550: line
    Error ERR-1082 Error in executing authorization scheme code.
    Here are the login credentials:
    Workspace: RGWORK
    Application: Online Certification Application Prototype - 21405
    User: TESTER
    Password: test123
    The application s/b public . I am not able to identify the invalid authorization scheme. I checked all the authorization schemes in the Shared Components > Security > Authorization Schemes and can't find the culprit.
    Can someone assist please?
    Thank you,
    Robert
    My Blog: http://apexjscss.blogspot.com

    Your Authorization Scheme "Access control - administrator" has this line of code that uses a table that isn't there (or RGTEST has no access to):
    select id, application_mode
    from apex_adm.apex_access_setup
    This Authorization Scheme is used in the Admin tab.
    If you run the page in debug mode you'll see (amongst a lot of other stuff):
    0.19: Authorization Check: "11204012643155257465" User: "nobody" Component: "tab"
    0.20: Show ERROR page...
    That pointed me to the Tab section...and there it was!

  • Problems publishing a web-access on Sharepoint: Error when modifying list schemes

    Good afternoon.
    I have an application built with an access database with several forms and web macros which is published on Sharepoint 2010. Through this application - not too big not too complex (ca. 10 tables / less than 2000 records at most) - I receive updates
    that are loaded into external applications, mainly excel worksheets, ms project files and so on.
    I have been going through the cycle of developing and publishing new versions of the application on the same site for more than a year; suddenly, from severeal weeks ago on, I started receiving the following error affecting random tables (not always the
    same) which crashes the compilation and publishing:
    "Error when modifying lists schemes. Changing name to "ID" field on list XXXX failed"
    And each time the list is different. And of course I am no trying at all to change the name of any ID field !????
    Any clue of what might be happening?
    Thank you

    The article might have missed the step where the blogger might have missed the step. Read the following article and which confirms that you cannot use user controls in SB solutions.
    http://msdn.microsoft.com/en-us/library/gg615454.aspx
    If you are trying to build this in SharePoint 2013 then you must know that custom code is deprecated from SB solutions.
    Deprecation
    of Custom Code in Sandboxed Solutions
    For SP 2013 your best bet is to create an APP or create a farm solution (God please forgive me). :)
    Amit

  • Error while impoting XML schema format

    Hi Experts,
    I have successfully generated XSD schema from XML file by using third party tool but I was getting the below mentioned error while importing XML schema.Kindly suggest your ideas.
    Error:Cannot Import metadata.
    XML Parser failed:<invalid element name'xs:scehmaxmlns'> at line <2>,
    char<>in file <\\sapbobjbi40\DS Files\Charan\ ZWY_SVCLAIMS_TO_WTYWAREHOUSE.xsd>. (BODI-1112338)
    Regards,
    Ram

    Can you please share the XSD file ?

  • How to import a single schema into multiple target schema?

    Hi,
    I want to import a schema named sd from my source database to my target database in  schema sd1 and sd2.
    I have tried using the following impdp parameter which is throwing error :-
    impdp system/system schemas=sd remap_schema=sd:sd1,sd:sd2 directory=backup dumpfile=8.12.13.dmp logfile=8.12.13.log
    Please help me.

    If you look up the syntax in the docs, you will see that while you can remap many schemas into one, you cannot remap one schema into many.

  • Catching an error on a single line

    Is there a way to catch an error on a single line in a VBS script? From what I understand the "On Error Resume Next" will apply to all lines in a procedure.
    George

    Hello George,
    unfortunaly there is no way in VBS like the On Error Goto xxx in VB/VBA. You have to encapsulate the crtitcal lines with a On Error Resume Next/On Error Goto 0 pair and find an error with if Err.Number <> 0 then after every line and handle it e.g. with a Exit Sub call.
    Matthias
    Matthias Alleweldt
    Project Engineer / Projektingenieur
    Twigeater?  

  • ERR-1082 Error in executing authorization scheme code.

    Hi All,
    i have a different problem in apex....
    I am using below function to authenticate the apex users after SSO login. I have created authentication schemes for admin and users separately depending on that users will have access to the specific tabs.
    Now users are facing below error
    ORA-01403: no data found Error ERR-1082 Error in executing authorization scheme code.
    while they log in or submit the page. And the weired thing is randomly they are getting this error. 2 or 3 times in a week. and when i compile the authentication function that error will be resolved.
    this is function structure. Inside the function validation code is written.
    function F_auth_user( muser_name in varchar2, mauth_level in number, mgroup_name in varchar2) return boolean
    Some of the details: application users : 200 application size : 30MB
    May i know that how can i prevent this occurrence of error.

    Yes that is authorization schemes .
    Evidence is user can be able to login properly after compiling the function. otherwise the same error happening while navigating through out the applications.
    Function code:
    create or replace function F_auth_user(
    muser_name in varchar2,
    mauth_level in number,
    mgroup_name in varchar2) return boolean is
    ct number;
    muser_id number;
    begin
    select id into muser_id from t_employees where upper(email)=upper(muser_name);
    if muser_id is null or mauth_level is null or mgroup_name is null then
    return false;
    end if;
    if upper(mgroup_name) = 'ANY' then
    select count(*) into ct from t_employees emp, t_positions pos,
    t_employee_groups eg
    where emp.position = pos.id and
    pos.MgtLevel &gt;= mauth_level and
    emp.position = pos.id and
    emp.id = muser_id;
    elsif upper(mgroup_name) = 'USER' then
    select count(*) into ct from t_employees emp, t_positions pos,
    t_employee_groups eg
    where emp.position = pos.id and
    pos.MgtLevel &gt;= mauth_level and pos.MgtLevel!=6 and pos.MgtLevel!=4 and
    emp.position = pos.id and
    emp.id = muser_id ;
    elsif upper(mgroup_name) = 'ADMIN' then
    select count(*) into ct from t_employees emp, t_positions pos,
    t_employee_groups eg
    where emp.position = pos.id and
    pos.MgtLevel &gt;= mauth_level and pos.MgtLevel!=6 and
    emp.position = pos.id and
    emp.id = muser_id ;
    else
    select count(*) into ct from T_employees emp, T_positions pos,
    t_emp_group_mapping egm, t_employee_groups eg
    where emp.position = pos.id and
    emp.id = egm.employee_id and
    pos.MgtLevel &gt;= mauth_level and
    emp.position = pos.id and
    emp.id = muser_id and
    egm.group_id = eg.id and
    trim(eg.group_name) = mgroup_name;
    end if;
    if ct &gt; 0 then
    return true;
    end if;
    return false;

  • Error ERR-1082 Error in executing authorization scheme code.

    Hi,
    i imported my application from test to prod environment
    when run application i received the error (on login page)
    ORA-06550: line 13, column 19: PL/SQL: ORA-00942: table or view does not exist ORA-06550: line 12, column 13: PL/SQL: SQL Statement ignored ORA-06550: line 16, column 18: PLS-00364: loop index variable 'C1' use is invalid ORA-06550: line 16, column 4: PL/SQL: Statement ignored ORA-06550: line 17, column 14: PLS-00364: loop index variable 'C1' use is invalid ORA-06550: line 17, column 4: PL/SQL: Statement ignored ORA-06550: line 25, column 19: PL/SQL: ORA-00942: table or view does not exist ORA-06550: line
    Error      ERR-1082 Error in executing authorization scheme code.
    Any help?
    Thanks in advance
    Costantino

    Hi Scott,
    Thank you for the quick reply.
    What I did was to install APEX 3.1 to 11g db, and installed packaged application which called Software Management. It is working fine to log into the application and other operations, but I got the same error which reported on this thread once I applied the existing authorization schemes. So I thought if I missed to import the apex_access_setup and apex_access_control tables. I am looking for the solution to enable the default authorizations...
    I would appreciate if you could give me any suggestions.
    Thanks,
    Rui

  • Single schema or multiple schemas

    Hello
    A few years ago I worked on a greenfield project where we were building a system to serve 20 or so different departments with 1200+ users. The approach the existing DBA had taken was to use a single schema for all objects and for all apps. The big advantage I found with this approach was for development, we could have one database and each developer could develop whatever they wanted in their own schema. Name resolution meant that they could override the main copy of whichever object they were working on just by having it in their schema. Unfortunately the project went nowhere and I left after 3 months so I never got to see what issues were raised with the system in production. So I'm wondering, has anyone else taken this approach and if so what would you say are the main things to be wary of? Especially things that aren't a problem when the objects are distributed between multiple schemas.
    Thank you in advance
    David

    user12065404 wrote:
    Hi Ed
    Thank you for your reply. I think I need to clarify what I meant a little.
    On a number of sites I've been to there have been multiple applications spread out over multiple schemas for the same business unit. To draw on the emp example it would be like having the EMP schema containing the emp table and the DEPT schema containing the dept table, with a single HR application (for a single buisness unit/department) selecting from both. If you scale this up to 000s of tables and 30 odd schemas, it's a bit of a nightmare from the perspective of code location and permissions because each department needs to look across schemas to get all of the data to do their job. Effectively tables and code had become segregated into separate schemas by business "function" and it means that the applicaitons are so intertwined with the different schemas that to have more than one business unit means you either need a completely separate database or you have to look at VPD.
    App         SCHEMA      Table
    HR          emp         emp
    dept        dept
    Invoicing   emp         emp
    invoicing   inv
    contracts   contract
    orders      ORDER
    Ordering    emp         emp
    contracts   contract
    orders      ORDER
    orders     orderitem
    ...The advantage I saw with a single schema for all the data for a single business unit is the one you have mentioned - i.e. you can very easily set up a new business unit that is totally separate from the other by having a new schema and point the same version of the same application at it. Or failing that, using VPD. And on top of that, security is simplified - no needing direct grants from one schema to the other and especially not requiring WITH GRANT OPTION in the case of a view that pulls data from various schemas and rights to select from the view have to be grated to a role.
    App         SCHEMA      Table
    HR          abc_ltd     emp
    abc_ltd     dept
    Invoicing   abc_ltd     emp
    abc_ltd     inv
    abc_ltd     contract
    abc_ltd     ORDER
    Ordering    abc_ltd     emp
    abc_ltd     contract
    abc_ltd     ORDER
    abc_ltd     orderitem
    ...The other big advantage I saw was from a development and testing perspective. You can have one testing database supporting lots of developers working on lots of different projects against the same core data set and code. The multiple schema setup I described above means that effectively you need to have one testing database per project - which becomes unmanageable when databases start growing to the TB range.
    David
    Edited by: user12065404 on 26-Mar-2010 08:30
    Saw a typo in my first exampleOK, now it is a lot more clear.
    What you have here is a problem of some data (employee) being enterprise data, and other data being application data.
    I take it your "invoiceing" app is used by the sales side of the business, and "ordering" is used by the purchasing side (my last assignment when I was an apps analyst was the purchasing/inventory control for an auto manufacturer).
    With what I know at this point, I'd have an HR schema, an INVOICING schema, and an ORDERING schema. (Well actually, I'd have SALES and PURCHASING, because INVOICEING and ORDERING are going to have to integrate with other stuff in those areas). Even though invoicing and ordering both have a CONTRACT table, I'd think the properties of a contract for one would be different than the other, so the table design itself would be different. How about tables SALES_CONTRACT and PURCHASING_CONTRACT. Same concept for ORDERS, and both sales and purchasing would need header and details .... SALES_ORDER_HEADER, SALES_ORDER_DETAIL, PURCH_ORDER_HEADER, PURCH_ORDER_DETAIL.
    These two apps need for employee data should be pulled directly from the HR emp table, with access limited to stored procedures that control what data is exposed. Or from materialized views. Never try to maintain the same data in two places at once. It will never maintain consistency.

Maybe you are looking for

  • Problem in B1DE Installation

    I have installed B1DE and got the message "Sucessfully Installed" But when i Open VS.net 2003 , B1-Addon Template is not available when i select the New project(Vb.net/ C#). But in Help file says as given below. 1. Open the Microsoft Visual Studio .N

  • Pop Art Effect

    Could anyone please tell me if I can get the pop art effect, or download an application (the same that is found in the photo booth) or can I transport a photo from iphoto to the photo booth to get this effect onto my photo's?? Thanks Jo

  • How to organize variables for file saving and scalability?

    Hello, I have created several CVI applications that store production data for numerous machines.  To organize the data for file saving I have implemented structures.  This has worked well with one limitation, the inability to scale the structure at a

  • Oracle 9.20 DataBase Creation error

    Hello, I am a GIS developer and i should use Oracle 9i beacuse of my other software like ArcSDE and ArcGIS server version. I have a problem when i want to create a database using "DataBase Configration Assistante". On 81% and on "Creating and Startin

  • No speaker or headphones detected on HP Pavilion g6 Notebook

    Hi, I've been troubleshooting this issue for the last hour, and have yet to solve it using other similar audio posts and such. My speakers were working just fine two days ago, however after doing important Microsoft Updates, my speakers are no longer