Post upgrade to 3.1 issues : Unable to open report query

Hi,
We have upgraded our APEX version from 3.0 to 3.1. We have some wierd problems now
1. I tried to add a new column link to an existing report region and I get an error.
failed to parse SQL query:
ORA-00911: invalid character
2. I have to make some changes to an existing report query and I am unable to open it. I Get the following error:
ORA-01461: can bind a LONG value only for insert into a LONG column
Can anybody let me know the reason for these errors.
Thanks
Knut

Hi Scott,
We created a test case on apex.oracle.com in my workspace (DGIELIS_31)
It's Application 54025, the query is called "Test Big Query".
Currently it works, but edit the query and copy one of the comment lines and paste it in to take it over 4k. You should get the same error.
Just for the record:
- in APEX 3.0 in a non UTF-8 (WE8ISO8859P15) database this query was working
- When migrating to UTF-8 database with APEX 3.1.1 we can't open the queries.
- We can't use a view in this case, it's a pretty complex query which already uses MV's and the tables in questions are pretty huge. The query we had to come up with is pretty big to get optimal performance.
If you want I can email you my login details or create you a user.
Regards,
Dimitri
-- http://dgielis.blogspot.com/
-- http://www.apex-evangelists.com/
-- http://www.apexblogs.info/

Similar Messages

  • Reporting Service issue: Unable to open reports (.rdl files) from SharePoint 2013

    Hi All,
    I am facing issue while accessing reports from SharePoint sites and below is the error message.
    Report Server has encountered a SharePoint error. ---> Microsoft.ReportingServices.Diagnostics.Utilities.SharePointException: Report Server has encountered a SharePoint error. ---> Microsoft.SharePoint.SPException: Virus Found:  ---> System.Exception:
    For more information about this error navigate to the report server on the local server machine, or enable remote errors (Fault Detail is equal to Microsoft.ReportingServices.ServiceContract.RsExceptionInfo).
    Error message shows "Virus Found", so we have disabled the antivirus scanning (Symantec Protection for real time scanning) and it started working.
    We have tried to add ".rdl" and ".rsds" files in the exception, but didn't work. Noticed that issue is happening when we enabled the option "Scan the item when download".
    Please suggest how we can rectify the issue without disabling any Symantec settings.
    Thanks,
    Anoop

    Hi Anoop,
    Not sure this option "Scan the item when download" of Symantec will do what action, you may want to get more info from symantec, it seems you have posted in symantec official forum
    here, I would recommend to keep an eye on updates there.
    Thanks
    Daniel Yang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Performance issues when creating a Report / Query in Discoverer

    Hi forum,
    Hope you are can help, it involves a performance issues when creating a Report / Query.
    I have a Discoverer Report that currently takes less than 5 seconds to run. After I add a condition to bring back Batch Status that = ‘Posted’ we cancelled the query after reaching 20 minutes as this is way too long. If I remove the condition the query time goes back to less than 5 seconds.
    Please see attached the SQL Inspector Plan:
    Before Condition
    SELECT STATEMENT
    SORT GROUP BY
    VIEW SYS
    SORT GROUP BY
    NESTED LOOPS OUTER
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    TABLE ACCESS BY INDEX ROWID GL.GL_CODE_COMBINATIONS
    AND-EQUAL
    INDEX RANGE SCAN GL.GL_CODE_COMBINATIONS_N2
    INDEX RANGE SCAN GL.GL_CODE_COMBINATIONS_N1
    TABLE ACCESS BY INDEX ROWID APPLSYS.FND_FLEX_VALUES
    INDEX RANGE SCAN APPLSYS.FND_FLEX_VALUES_N1
    TABLE ACCESS BY INDEX ROWID APPLSYS.FND_FLEX_VALUE_SETS
    INDEX UNIQUE SCAN APPLSYS.FND_FLEX_VALUE_SETS_U1
    TABLE ACCESS BY INDEX ROWID APPLSYS.FND_FLEX_VALUES_TL
    INDEX UNIQUE SCAN APPLSYS.FND_FLEX_VALUES_TL_U1
    INDEX RANGE SCAN APPLSYS.FND_FLEX_VALUE_NORM_HIER_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_LINES
    INDEX RANGE SCAN GL.GL_JE_LINES_N1
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    INDEX UNIQUE SCAN GL.GL_SETS_OF_BOOKS_U2
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_HEADERS
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    INDEX UNIQUE SCAN GL.GL_DAILY_CONVERSION_TYPES_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_SOURCES_TL
    INDEX UNIQUE SCAN GL.GL_JE_SOURCES_TL_U1
    INDEX UNIQUE SCAN GL.GL_JE_CATEGORIES_TL_U1
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    INDEX UNIQUE SCAN GL.GL_JE_BATCHES_U1
    INDEX UNIQUE SCAN GL.GL_BUDGET_VERSIONS_U1
    INDEX UNIQUE SCAN GL.GL_ENCUMBRANCE_TYPES_U1
    INDEX UNIQUE SCAN GL.GL_SETS_OF_BOOKS_U2
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_BATCHES
    INDEX UNIQUE SCAN GL.GL_JE_BATCHES_U1
    INDEX UNIQUE SCAN GL.GL_SETS_OF_BOOKS_U2
    INDEX UNIQUE SCAN GL.GL_JE_BATCHES_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_PERIODS
    INDEX RANGE SCAN GL.GL_PERIODS_U1
    After Condition
    SELECT STATEMENT
    SORT GROUP BY
    VIEW SYS
    SORT GROUP BY
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS
    NESTED LOOPS
    NESTED LOOPS OUTER
    NESTED LOOPS
    TABLE ACCESS FULL GL.GL_JE_BATCHES
    INDEX UNIQUE SCAN GL.GL_SETS_OF_BOOKS_U2
    INDEX UNIQUE SCAN GL.GL_JE_BATCHES_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_HEADERS
    INDEX RANGE SCAN GL.GL_JE_HEADERS_N1
    INDEX UNIQUE SCAN GL.GL_SETS_OF_BOOKS_U2
    INDEX UNIQUE SCAN GL.GL_ENCUMBRANCE_TYPES_U1
    INDEX UNIQUE SCAN GL.GL_DAILY_CONVERSION_TYPES_U1
    INDEX UNIQUE SCAN GL.GL_BUDGET_VERSIONS_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_SOURCES_TL
    INDEX UNIQUE SCAN GL.GL_JE_SOURCES_TL_U1
    INDEX UNIQUE SCAN GL.GL_JE_CATEGORIES_TL_U1
    INDEX UNIQUE SCAN GL.GL_JE_BATCHES_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_JE_LINES
    INDEX RANGE SCAN GL.GL_JE_LINES_U1
    INDEX UNIQUE SCAN GL.GL_SETS_OF_BOOKS_U2
    TABLE ACCESS BY INDEX ROWID GL.GL_CODE_COMBINATIONS
    INDEX UNIQUE SCAN GL.GL_CODE_COMBINATIONS_U1
    TABLE ACCESS BY INDEX ROWID GL.GL_PERIODS
    INDEX RANGE SCAN GL.GL_PERIODS_U1
    TABLE ACCESS BY INDEX ROWID APPLSYS.FND_FLEX_VALUES
    INDEX RANGE SCAN APPLSYS.FND_FLEX_VALUES_N1
    INDEX RANGE SCAN APPLSYS.FND_FLEX_VALUE_NORM_HIER_U1
    TABLE ACCESS BY INDEX ROWID APPLSYS.FND_FLEX_VALUES_TL
    INDEX UNIQUE SCAN APPLSYS.FND_FLEX_VALUES_TL_U1
    TABLE ACCESS BY INDEX ROWID APPLSYS.FND_FLEX_VALUE_SETS
    INDEX UNIQUE SCAN APPLSYS.FND_FLEX_VALUE_SETS_U1
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    INDEX UNIQUE SCAN GL.GL_JE_HEADERS_U1
    Is there anything i can do in Discoverer Desktop / Administration to avoid this problem.
    Many thanks,
    Lance

    Hi Rod,
    I've tried the condition (Batch Status||'' = 'Posted') as you suggested, but the qeury time is still over 20 mins. To test i changed it to (Batch Status||'' = 'Unposted') and the query was returned within seconds again.
    I’ve been doing some more digging and have found the database view that is linked to the Journal Batches folder. See below.
    I think the problem is with the column using DECODE. When querying the column in TOAD the value of ‘P’ is returned. But in discoverer the condition is done on the value ‘Posted’. I’m not too sure how DECODE works, but think this could be the causing some sort of issue with Full Table Scans. How do we get around this?
    Lance
    DECODE( JOURNAL_BATCH1.STATUS,
    '+', 'Unable to validate or create CTA',
    '+*', 'Was unable to validate or create CTA',
    '-','Invalid or inactive rounding differences account in journal entry',
    '-*', 'Modified invalid or inactive rounding differences account in journal entry',
    '<', 'Showing sequence assignment failure',
    '<*', 'Was showing sequence assignment failure',
    '>', 'Showing cutoff rule violation',
    '>*', 'Was showing cutoff rule violation',
    'A', 'Journal batch failed funds reservation',
    'A*', 'Journal batch previously failed funds reservation',
    'AU', 'Showing batch with unopened period',
    'B', 'Showing batch control total violation',
    'B*', 'Was showing batch control total violation',
    'BF', 'Showing batch with frozen or inactive budget',
    'BU', 'Showing batch with unopened budget year',
    'C', 'Showing unopened reporting period',
    'C*', 'Was showing unopened reporting period',
    'D', 'Selected for posting to an unopened period',
    'D*', 'Was selected for posting to an unopened period',
    'E', 'Showing no journal entries for this batch',
    'E*', 'Was showing no journal entries for this batch',
    'EU', 'Showing batch with unopened encumbrance year',
    'F', 'Showing unopened reporting encumbrance year',
    'F*', 'Was showing unopened reporting encumbrance year',
    'G', 'Showing journal entry with invalid or inactive suspense account',
    'G*', 'Was showing journal entry with invalid or inactive suspense account',
    'H', 'Showing encumbrance journal entry with invalid or inactive reserve account',
    'H*', 'Was showing encumbrance journal entry with invalid or inactive reserve account',
    'I', 'In the process of being posted',
    'J', 'Showing journal control total violation',
    'J*', 'Was showing journal control total violation',
    'K', 'Showing unbalanced intercompany journal entry',
    'K*', 'Was showing unbalanced intercompany journal entry',
    'L', 'Showing unbalanced journal entry by account category',
    'L*', 'Was showing unbalanced journal entry by account category',
    'M', 'Showing multiple problems preventing posting of batch',
    'M*', 'Was showing multiple problems preventing posting of batch',
    'N', 'Journal produced error during intercompany balance processing',
    'N*', 'Journal produced error during intercompany balance processing',
    'O', 'Unable to convert amounts into reporting currency',
    'O*', 'Was unable to convert amounts into reporting currency',
    'P', 'Posted',
    'Q', 'Showing untaxed journal entry',
    'Q*', 'Was showing untaxed journal entry',
    'R', 'Showing unbalanced encumbrance entry without reserve account',
    'R*', 'Was showing unbalanced encumbrance entry without reserve account',
    'S', 'Already selected for posting',
    'T', 'Showing invalid period and conversion information for this batch',
    'T*', 'Was showing invalid period and conversion information for this batch',
    'U', 'Unposted',
    'V', 'Journal batch is unapproved',
    'V*', 'Journal batch was unapproved',
    'W', 'Showing an encumbrance journal entry with no encumbrance type',
    'W*', 'Was showing an encumbrance journal entry with no encumbrance type',
    'X', 'Showing an unbalanced journal entry but suspense not allowed',
    'X*', 'Was showing an unbalanced journal entry but suspense not allowed',
    'Z', 'Showing invalid journal entry lines or no journal entry lines',
    'Z*', 'Was showing invalid journal entry lines or no journal entry lines', NULL ),

  • Unable to open reports with Web intelligence

    Hi there,
    We are unable to open reports using Webi Intelligence.  Error of "Session is closed(Error: INF)" apears.
    I have restarted the SIA and Apache services with no luck.
    Version : Business Objects XI3, Edge Series professional
    Kind regards,

    Try changing the idle connection timeout on your Web Intelligence Processing Server to 60 minutes (from the CMC).
    If this doesn't work, please add a trace to the Web Intelligence Processing Server (add a -trace to the command line parameters of the server). and post the log for the relevant time period.

  • Unable to open report from forms 9i

    Hi,
    Unable to open report from forms 9i and got the following error.
    Error : REP-0503, You did not specify the name of a report
    Steps followed
    1.Created report object in forms using existing report
    2.changed the following properties
    Exec. mode : runtime
    comm mode : synchronous
    3. When -button -Pressed Trigger;
    Declare
    Repid report_object;
    Begin
    repid:=find_report_object('report4');
    v_rep:=run_report_object(repid);
    End;

    Hi,
    did you specify a Reports rdf or rep file that should be run. You can do this either in a trigger or as a property of the Reports object node in Forms.
    Frank

  • I downloaded the iPhoto library upgrade, but i am still unable to open the iPhoto app

    I downloaded the iPhoto library upgrade as requested, but i am still unable to open my iPhoto app

    You need to backup your iphoto library, download and RUN the  iPHtoo library upgrader (it is installed in the utilities folder of your applications folder - double click on it to RUN it) and then launch the new iphoto
    LN

  • XenApp 6.5 and Acrobat issue: "Unable to open the document".

    We are using XenApp 6.5 with a published desktop Windows 7 x64. If we open Acrobat Pro 10.1.5 and Create PDF we get an error "Unable to open the document". If we do the same action directly on the XenApp server then it works as expected. The Word doc in question was created by the test user and is located on their Home drive area so the permissions are correct. If i try to save the Word doc as PDF it works fine directly and indirectly.
    There seems to be lots of people asking similar questions here:
    http://forums.adobe.com/message/4275334
    Thanks
    Gary

    From the link below:
    http://www.adobe.com/devnet-docs/acrobatetk/tools/AdminGuide/citrix.html
    what does: Deploy enterprise files to the product’s directories (rather than per-user directories) so they are available to all users mean in practice...?

  • Unable to open reports in web browser through 9ias

    Hi ...
    I got the following error when i am clling from web.
    I saved my reports into database from .rdf format.
    Error: The requested URL was not found, or cannot be served at
    this time.
    Oracle Reports Server CGI - Report Job has terminated with error.
    Reports Server Replies:
    REP-0110: Unable to open file 'STATION'.
    REP-1070: Error while opening or saving a document.
    REP-0110: Unable to open file 'STATION'.
    I wouid appreciate any help
    Regards
    Gopi

    Hi,
    Just check I think users are executing reports first time, Go to Start Menu of Windows -> All Programs -> Business Explorer -> Analyser.
    Then a pop windows will come which will ask for enabling Macros in Excel.
    Check the Authorization Role for User in TCode PFCG, Check the Sub option for S_RS_COMP & S_RS_COMP1.
    Regards,
    Rajdeep.

  • Since upgrading to Maverick I'm unable to open any indesign files (receiving error code 4).

    I decided to uninstall, then redownload from Creative Cloud, but my Adobe Application Manager tries to launch and quits unexpectedly, over and over. I restarted my computer, but that wasn't helpful. I was considering uninstalling all of CC, but I'm concerned about the application manager issue inhibiting me from using any programs. Illustrator is working fine after an update...Help! I'm on deadline

    I had the same problem. Brand new Mac Pro with a fresh installation of Creatve Cloud.
    ID CC couldn't open CS6 files. Error code 4. As luck would have it I still have CS6 on an another Mac. When I have opened the file there and then did a Save As (CS6 file with another name) everything worked great. Strange.
    But now with the latest ID CC update it seems to work fine to open CS6 files without error code 4.
    I hope you managed to solve your problem in time?

  • ClamAV 0.94.2 issues - unable to open/parse clamd.conf

    Leopard Server 10.5.6
    Amavisd-new 2.6.2
    Spamassassin 3.2.5
    ClamAV 0.94.2
    WHITOUT THE LAST 2009 SECURITY UPDATE
    Amavisd, Spamassassin and Clamav updated manually using the last osx.topicdesk tutorials
    On the mail section of the Server Admin, the Virus Scanning status appears Unknown (Virus scanning:Unknown)
    On the Filters settings the "Scan email for viruses" check are enabled, but I don't be able to enable the "Update the virus databases" check.
    freshclam.log file is empty
    On the system log file appears the errors below:
    Mar 1 00:39:18 xserve net.clamav.clamd[30358]: ERROR: Can't open/parse the config file /private/etc/spam/clamav/new/clamd.conf
    Mar 1 00:39:18 xserve com.apple.launchd[1] (net.clamav.clamd[30358]): Exited with exit code: 1
    Mar 1 00:39:18 xserve com.apple.launchd[1] (net.clamav.clamd): Throttling respawn: Will start in 10 seconds
    Mar 1 00:39:18 xserve net.clamav.freshclam[30359]: ERROR: Can't parse the config file /private/etc/spam/clamav/new/clamd.conf
    Mar 1 00:39:18 xserve com.apple.launchd[1] (net.clamav.freshclam[30359]): Exited with exit code: 56
    Mar 1 00:39:18 xserve com.apple.launchd[1] (net.clamav.freshclam): Throttling respawn: Will start in 10 seconds
    Now...
    The ClamAV is still functioning?
    What is the cause of that errors?
    How can I solve this issue?
    Any suggestions are welcome

    The error means you either made a typo while configuring/installing ClamaAV or that you did not complete the tutorial by downloading the needed configuration files.

  • Unable to open reports and web analysis document in workspace

    After installing reports and analysis 9.3.1, when I am trying to preview a test report on web or as a pdf preview I am getting these kind of errors.
    <BR><BR>
    Required application module analyzer.reportview is not configured. Please contact your administrator.
    <BR><BR>
    When I click OK on this it says communication error which says <BR><BR>
    "http://hyprepdev.acml.com:19000/WebAnalysis/conf/AnalyzerConfig.xml?LOCALE_LANGUAGE=en <H1>SRVE0255E: A WebGroup/Virtual Host to handle /WebAnalysis/conf/AnalyzerConfig.xml has not been defined.</H1><BR><H3>SRVE0255E: A WebGroup/Virtual Host to handle hyprepdev.acml.com:19000 has not been defined.</H3><BR><I>IBM WebSphere Application Server</I>"
    <BR><BR><BR><BR>
    Similarly when I try to open as pdf preview I am getting the same error.<BR>
    Kindly advice.

    Try changing the idle connection timeout on your Web Intelligence Processing Server to 60 minutes (from the CMC).
    If this doesn't work, please add a trace to the Web Intelligence Processing Server (add a -trace to the command line parameters of the server). and post the log for the relevant time period.

  • BI Publisher: Issue while scheduling the report/query to be executed daily

    Hi,
    We are using Oracle Business Intelligence 11.1.1.6.3 and while we schedule a report(RTF Template) we are facing issue.We use bursting query and when we select option to execute immediately it runs fine and sends notifications,it also executes when we schedule it to run Once but fails when i schedule the report to be executed DAILY .

    hii
    The query does not includes any RKF, CKF any complex calculations. as I said before also query is based on MP which is designed on a single Cube. There are no such navigational Attributes used for selection, Number of records are not more than 300 on that particular selection parameter
    there is only one info object which is creating issue & it is a master info object. If i am restricting this info object in the query & then executes the query , it gives the error msg also i put a variable for input parameter, & there I restrict the value, then also query executes with an error msg
    But if query is not restricted with  any value for that info object then query executes with in a second.
    Thanks
    neha

  • Unable to Open Report V10 Error REP0118

    Hi,
    I used to open existing reports without problems on Windows 2000, but my workstation has been modified, 2 network drives have been added (S: and U:).
    I can use Forms but not Reports ( specially the Data Model screen ),
    I get an "Unable to Create Temporary File" REP0118 error
    I searched in the "D:\oracle\AS10\reports\server" directory, there is .DAT file, but it's binary.
    Please someone help me?
    Many thanks

    Hi again,
    I've been able to run Reports by changing the "Reports_Tmp" key in the Registry under:
    Hkey_local_machine\software\oracle\home0\
    to the D:\ drive

  • Unable to Open Bex Query Designer

    Hi Experts,
    When i opening the BEx Query Designer i got an error message that " RFC error received: Connection Closed without message
    (CM_NO_DATA_RECEIVED).
    When i closed this message in the status bar it is giving message "Please Install Excel as  viewer.
    Any one help in this issue.
    Thanks,
    Satya

    Hi,
    The problem is with you GUI Installation, So uninstall the GUI in your system and then install GUI with selecting all EXCEL options and it will work.
    Thanks
    Reddy

  • Unable to open web query. Cannot download the information you requested.

    I am attempting to import several financial statements into a stock valuation program I have created. Sometimes, the web queries work fine and other times they do not. For instance, if I reset my computer they will sometimes
    work. It is very random, some days it will work and others it will not. I have had other people try using excel web queries, not just from my worksheet, and they have the same issue where they randomly stop working. I have looked into
    other forums but cannot figure out why these queries will not work. Please help me resolve this because it makes the excel program worthless without it. Thanks! 

    Not sure if have tried the methods listed in the articles below, if not, please have a try.
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2011/12/13/error-performing-web-query-quot-cannot-download-the-information-you-requested-quot.aspx
    http://support.microsoft.com/default.aspx?scid=kb;EN-US;2123563
    Best Regards,
    Wind

Maybe you are looking for