ORA-00162: external dbid length 117 is greater than maximum(16)

A .net user facing this oracle issue any body plz identify the soution it will be very big help.This is the error.
ORA-00162: external dbid length 117 is greater than maximum(16)

Hello,
What's your Database name? Can you post content of your tnsnames.ora file?
Here is an example of tnsnames.ora
MYDB =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =192.168.1.100)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = dedicated)
      (SERVICE_NAME = MYDB)
  )Regards
OrionNet

Similar Messages

  • Export error: value of length column (38) greater than VARDATA column (36)

    Hello @,
    I am performing an export on HP-UX/Oracle of a R/3 Enterprise 1.10 system.
    I already use got the latest R3load binary. For pool table KAPOL I get
    this strange error and I couldn't find any further information about it:
    cat SAPPOOL.log
    (EXP) TABLE: "DEBI"
    (EXP) TABLE: "DVPOOL"
    (EXP) TABLE: "DVPOOLTEXT"
    (EXP) TABLE: "FINPL"
    (EXP) TABLE: "GLTP"
    (EXP) TABLE: "KALK"
    value of length column (38) greater than VARDATA column (36)
    (CNVPOOL) conversion failed for row 356 of table A004       VARKEY = 001V ZSP0003010TI060067A.01      00000000 
    (CNV) ERROR: data conversion failed.  rc = 2
    (DB) INFO: disconnected from DB
    /usr/sap/AVT/SYS/exe/run/R3load: job finished with 1 error(s)
    /usr/sap/AVT/SYS/exe/run/R3load: END OF LOG: 20110117114148
    SQL> desc kapol
    Name                                      Null?    Type
    TABNAME                                   NOT NULL VARCHAR2(30)
    VARKEY                                    NOT NULL VARCHAR2(195)
    DATALN                                    NOT NULL NUMBER(5)
    VARDATA                                            RAW(36)
    SQL> select length(vardata),count(*) from kapol group by length(vardata);
    LENGTH(VARDATA)   COUNT(*)
                 72     183681
    select dataln,count(*) from kapol  group by dataln;
        DATALN   COUNT(*)
        -32730          2
            36     183679
    Does this mean that one row in KAPOL has to be changed from within SAP?
    Or could it be an error/bug within R3load?
    Regards,
    Mark
    Edited by: Mark Foerster on Jan 17, 2011 12:46 PM

    Maybe this information is of any help:
    I opened a support call and was told by SAP support to change the
    two entries from -32730 to -32732. Don't ask me why...

  • How to prevent numericstepper from setting the value to the defined Maximum when a number greater than maximum is entered in by keyboard and user hits the "Enter" key.

    I need to set the Maximum so that the use can use the mouse to change the value of numericstepper (and not go over a certain number), but at the same time I have to allow the user to enter their value by typing in the text field. When the user enters a number greater than the Maximum, I disable the "Ok" button of the dialog and show a red warning(error message). The issue is that the user can hit "Enter" and numeric stepper would set the value to the Maximum and the dialog box would close and the rest of code would run. I want the numericstepper not to change the value and keep showing the warning even if the user hits the "Enter".
    Note: Setting maxChar does not help since my maximum is 1000, and user might enter 5555
    I would appreciate the help.

    Thanks for trying to help, But
    The issue is that if I set the maximum value of stepper 1 greater than the max value that I want, then the user can select an invalid value(of myMax + 1) when he clicks on the UP arrow of the numeric stepper(which is not acceptable for what I am working on).
    I need to preserve the users invalid number, while not letting the user to select an invalid number by clicking UP key.
    I noticed that when the user enters a number greater than the Maximum, and then click on the down arrow, it would set the value to 1 less than the maximum. This is not acceptable either.

  • ORA-02005: implicit (-1) length not valid for this bind or define datatype

    Error received when attempting to login to Portal 3.0.8.9 using Internet Explorer 5.50.4522.1800CO (from Oracle OBI 5.0).
    Error does not occur when using Netscape 4.75. However, Netscape pegs CPU between every Portal page. I must maximize/minimize the Windows Task Manager in order for Netscape to move to next Portal page.
    Both browsers work with other sites.
    ORA-02005: implicit (-1) length not valid for this bind or define datatype
    DAD name: portal30
    PROCEDURE : PORTAL30.home
    URL : http://hostname:port/pls/portal30/portal30.home
    PARAMETERS :
    ============
    ENVIRONMENT:
    ============
    PLSQL_GATEWAY=WebDb
    GATEWAY_IVERSION=2
    SERVER_SOFTWARE=Oracle HTTP Server Powered by Apache/1.3.12 (Win32)
    ApacheJServ/1.1 mod_ssl/2.6.4 OpenSSL/0.9.5a mod_perl/1.24
    GATEWAY_INTERFACE=CGI/1.1
    SERVER_PORT=80
    SERVER_NAME=host
    REQUEST_METHOD=GET
    QUERY_STRING=
    PATH_INFO=/pls/portal30/PORTAL30.home
    SCRIPT_NAME=/pls
    REMOTE_HOST=
    REMOTE_ADDR=127.0.0.1
    SERVER_PROTOCOL=HTTP/1.1
    REQUEST_PROTOCOL=HTTP
    REMOTE_USER=
    HTTP_CONTENT_LENGTH=
    HTTP_CONTENT_TYPE=
    HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
    HTTP_HOST=host
    HTTP_ACCEPT=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
    application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword,
    application/pdf, */*
    HTTP_ACCEPT_ENCODING=gzip, deflate
    HTTP_ACCEPT_LANGUAGE=en-us
    HTTP_ACCEPT_CHARSET=
    HTTP_COOKIE=ses= (removed due to length limitations)
    Authorization=
    HTTP_IF_MODIFIED_SINCE=
    HTTP_REFERER=

    Hi Matt
    Thanks for your help. Here's some extracts from a NUnit test case that I made to show ArrayBinding bombing on VARCHAR2(4000).
    private void SetupAdapterAndCommandForArrays()
    OracleParameter p9 = new OracleParameter();
    p9.OracleDbType = OracleDbType.Varchar2;
    p9.ParameterName = ":p_instr_array";
    p9.CollectionType = OracleCollectionType.PLSQLAssociativeArray;
    p9.ArrayBindSize = new int[]{4000, 4000};
    p9.Size = 2;
    p9.Direction = ParameterDirection.Input;
    p9.ArrayBindStatus = new OracleParameterStatus[]{OracleParameterStatus.Success,OracleParameterStatus.Success};
    OracleCommand comm = new OracleCommand();
    comm.Connection = new OracleConnection("Data Source=aboded12_local;user id=pcm_app;password=pcm_app");
    comm.CommandText = "PCM_OWNER.PKG_DAC_JASON.InsertStringArray";
                   comm.CommandType = CommandType.StoredProcedure;
    comm.Parameters.Add(p9);
    da = new OracleDataAdapter();
    da.InsertCommand = comm;
    da.InsertCommand.Connection.Open();
    [Test]
    public void TestStringArrayOf4000()
    SetupAdapterAndCommandForArrays();
    da.InsertCommand.Parameters[0].Value = new string[]{new string(Convert.ToChar("3"),4000), new string(Convert.ToChar("4"), 4000)};
    da.InsertCommand.ExecuteNonQuery();
    So when I run TestStringArrayOf4000() i get the : Oracle.DataAccess.Client.OracleException : ORA-02005: implicit (-1) length not valid for this bind or define datatype error.
    If i run another test i have that sets up an array with less than 4000 this works fine.
    any help you can offer is greatly appreciated!
    Message was edited by:
    [email protected]
    Message was edited by:
    [email protected]

  • ORA-01741: illegal zero-length identifier

    Hi Friends,
    I am facing a weird situation while creating a report with region having type as SQL Query(PL/SQL function body returning SQL Query).
    I have a package function which takes 4 parameters and returns a SQL query in a varchar2 variable.
    Now when I have the following code in my region source and on applying changes is showing ORA-01741: illegal zero-length identifier
    DECLARE
    l_query VARCHAR2 (5000);
    BEGIN
    SELECT apx_dashboard_pkg.f_int_monthly_grid (:p5_1, :p5_2, :p5_3, :p5_4)
    INTO l_query
    FROM DUAL;
    RETURN l_query;
    END;
    If I change my code as below by passing values and run, then it does the job perfect.
    DECLARE
    l_query VARCHAR2 (5000);
    BEGIN
    SELECT apx_dashboard_pkg.f_int_monthly_grid(200712,
    'IC',
    3,
    'AVARO'
    INTO l_query
    FROM DUAL;
    RETURN l_query;
    END;
    I have no clue where I am doing wrong.
    Please help me.
    Thanks,
    Raj.

    Thanks guys for your responses.
    Varad,
    I have tried with 'Generic Column Names' and it worked wonderfully.
    Scott,
    I would definitely consider your point because it might be the reason for erroring out in some of my pages in the application.
    Thanks a lot.

  • Formatting external drive for read/write PC/Mac & files greater than 4GB

    I'm on Snow Leopard and deliver an external drive off-site to a video editor who needs to read/write to the drive and return the edited files and then I need to read/write all over again. All video files are greater than 4GB. How would I go about this? Third party applications like MacDrive create too much overhead when processing video files. FAT32 limits file sizes to 4GB.

    Hi WillDuffy;
    Your requirement of files greater than 4GB eliminates FAT.
    In your case since you don't have access to the PC, I am afraid you are forced to use the NTFS. This will require you to use the reverse engineered effort called NTFS-3G to be able to write to the disk from your Mac. Sorry.
    Allan
    Message was edited by: Allan Eckert

  • I have a Seagate Slim Portable 500 GB USB 3.0 external hard drive that worked great with my Macbook Pro 13" Retina but gets ejected and won't show files on any iMac.

    I have a Seagate Slim Portable 500 GB USB 3.0 external hard drive that worked great with my Macbook Pro 13" Retina but gets ejected and won't show files on any iMac. My Macbook Pro and the two different iMacs I tried it on were all using Mountain Lion, so the only difference was the iMac versus Macbook Pro.

    I just tried this, no luck...
    I connected a different USB cable, still the same problem. Tried both cables with the problematic hard drive on two different computers, still the same problem.
    At this point I assume I'll probably need professional help in saving the files, thanks for the assistance.

  • Transferring data to a flat file with a length greater than 255 bytes??

    Is there a way to do this?  At the end of the month, my dataset will reach a length of anywhere between 271 and 335.  Even though I have the transfer field setup with a length of 512, I am only getting 255 characters worth of data when I pull the flat file in from the server.
    Has anyone discovered a way to handle this?  I cannot break the record up into blocks of 255, the Transfer has to be able to handle something greater than a length of 255.
    Many Thanks!
    Tavares L. Phillips

    OK - according to OSS note 626010:
    Short text          "TRANSFER f TO dataset" ignores LENGTH addition                                                                               
    Responsible         SAP AG                                              
    Component           BC-ABA-LA                                           
                        Syntax, Compiler, Runtime                           
    Long text                                                                               
    Symptom                                                                 
    In rare cases, the "TRANSFER f TO dataset" statement ignores the LENGTH 
    addition.                                                               
    Other terms                                                             
    DATASET, FILE                                                           
    Reason and Prerequisites                                                
    This is caused by a kernel error.                                       
    Solution                                                                
    The error is corrected for SAP_BASIS 6.20 using kernel patch 848.       
    Valid releases                                                          
    Software Component                        Release                       
                                              from            to                                                                               
    SAP_BASIS  SAP Basis component                                                                               
    610          - 620            
    It's an old note but...?
    Rob

  • Create tablespace whose name length is greater than 50 ?

    Can i create tablespace in oracle 10g whose name length is greater than 50 characters ?

    Name tablespaces descriptively using a maximum of eight characters. Although Oracle Database tablespace names can be 30 characters long, portable UNIX filenames are restricted to 14 characters. The recommended standard for a datafile basename is tn.dbf, where t is a descriptive tablespace name and n is a two-digit string. Because the extension and the two-digit string take six characters, only eight characters remain for the tablespace name.
    http://download.oracle.com/docs/html/B10811_05/app_ofa.htm

  • ORA-28232: invalid input length for obfuscation toolkit

    hi,
    i am facing this error when i enterd more then 8 charecter in the input string.
    ORA-28232: invalid input length for obfuscation toolkit
    why i cant user more then 8 charecter for password.?

    Rajnish Chauhan wrote:
    hi,
    i am facing this error when i enterd more then 8 charecter in the input string.
    ORA-28232: invalid input length for obfuscation toolkit
    why i cant user more then 8 charecter for password.?
    28232, 0000, "invalid input length for obfuscation toolkit"
    // *Cause:  Length of data submitted for encryption or decryption is not a
    //          multiple of 8 bytes.
    // *Action: Make sure that the length of the data to be encrypted or decrypted
    //          is a multiple of 8 bytes.since you did not share with us exactly what you did, we can say exactly what you did wrong.
    How do I ask a question on the forums?
    SQL and PL/SQL FAQ

  • 2100 The ByteArray parameter in Loader.loadBytes() must have length greater than 0.

    Hi,
               Can any one help me how to resolve this issue 
    2100 The ByteArray parameter in Loader.loadBytes() must have length greater than 0.
    Thanks,

    Hi,
               Can any one help me how to resolve this issue 
    2100 The ByteArray parameter in Loader.loadBytes() must have length greater than 0.
    Thanks,

  • :Offset specification "+4" is greater than or equal to field length ("4")

    hi all,
    when i writing routine for Date field(len 8) in transfer rules, im getting below error
    <b>:Offset specification "+4" is greater than or equal to field length ("4")</b>
    the same routine in another old dev server , there were no syntax errors.
    pls can anyone help me out in this
    thanks

    Activated transfer rules w/o routine , and again i created the same routine , no syntx errors.
    thanks

  • How can a function returning character length greater than 4000 be selected in SQL

    Hi,
    I want to know if there is a way to write a select query on a function call which returns a varchar of more than 4000 characters.
    CREATE OR REPLACE FUNCTION FUNC1
    RETURN VARCHAR2
    IS
    str VARCHAR2(32767);
    BEGIN
         str := <some string greater than 4000 char>;
          RETURN str;
    END;
    SELECT FUNC1 from dual; ---- This gives an PL/SQL numeric or value error. Character string buffer too small.
    Is there any way to resolve this?
    Thanks

    32767 is not default. The default is still 4000 for VARCHAR2. You need to set the initialization parameter MAX_STRING_SIZE= EXTENDED for 32767.
    Text from Oracle documentation
    Extended Data Types
    Beginning with Oracle Database 12c, you can specify a maximum size of 32767 bytes for the VARCHAR2, NVARCHAR2, and RAW data types. You can control whether your database supports this new maximum size by setting the initialization parameter MAX_STRING_SIZE as follows:
    If MAX_STRING_SIZE = STANDARD, then the size limits for releases prior to Oracle Database 12c apply: 4000 bytes for the VARCHAR2 and NVARCHAR2 data types, and 2000 bytes for the RAW data type. This is the default.
    If MAX_STRING_SIZE = EXTENDED, then the size limit is 32767 bytes for the VARCHAR2, NVARCHAR2, and RAW data types.

  • Query to select values greater than, where AS clause is used

    Oracle 10g
    Requesting your help in writing the query correctly.
    I have the following 2 tables. The AddProjectPhase and AddProject tables. It is many to many relationship. Each project can have a predefined set of 4 different phases under it. Each phase has a start date and an end date. I am writing a report to get the phases which have a duration greater than, for example, 3 months.
    The query below is working fine to just display the list of all the phases along with the duration of each phase. I am not able to modify it to select the phases which have a duration, for example, 3 or more months.
    CREATE TABLE  "ADDPROJECT"
       (     "VERSIONNO" NUMBER(*,0),
         "PROJID" VARCHAR2(20),
         "PROJNAME" VARCHAR2(60),
         "PROJSTARTDATE" DATE,
         "PROJSTATUS" VARCHAR2(20),
         "PROJENDDATE" DATE,
         "PROJENDTYPE" VARCHAR2(20),
         "PROJENDREASON" VARCHAR2(1000),
         "UCPROJECTMANAGER" VARCHAR2(20),
         "FROMDATE" DATE,
         "TODATE" DATE,
         "SRCHFIELD" VARCHAR2(20),
         "OPERATOR" VARCHAR2(20),
         "PARENTPROJID" VARCHAR2(20),
         "PROJHIDDENDATE" VARCHAR2(20),
          CONSTRAINT "PK_B36" PRIMARY KEY ("PROJID", "PROJHIDDENDATE") ENABLE
    CREATE TABLE  "ADDPROJECTPHASE"
       (     "VERSIONNO" NUMBER(*,0),
         "PROJPHASEID" NUMBER(9,0),
         "PHASESTARTDATE" DATE,
         "PHASEENDDATE" DATE,
         "RRDATE" DATE,
         "PHASENAME" VARCHAR2(30),
         "PROJPHASESTATUS" VARCHAR2(20),
         "PROJID" VARCHAR2(20),
         "OPERATOR" VARCHAR2(20),
         "FROMDATE" DATE,
         "TODATE" DATE,
         "SRCHFIELD" VARCHAR2(20),
         "REVIEWCOMMENTS" VARCHAR2(1000),
         "PROJHIDDENDATE" VARCHAR2(20),
         "ISUEVALUATION" NUMBER(1,0),
         "SOLUTIONINGTEAMINVOLVEMENT" NUMBER(1,0),
         "ISUNAME" VARCHAR2(20),
          CONSTRAINT "PK_A63" PRIMARY KEY ("PROJPHASEID") ENABLE
       )Below is the query to display the list of all the phases along with the duration of each phase which is working fine.
    SELECT pp.phaseName "phasename",
    pp.phaseStartDate "phaseStartDate",
    pp.phaseEndDate "phaseEndDate",
    pp.projPhaseStatus "projPhaseStatus",
    ap.projID "projID",
    ap.projName "projName",
    ap.projHiddenDate "projHiddenDate",
    ap.projStartDate "projStartDate",
    CASE
        WHEN pp.phaseEndDate IS NOT NULL
        THEN MONTHS_BETWEEN(1+pp.phaseEndDate,pp.phaseStartDate)
        WHEN pp.phaseEndDate IS NULL
        THEN MONTHS_BETWEEN(1+sysDate,pp.phaseStartDate)
        ELSE null
    END "phaseMonths"
    FROM AddProjectPhase pp, AddProject ap
    WHERE ap.projID = pp.projID
    AND ap.projHiddenDate = pp.projHiddenDate
    ORDER BY ap.projIDHowever the modified query shown below to select all the phases greater than, for example, 3 months, is resulting in
    ORA-00904: "PHASEMONTHS": invalid identifier SELECT pp.phaseName, pp.phaseStartDate, pp.phaseEndDate
    FROM AddProjectPhase pp, AddProject ap
    WHERE ap.projID = pp.projID
    AND ap.projHiddenDate = pp.projHiddenDate
    AND PhaseMonths IN
    (SELECT
    (CASE
    WHEN pp.phaseEndDate IS NOT NULL
    THEN MONTHS_BETWEEN(1+pp.phaseEndDate,pp.phaseStartDate)
    WHEN pp.phaseEndDate IS NULL
    THEN MONTHS_BETWEEN(1+sysDate,pp.phaseStartDate)
    ELSE null
    END) AS PhaseMonths
    FROM AddProjectPhase pp, AddProject ap
    WHERE ap.projID = pp.projID
    AND ap.projHiddenDate = pp.projHiddenDate)
    ORDER BY ap.projID

    Looking for this?
    select *
       from (
            SELECT pp.phaseName "phasename"
              , pp.phaseStartDate "phaseStartDate"
              , pp.phaseEndDate "phaseEndDate"
              , pp.projPhaseStatus "projPhaseStatus"
              , ap.projID "projID"
              , ap.projName "projName"
              , ap.projHiddenDate "projHiddenDate"
              , ap.projStartDate "projStartDate"
              , CASE WHEN pp.phaseEndDate IS NOT NULL THEN MONTHS_BETWEEN(1+pp.phaseEndDate,pp.phaseStartDate)
                     WHEN pp.phaseEndDate IS NULL     THEN MONTHS_BETWEEN(1+sysDate,pp.phaseStartDate)
                     ELSE null
                END "phaseMonths"
              FROM AddProjectPhase pp, AddProject ap
             WHERE ap.projID = pp.projID
               AND ap.projHiddenDate = pp.projHiddenDate
             ORDER
                BY ap.projID
      where "phaseMonths" >= 3

  • How to use (greater than) in web services call

    Hello, I am trying to query a set of assets where the external unique ID is greater than 400,000. My existing code looks like
    qryIn.ListOfAsset(0).ExternalSystemId = ">'400000'"
    However, using this will return any asset record starting with a 5 or above as far as I can tell, I assume b/c it is comparing string data due to the single quotes infering data of type text (string). Is it possible to use comparison operators with numeric data correctly?
    I posed this question to support and received the below answer:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <AssetWS_AssetQueryPage_Input xmlns="urn:crmondemand/ws/asset/"> <ListOfAsset xmlns="urn:/crmondemand/xml/asset"> <Asset> <AssetId /> <PurchaseDate/> <OwnerAccountId /> <ExternalSystemId>&gt; '400000'</ExternalSystemId> </Asset> </ListOfAsset> </AssetWS_AssetQueryPage_Input> </soap:Body> </soap:Envelope>
    Basically, instructing me to use &gt. I'm doing coding in .NET visual studio and not using the XML as above. However, I did try the following:
    qryIn.ListOfAsset(0).ExternalSystemId = "&gt;'400000'" which returned an error in the compiler.
    Any help would be appreciated. Thanks.

    Thanks for the reply. I would assume "external system id" is an integer, but, I will test on a custom field that I now is of type integer.
    Could you take your same code and use a non-zero value for the operand? For example, could you try
    objAccQryParam.ListOfAccount[0].CustomInteger0 = ">= '10'"; and let me know if that returns values that are greater than or equal to 10. Using a two digit number is important. Assuming you have data greater than 10.
    Thanks!

Maybe you are looking for

  • MSI 785GM-E51 Fails POST

    I have built a new machine with the following Specifications: (All new parts) Mainboard: MSI 785GM-E51 RAM: Crucial Ballistix sport 4GB (2 x 2GB) 240-Pin DDR3 SDRAM DDR3 1333 Desktop Memory Model BL2KIT25664BA1339 CPU: AMD Athlon II X3 455 Rana 3.3GH

  • Interacting with sine graph

    HI all Im new to java and was wondering if anyone could help me with this problem. Im trying to draw a sine wave that also allows me to click on aont point withing the graph and mark it with a dot or cross of some kind and in a text box display the c

  • How do you set the left hand margin when writing emails. Some characters disappear off of the left side of the page because the margin is so close to the edge

    When writing emails the left hand margin is so close to the edge of the page that some characters disappear from view on the left hand of the page. How can I set the left hand margin to not be so close to the left edge of the page?

  • Computer display through apple tv

    can i connect my computer to my apple tv, using it to display content from my computer on my tv? I have a macbook from 2010 & iphone4s

  • Instrument control

    Hi Everyone, I have DSOX3014A Oscilloscope and  33521AQ Function / Arbitrary Waveform GeneratorI installed drivers, devices are connected to computer.When ı open example program and run, program takes first value from devices and devices stop. I can'