"date format not recognised" in DBMS_SESSION, on page over db_link

Hi,
I have an Apex 4.0 page which has a region that gets data constituted from a connection across a database link.
The host database is 11.1.0.6 and the remote database is 9.0.1. (Both Standard Edition)
I am using EPG.
Intermittently, I receive the following error (having turned debugging on):
Wed, 25 Aug 2010 10:21:53 GMT
ORA-20867: ORA-01821: date format not recognized
ORA-02063: preceding line from CLIFF
ORA-06512: at "SYS.DBMS_SESSION", line 157
ORA-06512: at "APEX_040000.WWV_FLOW_LANG", line 387
ORA-06512: at "APEX_040000.WWV_FLOW", line 9284
ORA-06512: at "APEX_040000.F", line 267
ORA-06512: at "APEX_040000.F", line 294
ORA-06512: at line 30
I'm somewhat confused as to what is causing the generation of this error.
After receiving this error, anything I else that I do that involves building 'pages' works perfectly fine. I can login/out, no problems.
However, if I try and RUN any page within my application thereafter (all of these access local DB information apart the 1 that generates the error), I continue to receive exactly the same error - no matter which page I am trying to access.
Help?
- Tony.

Hi Patrick,
No. I haven't yet applied the patchset. May do that this afternoon now.
I don't believe I've manually set any date formats anywhere. Just entered the Builder with default options (apart from choosing a theme) and away I went!!
What surprises me is that the application has no problems viewing all the data. The functionality all seems fine. I had this working on a previous setup for months,. without any problems, using version 3.2. (This wasn't migrated though, this was a rebuild from scratch.)
From further "tests", the error seems to occur when I edit the page that involves the remote data.
Normally, a user would land on the page from having used a hyperlink column on a previous page's classic report region.
The point at which it all starts to go wrong is if I connect to the page as normal, but then EDIT the page, and then try and re-run it.
The problem with the date format then re-occurs repetitively, no matter which page I try and view. Sometimes pages will load some components, but then generate odd errors with others. e.g. I have a small series of 3 dial charts, all with slightly varying SQL series (same SQL, slightly different where clause). Now I am seeing that 1 may load and 2 may give odd flash errors...
Right now, I just tried to Export my application - and I still got given the date format error!! Sub-sequent retries allowed the operation to complete successfully.
The only way I seem to be able to eradicate the recurring errors is to kill all the currently connected ANONYMOUS users in the DB, and then relog to the application.
- Tony.

Similar Messages

  • ORA-01821: date format not recognized Error in PL/SQL report-4.0

    Hi,
    I am using Apex 4.0 and i have a Classic report(function returning query) which selects a date column.
    The query runs at the backend and gives the output.
    But when i run the report on the page, i get the error
    report error:
    ORA-20001: Error fetching column value: ORA-01821: date format not recognizedThe values for the date column are like this 14-MAR-13,01-FEB-13 etc... Everything seems to be right.
    But I have no idea why this error occurs.
    Thanks
    Divya

    Aren't these errors annoying! But there's a data / format mismatch for sure. What I need to see -- and what will tell you what is wrong -- is
    1) exactly what the data is and
    2) exactly what the format string is that is being used to convert it.
    The values for the date column are like this 14-MAR-13,01-FEB-13 etc... Question: Is this the source data or the target data ( what it's supposed to look like after being converted)?
    Let's start there:
    What is the source? Is it a DB column? Is it type date or VARCHAR2 or what?
    If VARCHAR2, then give us an example of the data that is failing.
    What is the format -- I assume there is one -- being used to convert the data?
    Are you doing a TO_CHAR or a TO_DATE?
    Give us lots of detail, please. Then it should be easy to solve.
    Regards,
    Howard

  • Getting quite regular 'format not recognised'

    When I try to select one of the movies for streaming from my computer to apple tv there will be a long pause with eventually a yellow triangle and 'could not be played as format not recognised'
    This only began when I purchased an airport extreme.
    The apple tv, and computers all connect via ethernet into the extreme.
    To clarify the formats are correct and have been watched before. Infact frequently if I page pack then select the same movie again, it will more often than not start up just fine.
    Has anyone else had this annoying problem?

    Smokerz is probably right that when the network link is poor, it shows this error message which is stupid. It should instead say that the network link is of poor quality to support video streaming.
    Having said that, my PC which is inside the computer cabinet shows excellent network link quality (-86dbmV noise level compared to a signal level of -50) and connected at 54mbps to my router. The Apple TV and the Philips HDTV is place above the same cabinet. If ATV doesn't have enough error recovery mechanism, then it is definitely a toy for the geeks.
    Imagine if we were to connect to our remote servers once in 10 attempts and that connection would drop off after 2 minutes and then we were asked to reboot the servers and power cycle the workstations. Imagine that!

  • WorkflowCA: TNS Connection String format not recognised

    When I launch the scripts /wfinstall.csh, I get following error message:
    [oracle@blmcqb install]$ Workflow Configuration Assistant - Linux
    4
    Parameter "wfdir" = /oracle/product/10.2.0/MPROD/wf
    Parameter "orahome" = /oracle/product/10.2.0/MPROD
    WorkflowCA: /oracle/product/10.2.0/MPROD/wf/install/workflow.log
    WorkflowCA:
    WorkflowCA: Workflow Configuration in progress...
    WorkflowCA: Thu Mar 08 14:51:26 EST 2007
    WorkflowCA:
    WorkflowCA: Screen width -1024-, screen height -768-
    WorkflowCA: TNS Connection String format not recognised
    WorkflowCA:
    WorkflowCA: Graphics User Interface mode
    WorkflowCA:
    WorkflowCA: Thu Mar 08 14:51:58 EST 2007
    WorkflowCA: Invalid connect methodTWO_TASK=]
    WorkflowCA: Terminating..
    However, I can access the database without any problem:
    [oracle@blmcqb install]$ tnsping OWBLAB
    TNS Ping Utility for Linux: Version 10.2.0.3.0 - Production on 08-MAR-2007 15:01:24
    Copyright (c) 1997, 2006, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = blmcqb)(PORT = 1522))) (CONNECT_DATA = (SERVICE_NAME = OWBLAB)))
    OK (0 msec)
    [oracle@blmcqb install]$ sqlplus sys/rootpasswd@owblab as sysdba
    SQL*Plus: Release 10.2.0.3.0 - Production on Thu Mar 8 15:02:05 2007
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select name, open_mode from v$database;
    NAME OPEN_MODE
    OWBLAB READ WRITE
    Does any expert has any idea?

    I got the same error. Then I gave whole string to ./wfinstall and then the Installation pass ok!
    Like: (DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = rubik.my.domain)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = rubikdb.my.domain)))
    Best Regards Antti

  • "Date formatting not supported yet"??

    When I add imports to get around the problem described in my previous
    email, I run into an exception that says "Date formatting not supported
    yet". The exception is thrown in util/HtmlUtil.java. What's the
    intention here? Why don't we just return the value unformatted? How
    should I handle this so I can take advantage of the formatting if it is
    supported someday? Are there any other formatting types which I need
    to "handle" in order to run?

    Dan--
    When I add imports to get around the problem described in my previous
    email, I run into an exception that says "Date formatting not supported
    yet". The exception is thrown in util/HtmlUtil.java. What's the
    intention here? Why don't we just return the value unformatted? How
    should I handle this so I can take advantage of the formatting if it is
    supported someday? Are there any other formatting types which I need
    to "handle" in order to run?The exception lets you know that there is a specific issue you need to work
    around during migration. The reason we don't just return the unformatted
    value is that we didn't want to give the impression that date formatting
    worked when it doesn't (yet).
    If you just want the value to come through without an attempt at formatting,
    the correct thing to do is to change your JSP tags to eliminate the date
    formatting attributes. If this is a loss of data (the format masks), then
    you should just comment them out rather than delete them.
    The whole issue of date formatting is unfortunately complex. Suffice to say
    that it is far easier for the developer to format the date as they wish in
    their code then it is for us to try and provide generic date formatting.
    The issue revolves around having all the necessary information in order to
    do the formatting in a generic way.
    Todd

  • Date format not recognized -- urgent help needed

    Hi,
    I'm having a problem when start sqlplus in dos command window. If I start it from C:\oracle\ora81\bin, it won't started and error message showing like 'Date format not recognized' and then come back to DOS.
    I do have OWB installed which also has SQLPLUS installed so that there is no problem if I start it from C:\ORACLE\owb92\bin.
    For some reason, the path is setting as C:\oracle\ora81\bin before C:\ORACLE\owb92\bin so the default always goes to 81 folder.
    If restart the DB instance, and this problem is gone. But it comes back after some application running (our own application and Oracle provided OMBPlus ). We double check our own application, and there is no where to "alter session ...".
    Any help will be very appreciatged,
    Thanks,
    Daming

    I'm having a problem when start sqlplus in dos command window. If I start it from C:\oracle\ora81\bin, it won't started and error message showing like 'Date format not recognized' and then come back to DOS.
    Do you have a file called 'login.sql' in the folder 'C:\oracle\ora81\bin'? If there is one, is there an 'alter session' command in this file?

  • Date Formatting Not Updating

    Hello,
    Has anyone else run into the issue of updating a field's format to MM/DD/YYYY.  The information is populated from our ATS system which pulls information from the user/onboarding process.  The PDF field's date format is set to MM/DD/YYYY but only shows as M/DD/YY.  For example, instead of 07/30/2014 it shows as 7/30/14 which is incorrect.  The information from the ATS is populating with the full date that we want, it's just that the PDF doesn't want to display in the same format. 
    Thanks everyone!

    The format script should get triggered when the page that contains the field is shown in Acrobat/Reader. If it's not doing that, it would be helpful to see an example. Can you post one somewhere?

  • Date format not working in XML Publisher

    Hi,
    We have applied a date format while formatting the report layout using the Template.
    The same is not getting reflected.
    The output is as follows : 5/1/2006 0:0:0
    i.e date with time stamp.
    We require DD-Mon-RRRR format.
    The same has been tried using the Text Form Field Options.
    When applying the same for Number it works . But in case of Date it does not.
    Can anybody who has worked on the same, let us know the appropriate way to do the same.
    Thanks,
    Angelica.

    XMLP does not recognized the field as date. The only format recognized as date is
    YYYY-MM-DDThh:mm:ss+HH:MM
    So, either make the data model to return dates in the above format, and then apply date formatting in XMLP, or do the job on the data model side and return the string in the desired final format (which, again, then will be string, not date for the XMLP)

  • Line item data does not appear on all master pages - Adobe forms

    Hi Guys,
    I have a problem in Adobe forms as explained below-
    I have a page in the form which has, you can say, a 2 windows or subforms (  Information window/subfirm on top right corner, main on middle of the page ). The data of the main subform is a line item data of delivery. Some parts of the same data need to be printed on the Information subform also. The main subform can overflow  to next pages but the information window will have only very limited data to be printed on one page itself, meaning it does not overflow.
    Now the requirement is that  each line item should be printed on a new page. For example if there are 2 lines items then first line item should be printed on first page. Then there will be a conditional page break and the next line item will be printed on the next page ( I have achieved this using condition page break). The information window will contain information related to corresponding line items. If the first line item data overflows in main then information window of first line item should be printed on first and 2nd page. The second line item should start printing on 3rd page and information window of  3rd page will contain data of 2nd line item.
    I created 1 body page and 1 master page. I created one internal table with data of main window and information window. I put the information window on master page to make it appear on all the pages. 
    This solution unfortunately does not work. The issue is that in case of overflow, 1st page information window shows first line item. 2nd pages shows 2nd line item and 3rd page is blank whereas ideally 1st and 2nd page information window should show first line item and 3rd page should show 2nd line item. This means that master page and body page are not getting linked. If I create the information window on body page itself, it does not repeat on all the pages. Please provide some inputs to resolve the issue.
    Thanks
    Abhi

    Hi Abhinav,
        I am also trying to solve the similar issue. Need to print the internal table data in the Master page.
      Have you resolved this issue. Can you Please share your solution .
    Thanks
    Swarna.

  • Date format not imported

    Hi,
    I'm trying to import a date dimension from a SQL table. The problem is that the when importing directly into Power Pivot, the date format from the date base turns into a text format and the sorting is not the same as in the data base.
    Using Power Query instead, everything looks ok in the Power Query window and the data type and sorting is correct, and when loading the data to Power Pivot or an Excel table the format seems to be correct, but not the sorting, even when I
    set the sorting in Power Query. Why is that? Shouldn't the sorting be the same when the data is loaded? And why is the format not correctly imported to Power Pivot when not using Power Query? 
    I have windows 7 with Swedish as locale and office 2013 professional plus and I have the latest version of Power Query installed.
    Brgds,
    Caj
    Csten

    Yes, I tried to set the data type to date in Power Pivot and that works, was just surprised that Power Pivot don't import the format and sort order from the date base. Would be a nice feature.
    Curt, I assume this is what you mean?
    let
        Source = Sql.Databases("XXXXXX"),
        SLAMJunc = Source{[Name="XXXXX"]}[Data],
        dbo_DimDate = XXXXXX{[Schema="dbo",Item="DimDate"]}[Data],
        SortedRows = Table.Sort(dbo_DimDate,{{"Date", Order.Ascending}})
    in
        SortedRows
    Also, the data type is set to Date in Power Query but when I load the data into Power Pivot it is shown as Date/Time. Non of this is a big thing and it is easy to handle, just slightly annoying when I didn't get the result I was expecting.  
    //Caj
    Csten

  • Problem with input data format - not "only" XML

    Hi Experts,
    I have problem with input data format.
    I get some data from JMS ( MQSeries) , but input format is not clear XML. 
    This is some like flat file with content of XMLu2026.
    Example:
    0000084202008-11-0511:37<?xml version="1.0" encoding="UTF-8"?>
    <Document xmlns="urn:xsd:test.01" xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance Sndr="0001" Rcvr="SP">
    ...content....
    </Document>000016750
    Problems in this file is :
    1. data before parser <? xml version="1.0"> -> 0000084202008-11-0511:37 
    2. data after last parser </Document> -> 000016750
    This data destroy XML format.
    Unfortunately XI is not one receiver of this files and we canu2019t change this file format in queue MQSeries ( before go to XI) .
    My goal is to get XML from this file:
    <?xml version="1.0" encoding="UTF-8"?>
    <Document xmlns="urn:xsd:test.01" xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance Sndr="0001" Rcvr="SP">
    ...content....
    </Document>
    My questions:
    1. Is any way or technique to delete this data 0000084202008-11-0511:37  in XI from this file ?
    2. Is any way to get only XML from this file ?
    Thanx .
    Regards,
    Seo

    Hi Buddy
    What is the XI adapter using?
    If you use inbound File adapter content conversion you could replace these values with none and then pass it to the scenario.
    Does that help?
    Regards
    cK

  • System Wide Data Formats Not copied from Development to test

    I am using OBIEE 10g. When I copy my dashboards and reports via the Catalog Manager from the development environment to the test environment the system wide data formats are not being copied over. That is, all the ones that I saved under "Column Properties->Column Format->Save As System Wide Default" are not being copied over. I am using archive and unarchive in the Catalog Manager to move from development to test environment. So my question is where are these system-wide defaults stored and what do I need to do get them copied over?
    Thanks in advance!

    Hi
    the system wide column formats are stored in catalog under system/metadata folder.
    copy this folder from dev env to test env. via catalog manager, restart ps.
    assign points if found helpful.

  • Australian Date format not American

    when running reports errors can occur when date prompts are added to webi query filters because it using American date format instead of Australian. How to change this so that the date format is Australian?
    I have search the net and gone through below but still a problem:
    1.          
    D:\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\dataAccess\connectionServer\odbc\sqlsrv.prm
    Change
            <Parameter Name="USER_INPUT_DATE_FORMAT">'mm/dd/yyyy HH:m:s'</Parameter>
    to
            <Parameter Name="USER_INPUT_DATE_FORMAT">'dd/mm/yyyy HH:m:s'</Parameter>
    2.          Server control panel settings changed all to Australian
    3.          Deski > options > English (Australia)
    4.          infoView preferences:
    -     Product locale = user browser
    -     Current time zone = local to web server
    -     Preferred viewing = English (AUS)
    CMC preferences:
    -     Product locale = user browser
    -     time zone = Canberra, Sydney, Melbourne
    -     Preferred viewing = English (AUS)
    what else do change/check?

    What reports are these for? I.e Deski/ Webi/ Crystal. Also, what version of BOE XI 3.x are you using ? What SP/FP level are you on?
    I am able to change the change the date format to Australian by setting the Preferred Viewing Local to 'English (Australia)' . If you're in Australia, using the browser locale should work.
    Note: I tested with Webi reports.
    Best,
    Srinivas

  • How do I download RAW pictures from a Panasonic TZ60 into Elements, keeps telling me file damaged or in format not recognised.

    I have just purchased a Panasonic TZ60 which is producing some good quality pictures. The camera can be set to save picture in jpeg, RAW and jpeg and RAW but I have been unable to download any RAW pictures into either iPhoto or Elements. Both programmes see the file but won't download and comes up with message saying file damaged or not recognised.
    I have tried just transferring RAW picture file to my desktop and then into Elements, still no joy.

    Thanks John
    Missed updating so went in search and found update path and that has resolved and can now pull in RAW, just need to crack iPhoto now and will be happy again.
    Thanks for help
    Garry

  • CD does not mount on desktop and is not recognised by OSIRIX since moved over to Mavericks

    Dicomm CD not recognised in Mavericks on desktop or by Osirix

    System Preferences > CDs & DVDs > When you insert a blank CD > choose one
    Same for DVD, assuming this is all the same for Leopard as for Tiger and you're talking about blank discs.

Maybe you are looking for