Library info directory path contains a file where a folder was expected

Cannot reopen my Aperture library (Aperture 2) after successfully exporting a few images to desktop as jpegs and then closing Aperture. Tried to reopen Aperture and got the following message:
Library info directory path contains a file where a folder was expected.
The Aperture Library could not be created at “/Volumes/Data/Pictures/Aperture Library.aplibrary/Aperture.aplib”. Check the path and try again.
No idea what has happened here. Anyone know how to fix?
I have a referenced library on my data drive (4 drive Mac Pro) Data drive/d300 Masters folder/another sub folder/then all my images. Did nothing other than to adjust,crop and export images. Images all still there (can open in PS).

Sounds strange.
Did you try to double click your "Aperture Library.aplibrary"?
Maybe trying to open backuped library...
Or creating a new library by pressing the alt key when clicking on the Aperture Dock icon.

Similar Messages

  • How to get folder(directory path only not file path) from local file system

    Hi Firends,
    How to get folder(directory path only not file path) from local file system , whenevr i will click on browse button.
    Please give reply for this one , if anybody knows.
    Thanks,
    Anderson.

    Hi Anderson,
    if you're using flash.filesystem.FileReference - then it is run in black box - except of filename, size and creation data (and few other properties available after some operation succeeded). This is part of security features in Flash runtime (described in header section):
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/FileReference .html
    This for example implies that user can download a content to local machine - but that content cannot be loaded back into Flash runtime. For this you would need either Air runtime flash.filesystem.File:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/File.h tml
    (so you would created Air runtime based application: desktop or mobile but not web, even as standalone project) or you would need one of 3rd party tools that add file access/file information features to standard Flash runtime applications converted to standalone native applications.
    hth,
    kind regards,
    Peter

  • ORA-01858: a non-numeric character found where a digit was expected

    Hi,
    I'll cut introductions short. We're trying to read data from a flat file (OWB ver.9.2. by the way). After successfully mapping, then generating (with two insignificant warnings), we execute.
    Although it says the execution was 'successful', more than a dozen errors return in the form of ORA-01858: a non-numeric character found where a digit was expected
    a - Here is the error:
    Record 1: Rejected - Error on table "TOPSSTAGE"."FLTR_DCS_IRREG", column "OPERATIVE_FLIGHT_LEG_DATE".
    ORA-01858: a non-numeric character was found where a numeric was expected
    *it's actually repeated 20 times (Record 1, Record 2, and so on and so forth...) with the same exact error description and details.
    b - Here's the part of the OWB-generated script that defines the creation of that field/column:
    "OPERATIVE_FLIGHT_LEG_DATE" DATE "mm/dd/yyyy"
    c - And here's the data from the flat file (1 of 4 rows)
    "2/20/2007","I","0899","N","TPE","MNL","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","750","950","746","955"," P3231",,"04","32","32",,,,,,,,"758","946",,"A000","4","D000","5","000","0","0","0","0","D","P","0","0","0","0","0","0","0","0","0","0","0","2/22/2007","000","012","144","2/20/2007","2/20/2007"
    *the part where it is in bold is the one that is mapped from the column OPERATIVE_FLIGHT_LEG_DATE to the OPERATIVE_FLIGHT_LEG_DATE column (flat to physical, right?)
    it is set as DATE in all settings (mapping, file, etc..)
    Any form of help will be greatly appreciated :)
    Thanks!
    Regards,
    _lilim                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi Bharadwaj,
    Yes, I believe you are right. And yes that column is designated a primary key. The weird thing is, we do have null values being entered into the table from the flat file, but these values are far from the "OPERATIVE_FLIGHT_LEG_DATE" column (index-wise). Let me give you an example of our case:
    this is a row in the flat file: (sample data only)
    "2/20/2007","I","0899","N","TPE","MNL","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","750","950","746","955"," P3231",,"04","32","32",,,,,,,,"758","946",,"A000","4","D000","5","000","0","0","0","0","D","P","0","0","0","0","0","0","0","0","0","0","0","2/22/2007","000","012","144","2/20/2007","2/20/2007"
    as you can see, I've made the 'null' values bold, as well as the data for OPERATIVE_FLIGHT_LEG_DATE (which shows up, as you can see, at the end of the row).
    Now, in the OWB table, the OPERATIVE_FLIGHT_LEG_DATE column is set as a primary key (or foreign, i think, I'll check again) and, thus, is set as one of those columns to first receive data transferred from the flat file.
    We see nothing wrong with our mask (which is mm/dd/yyyy by the way) as well as with our data type settings. It has to be with the flat file I guess. We're gonna try putting in dummy values in place of the null ones in the flat file. I'll get back to you asap. Thanks for helping out. :D
    Regards,
    _lilim

  • Non Numeric found where a Nnumeric was expected

    We are using VB6 as frount end and Oracle8.05 as backend.
    We use stored procedures for all truncations.
    Some time some of the procedures return error saying that A Non-
    numeric is found where a numeric was expected. If I trace that
    error through Documentation there it say's use Date format as DD-
    MON-YYYY. We are using that format only. Do you know how that
    error we are trapping? Just compile the procedure and it will
    work and same error will repeat after a 2 to 3 weeks. I have no
    idea why it behaves like this.
    I have also set these parameter's
    NLS_DATE_FORMAT = "DD-MON-YYYY"
    NLS_DATE_LANGUAGE="AMERICAN"
    If you have any idea about this please let me know.
    I hope to hear from you folks.
    Suresh

    Hi Bharadwaj,
    Yes, I believe you are right. And yes that column is designated a primary key. The weird thing is, we do have null values being entered into the table from the flat file, but these values are far from the "OPERATIVE_FLIGHT_LEG_DATE" column (index-wise). Let me give you an example of our case:
    this is a row in the flat file: (sample data only)
    "2/20/2007","I","0899","N","TPE","MNL","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","750","950","746","955"," P3231",,"04","32","32",,,,,,,,"758","946",,"A000","4","D000","5","000","0","0","0","0","D","P","0","0","0","0","0","0","0","0","0","0","0","2/22/2007","000","012","144","2/20/2007","2/20/2007"
    as you can see, I've made the 'null' values bold, as well as the data for OPERATIVE_FLIGHT_LEG_DATE (which shows up, as you can see, at the end of the row).
    Now, in the OWB table, the OPERATIVE_FLIGHT_LEG_DATE column is set as a primary key (or foreign, i think, I'll check again) and, thus, is set as one of those columns to first receive data transferred from the flat file.
    We see nothing wrong with our mask (which is mm/dd/yyyy by the way) as well as with our data type settings. It has to be with the flat file I guess. We're gonna try putting in dummy values in place of the null ones in the flat file. I'll get back to you asap. Thanks for helping out. :D
    Regards,
    _lilim

  • Error while pulling data from an Oracle database. ORA-01858: a non-numeric character was found where a numeric was expected

    I'm trying to pull data from an Oracle database using SSIS. When I try to select a few fields from the source table, it returns the following error message:
        [OLE DB Source [47]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E14.
        An OLE DB record is available.  Source: "OraOLEDB"  Hresult: 0x80040E14  Description: "ORA-01858: a non-numeric character was found where a numeric was expected".
        An OLE DB record is available.  Source: "OraOLEDB"  Hresult: 0x80004005  Description: "ORA-01858: a non-numeric character was found where a numeric was expected".
    The source columns are a combination of numeric and texts, and I've also tried selecting one of them, which didn't work. I'm using the Oracle client 11.2.0.1, and it works fine with any other data sources I have connected to so far. How can I resolve this
    error?

    Hi H.James,
    According to your description, the issue is a non-numeric character was found where a numeric was expected while pulling data from an Oracle database in SSIS.
    Based on the error message, the issue should be you are comparing a number column to a non-number column in a query. Such as the query below (ConfID is a number, Sdate is a date):
     where C.ConfID in (select C.Sdate
                       from Conference_C C
                       where C.Sdate < '1-July-12')
    Besides, a default behavior for the Oracle OleDb Provider that change the NLS Date Format of the session to 'YYYY-MM-DD HH24:MI:SS can also cause the issue. For more details about this issue, please refer to the following blog:
    http://blogs.msdn.com/b/dataaccesstechnologies/archive/2012/01/20/every-bug-is-a-microsoft-bug-until-proven-otherwise.aspx
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • ORA-01858: a non-numeric character was found where a numeric was expected

    hi ,
    This was the code which shows the sales rep invoice amount and collected amount but while running report thru concurrent program its showing the following error:
    ORA-01858: a non-numeric character was found where a numeric was expected
    WHERE TO_CHAR ( TO_DATE ( PS.GL_DATE , 'DD/MON/YY' ) , 'MON-YYYY' ) BETWEEN TO_CHAR ( TO_DATE ( : ==> P_todate , 'YYYY/MM/DD' ) , 'MON-YYYY' ) AND TO_CHAR ( TO_DATE ( : P_todate , 'YYYY/MM/DD' ) , 'MON-YYYY' ) AND ps.customer_id = cust.custome
    The Actual Code was this
    SELECT SUBSTR(SALES.name,1,50) salesrep_name_inv,
    --ps.CLASS,
    SUM(ABS(ps.acctd_amount_due_remaining)) acctd_amt,
    SUM(ABS(ps.amount_due_remaining)) amt_due_remaining_inv,
    SUM(ABS(ps.amount_adjusted)) amount_adjusted_inv,
    SUM(ABS(ps.amount_applied)) amount_applied_inv,
    SUM(ABS(ps.amount_credited)) amount_credited_inv,
              SALES.salesrep_id,
    NULL "REMARKS"
    -- ps.gl_date gl_date_inv,
    FROM ra_cust_trx_types ctt,
    ra_customers cust,
    ar_payment_schedules ps,
    ra_salesreps SALES,
    ra_site_uses site,
    ra_addresses addr,
    ra_cust_trx_line_gl_dist gld,
    gl_code_combinations c,
    ra_customer_trx ct
    WHERE TO_CHAR(TO_DATE(PS.GL_DATE,'DD/MON/YY'),'MON-YYYY')
    BETWEEN TO_CHAR(TO_DATE(:P_todate,'YYYY/MM/DD'),'MON-YYYY') AND TO_CHAR(TO_DATE(:P_todate,'YYYY/MM/DD'),'MON-YYYY')
    AND ps.customer_id = cust.customer_id
    AND ps.customer_trx_id = ct.customer_trx_id
    AND ps.cust_trx_type_id = ctt.cust_trx_type_id
    AND NVL(ct.primary_salesrep_id, -3) = SALES.salesrep_id
    AND ps.customer_site_use_id+0 = site.site_use_id(+)
    AND site.address_id = addr.address_id(+)
    AND TO_CHAR(TO_DATE(PS.GL_DATE_CLOSED,'DD/MON/YY'),'MON-YYYY')
    BETWEEN TO_CHAR(TO_DATE(:P_todate,'YYYY/MM/DD'),'MON-YYYY') AND TO_CHAR(TO_DATE(:P_todate,'YYYY/MM/DD'),'MON-YYYY')
    --AND    ps.gl_date_closed > TO_DATE(:P_todate,'MON-YYYY')
    AND ct.customer_trx_id = gld.customer_trx_id
    AND gld.account_class = 'REC'
    AND gld.latest_rec_flag = 'Y'
    AND gld.code_combination_id = c.code_combination_id
    AND sales.salesrep_id is not null and sales.name is not null
    -- and ps.payment_schedule_id+0 < 9999
    -- AND SALES.salesrep_id ='1001'
    GROUP BY SALES.name,
    --ps.CLASS,
    SALES.salesrep_id

    So to_date function accepts a string as input and returns a date. When a date is input instead, it is implicity converted to the required type of the function paremeter, which is a string, so that to_date can convert it back to a date again.
    If you are lucky with the implicit conversion, you get the same date back, if you are not you might get a different date or an error.
    From your query it appears that this conversion from a date, to a string, to a date, and then back to a string using to_char this time, is being done to remove the time or day part of the date. The actual range comparison is being done on strings rather than dates, which is dangerous as strings sort differently than dates.
    In this example if I sort by date, Jan 01 comes between Dec 00 and Feb 01 as you would expect.
    SQL> select * from t order by d;
    D
    12-01-2000
    01-01-2001
    02-01-2001When converted to strings, Feb 01 comes between Dec 00 and Jan 01, which is probably not the desired result
    SQL> select * from t order by to_char(d,'DD-MON-YY');
    D
    12-01-2000
    02-01-2001
    01-01-2001If you want to remove time and day parts of dates you should use the trunc function
    trunc(d) removes the time, trunc(d,'mm') will remove the days to start of month.
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14200/functions201.htm#i79761

  • 01858: a non-numeric character was found where a numeric was expected

    Hi ,
    I had ran a code
    SELECT TO_DATE (create_date,'MM/DD/YYYY HH12:MI:SS PM')
      FROM   TABLE_A
    where i got error
    -01858: a non-numeric character was found where a numeric was expected
    but later i changed to
    SELECT TO_CHAR (create_date,'MM/DD/YYYY HH12:MI:SS PM')
      FROM   TABLE_A
    which did the trick for me and i dint get any error.
    Hope this helps you.
    Documenting this for others.

    Check the NLS_DATE_FORMAT parameter value of your database.
    SELECT sysdate FROM dual; -- You can see the current format
    NLS_DATE_FORMAT specifies the default date format to use with the TO_CHAR and TO_DATE functions. The default value of this parameter is determined by NLS_TERRITORY.
    The value of this parameter can be any valid date format mask, and the value must be surrounded by double quotation marks. For example:
    NLS_DATE_FORMAT = "MM/DD/YYYY"
    From the error , I can guess your format would be 'DD-MM-YYYY', thats why when you tried to convert your date (12-AUG-2013) with (MM-DD-YYYY), you are getting the mentioned error.
    Set the NLS_DATE_FORMAT value to 'MM-DD-YYYY' as below and try.
    ALTER session SET nls_date_format='MM-DD-YYYY'

  • Non-numeric character was found where a numeric was expected

    getting the error: non-numeric character was found where a numeric was expected
    I know it's something with the variable InpMaand and InpJaar who i use in mij select statement of the cursor c_sleutel. But don't know how to fix it. Searched on the forum but no good answer found. Tnx for helping in advanced. see code below:
    CREATE OR REPLACE PROCEDURE T05_ins_f (InpJaar in number, InpMaand in number) IS
    cursor c_sleutel is
    select distinct(sleutel) as sleutel from TR_ROSETTA
    where eenheid = 'KPL'
    and to_date('01-'||(InpMaand)||'-'||(InpJaar)) between datum_van and datum_tot ;
    begin
    Message was edited by:
    user565199

    I've fit in the to_date format. but now he say's not a valid month. What i do is the following.
    InpMaand and InpJaar are both giving in by the user, like 2 and 2007
    after the to_date function, this must be the result: 01-2-2007
    otherwise: how to use the variable(InpMaand and InpJaar ) in the to_date function
    Message was edited by:
    user565199

  • Getting directory path of a file

    Is there an easy way to get a directory path to a selected file? I am having problems at work where I need to tell someone where a file is but it is nested deep in a directory structure. I'd love to be able to navigate to the file and somehow be able to copy the path. Any ideas? This can be easily done in the Windows (yuck!!!) Explorer.

    A third option is to do a spotlight search for the file, then hover your mouse over it and you will get a yellow tool tip with the file path. However, as in W.J. Lope's first option you cannot copy and paste. Or you may want to take a look at an application like PathFinder.
    -mj
    [email protected]

  • Get directory path. Just the directory path, without the file name.

    Hi,
    I need to export a file from a table in SAP to a directory in the PC. So i need to get a directory path.
    I've been reading the threads but all the answers refer to functions F4_FILENAME, WS_FILENAME_GET, KD_GET_FILENAME_ON_F4 or to the method CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG.
    But all of them require to select a file to close the window.
    What I need is to get the path to the directory, not to a file.
    For example:
    I just need to get:
    C:\TEMP
    and not:
    C:\TEMP\file.doc
    Please help.
    Thanks.

    Pablo, use cl_gui_frontend_services=>directory_browse.
    Refer this code:
    PARAMETERS:
      p_path         TYPE rlgrap-filename OBLIGATORY.
    DATA:
      gv_path_ini    TYPE string,
      gv_path_sel    TYPE string.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_path.
      CALL METHOD cl_gui_frontend_services=>directory_browse
        EXPORTING
          initial_folder  = gv_path_ini
        CHANGING
          selected_folder = gv_path_sel
        EXCEPTIONS
          cntl_error      = 1
          error_no_gui    = 2
          OTHERS          = 3
      IF sy-subrc = 0.
        CALL METHOD cl_gui_cfw=>flush( ).
        IF NOT gv_path_sel IS INITIAL.
          gv_path_ini = p_path = gv_path_sel.
        ENDIF.
      ENDIF.
    As a side note, always avoid any WS_* function modules as they're not Unicode compliant.
    Regards

  • Fileupload issue. Unable to get the full local directory path of the file uploaded

    Fileupload Applet Issue with Firefox 15:
    When uploading a file using our application, file that is being uploaded is hashed using a signed Applet.
    This is working fine in IE and FF version lower than FF15.
    Signed applet needs to hash file contents but it is is unable to read the full path of the uploaded file, and thus failing.
    Applet expects the full path of the file that has been uploaded
    Is there any way to get the full file path?

    Is not a new feature and not really a bug, but rather a security change that they have cleaned up code and removed the ability to use UniversalXPConnect that made it possible in older Firefox versions to get enhanced privileges.<br />
    That is no longer possible, so any code that relies on it will fail silently.<br />
    You will now require an extension to run any code that requires enhanced XPCOM permissions.

  • ITunes library mysteriously dissapeared (not the actual files where they are stored) and once I transfered songs back to iTunes, some purchased songs had been corrupted (missing tags

    Last week, I purchased around 9-10 songs. The previous day, I had played songs from my iTunes library... everything working normal. The day after purchasing those 9-10 songs... I noticed that my entire songs in my library (and playlist) where gone, essentially being re-set like new. I updated my iTunes version, re-started my PC and still... nothing was showing up except those 9-10 songs. I did the next logical thing which was to check the actual music folder that stores the songs. They where all there. It did not make any sense as I had not done or noticed anything unsual while using iTunes before. Now, I want to mention that I use a DJ software (mixvibe) with the ION Discovery DJ that pulls tracks from iTunes. For the past couple of months they both have worked great. Fast forwarding to my issue, I went ahead and copied all the music back to iTunes. I spent a good hour making sure that everything worked and re-created my playlists. One thing that struck me as odd was that while checking everything... some songs that I had purchased recently and even a couple of months ago that I've used on my mixvibe software... had the track info deleted. The only information was the track name, ex. (01 - Bird One). For some reason, they were dumped into a "Unknown Artists" file. There was a good 20-25 songs that had this issue. The one thing that I noticed was that when I would highlight the song within the Uknown Artist folder... All of the information including cover art was showing up at the bottom of the folder (if you are familiar with Windows 7 you know what I'm talking about). How can it be that all of the actual information was still there yet not showing up in iTunes? I had to manually go one by one of those 20-25 songs and add all of the track info (as much as I could). I was also able to recover some of the cover art but not all. It seems like the files got corrupted. Can I re-download these tracks again or how can I get them to how they were originally? HELP!

    I find the best way to do this is to right click on the song in iTunes and convert then select convert ID3 tags to V1.1 this usually completes the tag and adds all the missing info, provided it is in iTunes corectly.
    Were these songs you Dled or ripped form a cd directly?

  • Dinamic Directory Path in Receiver File Adapter

    Hi everyone,
    I have a question for you.
    How can I give a dinamic path to the target directory in a file to file scenario?
    The scenario is like this:
    I have to take only certain files from a source directory. The names of the files are like 'S10048796050.txt', when the four chars in the beginning (1004) are the company code.
    With this code, I have to put the file in a different target folder.
    Examples:
    file with code 1004 --> p/xrt/universe/LOGISTICA/Conciliacion
    file with code 1005 --> p/xrt/universe/SEVISUR/Conciliacion
    etc...
    The easiest solution is to create an interface for every company, but I'm trying to do it dinamically.
    I only have SP14.
    Any ideas?
    Thank you very much.
    I'll give points who can help me.

    Hi,
    Please try the follwing code in Java UDF. This will work.
    Map map= container.getTransformationParameters();
    String strFilePath ="";
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey keyFileName = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String sourceFileName = conf.get(keyFileName );
    if(sourceFileName.indexOf("1004") !=-1)
    strFilePath = "p/xrt/universe/LOGISTICA/Conciliacion";
    }else if(sourceFileName.indexOf("1005") !=-1)
    strFilePath = "p/xrt/universe/SEVISUR/Conciliacion";
    DynamicConfigurationKey keyFileName = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileDirectory");
    conf.put(keyFileName, strFilePath );
    return strFilePath ;
    PS: Check the property Adapter-Specific Message Attributes -> Use Adapter-Specific Message Attributes , File Name in Source and File Path in Target Channels respectively.
    Thanks
    Amit
    Reward points if solution helps

  • ORA-1858: a non-numeric character was found where a numeric was expected

    Hi, I have the Function below to do an insert or update depending on situation but I get an exception each time I run my code can anyone please help me find the error in this??
    FUNCTION exceptionlog_insert_update_fn (
    v_currentmethod IN VARCHAR,
    v_customerrormessage IN VARCHAR,
    d_datelogged IN DATE,
    v_helplink IN VARCHAR,
    v_http_costcenter IN VARCHAR,
    v_http_email IN VARCHAR,
    v_http_host IN VARCHAR,
    v_http_sm_authentic IN VARCHAR,
    v_http_sm_authorized IN VARCHAR,
    v_http_sm_sdomain IN VARCHAR,
    v_http_standardid IN VARCHAR,
    v_http_user_agent IN VARCHAR,
    v_innerexception IN VARCHAR,
    n_logstatus IN NUMBER,
    v_exceptionmessage IN VARCHAR,
    v_pagepath IN VARCHAR,
    v_referrer IN VARCHAR,
    v_exceptionsource IN VARCHAR,
    v_stacktrace IN VARCHAR,
    v_squery IN VARCHAR
    RETURN NUMBER
    IS
    existingexceptionlog NUMBER;
    n_rowcount NUMBER;
    BEGIN
    SELECT exceptionlogid
    INTO existingexceptionlog
    FROM admin_exceptionlog
    WHERE pagepath = v_pagepath
    AND exceptionmessage = v_exceptionmessage
    AND referrer = v_referrer
    AND customerrormessage = v_customerrormessage;
    IF existingexceptionlog > 0
    THEN
    UPDATE admin_exceptionlog
    SET occurrences = 1
    --datelastmodified = SYSDATE
    WHERE exceptionlogid = existingexceptionlog;
    n_rowcount := SQL%ROWCOUNT;
    IF n_rowcount > 0
    THEN
    -- An Update occured RETURN O indicating this
    RETURN 0;
    END IF;
    ELSE
    ----- If It does not already exist in the DB, Do an INSERT
    -- RETRIEVE THE ID INFORMATION FIRST
    INSERT INTO admin_exceptionlog
    (exceptionlogid, currentmethod,
    customerrormessage, datelogged, helplink,
    http_costcenter, http_email, http_host,
    http_sm_authentic, http_sm_authorized,
    http_sm_sdomain, http_standardid,
    http_user_agent, innerexception, logstatus,
    exceptionmessage, pagepath, referrer,
    exceptionsource, stacktrace, squery, occurrences,
    datelastmodified
    VALUES (admin_exceptionlogid_seq.NEXTVAL, v_currentmethod,
    v_customerrormessage, d_datelogged, v_helplink,
    v_http_costcenter, v_http_email, v_http_host,
    v_http_sm_authentic, v_http_sm_authorized,
    v_http_sm_sdomain, v_http_standardid,
    v_http_user_agent, v_innerexception, n_logstatus,
    v_exceptionmessage, v_pagepath, v_referrer,
    v_exceptionsource, v_stacktrace, v_squery, 1,
    SYSDATE
    n_rowcount := SQL%ROWCOUNT;
    IF n_rowcount > 0
    THEN
    -- An Update occured RETURN O indicating this
    RETURN 0;
    END IF;
    END IF;
    EXCEPTION
    WHEN OTHERS
    THEN
    RETURN 1;
    END exceptionlog_insert_update_fn;

    I do not know how to use MERGE and did not find much information on it. But I looked into modifying it and once again, it compiles in this case but when I run it using the debugger, no code is inserted into the table at all. And it exits with a row number = 0 at line
    RETURN L_rowcount;
    Is there something about running procedures on Oracle that I seem to be missing here please??? I went ahead and included information on my table as well.
    CREATE OR REPLACE FUNCTION FN_INSERT_UPDATE_EXCEPTIONLOG
    V_HELPLINK IN ADMIN_EXCEPTIONLOG.HELPLINK%TYPE,
    V_HTTP_EMAIL IN ADMIN_EXCEPTIONLOG.HTTP_EMAIL%TYPE,
    V_HTTP_HOST IN ADMIN_EXCEPTIONLOG.HTTP_HOST%TYPE,
    V_HTTP_SM_AUTHENTIC IN ADMIN_EXCEPTIONLOG.HTTP_SM_AUTHENTIC%TYPE,
    V_HTTP_COSTCENTER IN ADMIN_EXCEPTIONLOG.HTTP_COSTCENTER%TYPE,
    V_HTTP_SM_SDOMAIN IN ADMIN_EXCEPTIONLOG.HTTP_SM_SDOMAIN%TYPE,
    V_CUSTOMERRORMESSAGE IN ADMIN_EXCEPTIONLOG.CUSTOMERRORMESSAGE%TYPE,
    V_CURRENTMETHOD IN ADMIN_EXCEPTIONLOG.CURRENTMETHOD%TYPE,
    V_HTTP_SM_AUTHORIZED IN ADMIN_EXCEPTIONLOG.HTTP_SM_AUTHORIZED%TYPE,
    V_HTTP_STANDARDID IN ADMIN_EXCEPTIONLOG.HTTP_STANDARDID%TYPE,
    V_INNEREXCEPTION IN ADMIN_EXCEPTIONLOG.INNEREXCEPTION%TYPE,
    V_EXCEPTIONMESSAGE IN ADMIN_EXCEPTIONLOG.EXCEPTIONMESSAGE%TYPE,
    V_LOGSTATUS IN ADMIN_EXCEPTIONLOG.LOGSTATUS%TYPE,
    V_PAGEPATH IN ADMIN_EXCEPTIONLOG.PAGEPATH%TYPE,
    V_REFERRER IN ADMIN_EXCEPTIONLOG.REFERRER%TYPE,
    V_EXCEPTIONSOURCE IN ADMIN_EXCEPTIONLOG.EXCEPTIONSOURCE%TYPE,
    V_STACKTRACE IN ADMIN_EXCEPTIONLOG.STACKTRACE%TYPE,
    V_TARGETSITE IN ADMIN_EXCEPTIONLOG.TARGETSITE%TYPE,
    V_SQUERY IN ADMIN_EXCEPTIONLOG.SQUERY%TYPE
    ) RETURN NUMBER AS
    L_datevariable Date :=Sysdate;
    L_exceptionlogid integer :=0;
    L_rowcount number;
    BEGIN
    -- Detect any existing entries with the unique
    -- combination of columns as in this constraint:
    -- constraint WORKER_T_UK2
    -- unique (
    -- CUSTOMERRORMESSAGE,
    -- LOGSTATUS,
    -- PAGEPATH )
    begin
    select ExceptionLogID
    into L_exceptionlogid
    from ADMIN_EXCEPTIONLOG AE
    where AE.CUSTOMERRORMESSAGE = V_CUSTOMERRORMESSAGE
    AND AE.LOGSTATUS = V_LOGSTATUS
    AND AE.PAGEPATH = V_PAGEPATH;
    exception
    when NO_DATA_FOUND then
    L_exceptionlogid := 0; -- Is this really needed?
    when OTHERS then
    raise_application_error(-20003, SQLERRM||
    ' on select WORKER_T_T'||
    ' in filename insert_with_plsql_detection_for_update.sql');
    end;
    -- Conditionally insert the row
    if L_exceptionlogid is NULL then
    -- Now, let's get the next id sequence
    -- we can finally insert a row!
    begin
    insert into ADMIN_EXCEPTIONLOG (
    CURRENTMETHOD,
    CUSTOMERRORMESSAGE,
    DATELOGGED,
    HELPLINK,
    HTTP_COSTCENTER,
    HTTP_EMAIL,
    HTTP_HOST,
    HTTP_SM_AUTHENTIC,
    HTTP_SM_AUTHORIZED,
    HTTP_SM_SDOMAIN,
    HTTP_STANDARDID,
    INNEREXCEPTION,
    LOGSTATUS,
    EXCEPTIONMESSAGE,
    PAGEPATH,
    REFERRER,
    EXCEPTIONSOURCE,
    STACKTRACE,
    TARGETSITE,
    SQUERY,
    OCCURRENCES)
    values (
    V_CURRENTMETHOD,
    V_CUSTOMERRORMESSAGE,
    L_datevariable,
    V_HELPLINK,
    V_HTTP_COSTCENTER,
    V_HTTP_EMAIL,
    V_HTTP_HOST,
    V_HTTP_SM_AUTHENTIC,
    V_HTTP_SM_AUTHORIZED,
    V_HTTP_SM_SDOMAIN,
    V_HTTP_STANDARDID,
    V_INNEREXCEPTION,
    V_LOGSTATUS,
    V_EXCEPTIONMESSAGE,
    V_PAGEPATH,
    V_REFERRER,
    V_EXCEPTIONSOURCE,
    V_STACKTRACE,
    V_TARGETSITE,
    V_SQUERY, 1
    L_rowcount := sql%rowcount;
    exception
    when OTHERS then
    raise_application_error(-20006, SQLERRM||
    ' on insert WORKER_T'||
    ' in filename insert_with_plsql_detection_for_update.sql');
    end;
    else
    begin
    update ADMIN_EXCEPTIONLOG AE
    set AE.DATELOGGED = Sysdate
    , AE.OCCURRENCES = AE.OCCURRENCES + 1
    where AE.EXCEPTIONLOGID = L_exceptionlogid;
    L_rowcount := sql%rowcount;
    exception
    when OTHERS then
    raise_application_error(-20007, SQLERRM||
    ' on update WORKER_T'||
    ' in filename insert_with_plsql_detection_for_update.sql');
    end;
    end if;
    RETURN L_rowcount;
    END FN_INSERT_UPDATE_EXCEPTIONLOG;
    CREATE TABLE "SYSTEM"."ADMIN_EXCEPTIONLOG"
    (     "EXCEPTIONLOGID" NUMBER NOT NULL ENABLE,
         "CURRENTMETHOD" VARCHAR2(400 BYTE),
         "CUSTOMERRORMESSAGE" VARCHAR2(4000 BYTE),
         "DATELOGGED" DATE,
         "HELPLINK" VARCHAR2(4000 BYTE),
         "HTTP_COSTCENTER" VARCHAR2(4000 BYTE),
         "HTTP_EMAIL" VARCHAR2(4000 BYTE),
         "HTTP_HOST" VARCHAR2(4000 BYTE),
         "HTTP_SM_AUTHENTIC" VARCHAR2(4000 BYTE),
         "HTTP_SM_AUTHORIZED" VARCHAR2(4000 BYTE),
         "HTTP_SM_SDOMAIN" VARCHAR2(4000 BYTE),
         "HTTP_STANDARDID" VARCHAR2(4000 BYTE),
         "INNEREXCEPTION" VARCHAR2(4000 BYTE),
         "LOGSTATUS" NUMBER NOT NULL ENABLE,
         "EXCEPTIONMESSAGE" VARCHAR2(4000 BYTE),
         "PAGEPATH" VARCHAR2(4000 BYTE),
         "REFERRER" VARCHAR2(4000 BYTE),
         "EXCEPTIONSOURCE" VARCHAR2(4000 BYTE),
         "STACKTRACE" VARCHAR2(4000 BYTE),
         "TARGETSITE" VARCHAR2(4000 BYTE),
         "SQUERY" VARCHAR2(4000 BYTE),
         "OCCURRENCES" NUMBER,
         CONSTRAINT "ADMIN_EXCEPTIONLOG_PK" PRIMARY KEY ("EXCEPTIONLOGID")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SYSTEM" ENABLE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
    STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE "SYSTEM" ;
    CREATE OR REPLACE TRIGGER "SYSTEM"."ADMIN_EXCEPTIONLOG_TRG"
    BEFORE INSERT ON ADMIN_EXCEPTIONLOG
    FOR EACH ROW
    BEGIN
    SELECT ADMIN_EXCEPTIONLOG_EXCEPTIONLOGID_SEQ.nextVal INTO :new.EXCEPTIONLOGID FROm Dual;
    END;
    ALTER TRIGGER "SYSTEM"."ADMIN_EXCEPTIONLOG_TRG" ENABLE;

  • How to assign directory path of File/FTP adapter into a variable insideBPEL

    Hi,
    i need to get the directory path given to file/Ftp adapter (write/PUT) into a variable while invoking, which will be later used in some other BPEL service for processing.
    i am able to get the directory path easily using "jca.file.filename/jca.ftp.filename" in case of invokin Read\GET adapter but am struggling to get these details while invoking a file/Ftp adapter (write/PUT).
    kindly tell me is it possible to get these properties in case of file/Ftp adapter (write/PUT) !!!!
    Thanks
    Siva

    These documents may be helpful in discovering the functionality/use of variables to capture some of the file adapter properties.
    How to Manipulate SOA 11g Adapter Headers Using Oracle Mediator (Doc ID 1352248.1)
    How to Create an Outbound File with the Same Name as the Inbound File with FTP/FILE Adapter (Doc ID 745587.1)
    Hope it helps!
    Amy

Maybe you are looking for

  • ITunes for windows 8 won't automatically open.

    Whenever I plug in any apple device it will charge and windows will recognize it, but it won't open iTunes automatically or even show up in iTunes. How do I fix this?

  • Purchase Order - Mulitple Automatic Outputs

    Hello all; We are doing a project where I need to have two outputs automatically genereated on a finished goods purchase order. So when a user creates a PO in ME21N and saves it two outputs automatically create. I have copied the NEU output and made

  • Menu items and panels gone

    Hi, We are having a problem with one of our installations of InDesign CS4 (6.0.6) on PC, Windows XP, on a user account with Administrator's rights. It is an issue described many times on the forums: All of a sudden, some pallets stopped showing corre

  • Low level format external hard drive?

    I have an external Hitachi hard drive that needs a low level format. Disk utility gives error message that it can't format the last section. I think there are locked flies on it from a short time it was attached to a PC. (The PC is dead now, but the

  • Problems setting up WRT310N using setup disk

    I have cable internet. I can connect straight to the cable modem and get internet. I start the Linkys disk and it gets to step 4/4 (where i have connected all the wires to the router/modem/computer and am told to plug in the router.) The router power