Opening updated report fails because record selection filter is invalid

I am trying to update a report stored in BOE XI.  The report has been modified and the main part of the report has been moved to a subreport.   I first replace the .rpt file with the updated report.  Then I attempt to open the report using the code below it, but it throws an error and complains about an unknown field being mentioned in the filter
oReportAppFactory = (IReportAppFactory) es.getService("", "RASReportService");
oReportClientDocument = oReportAppFactory.openDocument((IInfoObject) oReport, 0, Locale.ENGLISH);
ERROR MESSAGE: Cannot open report document. --- This field name is not known.
Details: errorKind
Error in File /opt/bobje/bobje/tmp/{F395AC11-26FC-11DF-A70C-00065B8B38B5}.rpt:
Error in formula  <Record Selection>.
'// Filter on desired date range
This field name is not known.
Details: errorKind
If I manually delete the record selection filter in CMC before upgrading the report all works fine.  So, do I need to remove the filter before attempting to open the report or is there another step I'm missing to refresh the report using the newly updated .rpt file? 
thanks,
Brett

The relevant part of the stacktrace is below.  
java.lang.UnsupportedOperationException
        at com.crystaldecisions.sdk.properties.internal.AbstractSDKList.remove(Unknown Source)
        at java.util.AbstractList$Itr.remove(AbstractList.java:436)
        at com.crystaldecisions.sdk.plugin.desktop.common.internal.i.do(Unknown Source)
        at com.crystaldecisions.sdk.plugin.desktop.report.internal.e.f(Unknown Source)
        at com.crystaldecisions.sdk.plugin.desktop.report.internal.e.f(Unknown Source)
        at com.crystaldecisions.sdk.plugin.desktop.report.internal.e.refreshProperties(Unknown Source)
The context is the same as the original post...
An existing report is being updated.  The original report uses a single view and has a record selection filter.  The updated report uses the same view in a subreport, and the main report has no record selection filter.
.rpt file is updated using IReport.replaceUnique(int, File).  
Changes are committed to IInfoStore -> iStore.commit(IReport)
Refresh options are enabled
IReportRefreshOptions refreshOptions = oReport.getReportRefreshOptions();
refreshOptions.removeOption(IReportRefreshOptions.CeRefreshOption.TITLE);
refreshOptions.removeOption(IReportRefreshOptions.CeRefreshOption.DESCRIPTION);
refreshOptions.addOption(IReportRefreshOptions.CeRefreshOption.PROMPT_VALUES);
refreshOptions.addOption(IReportRefreshOptions.CeRefreshOption.RECORD_SELECTION_FORMULA);
refreshOptions.addOption(IReportRefreshOptions.CeRefreshOption.GROUP_SELECTION_FORMULA);
refreshOptions.addOption(IReportRefreshOptions.CeRefreshOption.PRINTER_OPTIONS);
refreshOptions.addOption(IReportRefreshOptions.CeRefreshOption.DEFAULT_LOGON_INFO_VALUES);
Properties are then refreshed using IReport.refreshProperties() which throws the UnsupportedOperationException
changes are again committed.
thanks,
Brett

Similar Messages

  • TS1424 when downloading itunes update it fails because it can't find  "iTunes.msi"

    when downloading itunes update it fails because it can't find  "iTunes.msi" whaat can I do please?

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Crystal Report failed because a free license could not be obtained

    My question is about Crystal Report Standard (v. 10) and Crystal Report Professional (v.10)
    Trying to print labels on from my application using Crystal Report Standard Edition (v. 10) and I am getting the follow error.  And it doesnu2019t print any more.
    "Crystal Reports job fauile because a free license coukd not be obtained in the time allocated.  More licenses can be purchased direct from Crystal Decissions or thorough the Crystal Decisions Online Store"
    If a run the same application on another server using Crystal Report Professional Edition (v. 10) and get this error, but the print after few seconds.
    "A Crystal Reports job was delayed 2 seconds waiting for a free RDC runtime concurrente license to become available.  More licencses can be purchased direct from Crystal Decisions or through the Crystal Decisions Online Store"
    Is this happening because Standard / Professional differences?.  It is any way to workaround on the standard edition and made print again with out reboot server.  How many users can print at the same time?
    Thanks for your help.

    Hello Monica,
    In your earlier posts you said the RDC was referenced in one of the licensing warning messages.  The licensing warnings you've listed here would normally be seen in a Crystal Reports .NET application, not an RDC application.  I don't see any details about your application though.  More details about the actual application would be helpful.  What type of application is it? Which Crystal component are you using?  Which IDE did you use to create your application?  How did you deploy the application?  What type of keycode did you use to deploy?   Is a full version of Crystal Reports also installed along with the runtime application?  Also, please confirm whether or not this is a web or windows application.
    Since these are CR.NET licensing warnings I'll address the errors and warnings related to the CR.NET object model.
    Crystal Reports 10 Standard edition and Professional edition are not a development level products.  These types of keycodes would not normally allow a runtime application to operate.  You'd normally see the warning messages if you were using either a CR10 Developer, or CR10 Advanced Developer keycode when deploying a CR.NET application.
    The CR.NET runtime licensing model has 3 Concurrent Processing Licenses (CPLs).  This number can not be changed.  CR10 Developer edition does not include queuing in it's licensing model, so when the 4th request comes in if the 3 CPLs are in use then the 4th request will fail with the "free license could not be obtained" error message.
    CR10 Advanced Developer edition includes queuing in it's licensing model, so when the 4th request comes in if the 3 CPLs are in use then the 4th request will queue and test to find a free license every 2 seconds for approximately 2 minutes.  In this case you'll see warning messages in the event viewer.
    The 3 CPLs can not be increased - they're a fixed limit based on the number of CPUs on a particular web server.  If you use a web garden or web farm and use load balancing then the number of CPLs increases as the number of CPUs increases.  It's 3 CPLs per CPU.
    There is no way to force the licenses to be freed up.  This is handled by the CR.NET report engine.  When the engine is finished using the license it is freed up automatically.
    The Report Designer Component (RDC) does have a 5 seat model in CR10, but it does not follow the same queuing model seen with the CR.NET component.
    Once you post more information about your application, and the Crystal Reports runtime component you're really using we can see if the above information applies or not.
    Sincerely,
    Dan Kelleher

  • InfoView - Error when opening a report ("Failed to open connection")

    Hellow everybody!
    > I created a crystal report using Crystal Reports 2008.
    > The report was designed to connect to a mysql database.
    > In Crystal Reports 2008, the report works fine, but when I try to open it in InfoView, the error bellow appears:
    "Failed to open connection"
    The BO XI3.0 is intalled in a windows 2003 server.
    The odbc driver is installed and configured on the server (I test the connection and it is working fine).
    I don't know what the problem is.
    anyone have any idea about what might be happening?

    The DB is on the server machine.
    When I said I created a connection in the CMC, I did it by creating a connection using the Designer tool:
    II went in the Designer tool and I've just created the connection, but I not drawn any universe since my report does not use a universe (in CR the report directly connects to the database).
    I do not know if this is a correct procedure.
    Edited by: Gisele Machado Souza on Apr 12, 2010 10:19 PM

  • Updating BIOS failed because it says computer needs insert system battery.

    I was updating the BIOS for my Toshiba model number L755-55158 and it downloaded the update fine and when it was going to install it says insert system battery. The computer is plugged into the power outlet so it is not asking for the battery that powers the computer. I think it is asking for some battery that I am not aware of. This computer is very new, I bought about a week ago. So why is the BIOS not updating from Toshiba Service Station? Is a BIOS update crucial?

    I think that the Bios update is just wanting to make sure that there is almost no chance of the computer failing during the Bios installation. So it is asking if the main battery is installed and fully charged prior to running the Bios update. Beyond power cord and the fully charged battery being in the computer, I would also want to make sure that no other programs are open or unsaved files. Once while doing a Bios update, I had a Word document open. Without giving me a chance to save and close, the Bios update rebooted the computer. Lost only a few minutes of work, but it was annoying.

  • Updates are failing because "There was an error downloading this update. Please quit and try again later."

    No clues are given as to why the downloads are failing.  I tried last night ... and again this morning.  Same thing.

    Errors 201 & 205 & 206 & 207 or several U43 errors
    -http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html
    or
    Please read, and reply back here with information https://forums.adobe.com/thread/1499014
    -and try some steps such as changing browsers and turning off your firewall for downloads
    or
    A chat session where an agent may remotely look inside your computer may help
    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • How to add a new record in updatable report using apex_item

    Hi,
    i am using an updatable report using the following select
    select
    aPEX_ITEM.POPUP_FROM_QUERY(2,emp_code,
    ' SELECT emp_surname, emp_code FROM hrm_employee ' ,null,null,null,null,null,'onchange="f_set_multi_items_tabular(this.value ''#ROWNUM#'''
    || ')"',null,null,null) PF_No,
    apex_item.text (32,
    NULL,
    80,
    100,
    'style="width:190px" ',
    'f11_' || '#ROWNUM#'
    ) Name,
    " REST_DATE",
    "REMARKS",
    from "roster"
    when i click on the button add row , only the column rest_date and the remarks are enable.
    why is the apex_item.text and apex_item_popup_from_query is disable ? and how i can make it enable.
    thanks
    regards
    jerry

    I could see that you are using the addRow() function to generate new blank row.
    I guess, this function(used by the builtin tabular form s) , identifies editable columns when they are marked so at the report column attributes.
    When you use apex_item API, it expects the columns to be standard report column and hence render the new rows as such.
    Some one from the development team might be able to give a better answer on that.
    As for avoiding this issue
    <li>One method , would be to define the columns editable(and display types) in report column attributes.
    <li> You can duplicate the last row using jQuery( *$('tr.highlight-row:last).after( $('tr.highlight-row:last).clone() )* ) and removing the field values, but events(for example datepicker) would remain attached to the original row , so it isn't very straightforward either.
    <li>If you want to use apex_item you would have to use a pseudo union to DUAL for generating a blank row and re-render the report either by a page load or a Dynamic Action. Sounds like a nice idea for a plugin.
    Now , if you want to add rows multiple times without saving them, then you would need to store the values in a collection at load and update the collection before adding the row.

  • CRVS2010 Beta - Database login fails after setting select formula

    I am working through how to call the report and have it print programatically.  I was able to get it to print with the saved data, but as soon as i add a recordSelectionFormula to it, it fails saying the login is incorrect.  I have searched the forums and tried the different resolutions some people have used, but it still fails for me.  What about the select formula would cause this issue?  below is the code i am using.  Please let me know what I am missing, thank you.
                ReportDocument crDoc = new ReportDocument();
                crDoc.Load("c:
    shipmgmt
    reports
    PackingSlip.rpt");
                crDoc.SetDatabaseLogon("user", "password", "localhost", "shipmgmt");
                crDoc.RecordSelectionFormula = "{ld_mstr.ldm_nbr} = \"13994\" AND {ld_mstr.ldm_ord} = \"665527\"";
                Object sfVal = new Object();
                sfVal = "R&S COLUMBIA";
                Object prncases = new Object();
                prncases = false;
                crDoc.SetParameterValue("shipFrom", sfVal);
                crDoc.SetParameterValue("prnCases", prncases);
                crDoc.PrintOptions.PrinterName = "
    wc-printserver
    wccsr";
                crDoc.PrintToPrinter( 1, false, 0, 0 );
                crDoc.Dispose();

    Hello,
    Copy the record selection formula from the Designer and paste that into your code, then use a report without the record selection formula saved in it and test again.
    Next step is what database and driver are you using? Joinbuilder registry keys were for old legacy drivers. This may be an issue with the driver configuration.
    ALSO, don't use "localhost" as your Server name or DSN name etc. Try replacing it with the actual DB server/machine name:
    crDoc.SetDatabaseLogon("user", "password", "localhost", "shipmgmt");
    Thanks again
    Don

  • Dynamic query in updatable report

    I have generated a updatable report with the folowing select:
    select
    "INSTALLATIEID",
    "INSTALLATIEID" INSTALLATIEID_DISPLAY,
    "CO_DRUK" druk,
    "CO_H2O" h2o,
    "CO_O2" o2,
    "CO_O2_11" o2_11,
    "CO_TEMP" temp
    from "#OWNER#"."CORRECTIE"
    The table correctie has above the 50 columns (the same columns for different components) so I want to change the query in:
    select
    "INSTALLATIEID",
    "INSTALLATIEID" INSTALLATIEID_DISPLAY,
    "&P50_COMP._DRUK" druk,
    "&P50_COMP._H2O" h2o,
    "&P50_COMP._O2" o2,
    "&P50_COMP._O2_11" o2_11,
    "&P50_COMP._TEMP" temp
    from "#OWNER#"."CORRECTIE"
    The item P50_COMP will be filled with a default value and is a select list with submit.
    The problem is when I change the query in the above way, the query cannot be parsed and I cannot applay the changes without parsing the query.
    Also not when I use Generic Column Names (parse query at runtime only)
    Can somebody help me with this problem.

    Fred,
    You should switch to a PL/SQL Function Body Returning SQL Statement (Dynamic Query) in order to achieve this. Your Function would look like this:
    declare
      l_sql varchar2(32767);
    begin
      l_sql := 'select
    "INSTALLATIEID",
    "INSTALLATIEID" INSTALLATIEID_DISPLAY,
    "' || :P50_COMP || '._DRUK" druk,
    "' || :P50_COMP || '._H2O" h2o,
    "' || :P50_COMP || '._O2" o2,
    "' || :P50_COMP || '._O2_11" o2_11,
    "' || :P50_COMP || '._TEMP" temp
    from "#OWNER#"."CORRECTIE"';
    return l_sql;
    end;Thanks,
    - Scott -

  • HT4059 I can't open my books with the update, says failed to load book because the requested resources is missing.  Please HELP.

    I can't open my books with the update, says failed to load book because the requested resources is missing.  Please HELP.

    If you can't open a particular ibook then try deleting it from the bookshelf via the Edit button at the top right of the bookshelf, and (assuming that it's still in your country's store) redownload it via the Purchased tab in the ibookstore in the app (or if you have a copy of it on your computer's iTunes library sync it back from there).

  • Attempted to install AirPort Utility 6.0 on my new mac mini. Install failed and now the previous version 5.5.3 won't open. I downloaded and tried to instal 6.0 without software update, which failed, and my old 5.5.3 AirPort Utility still won't open? Help.

    Now the previous version won't open. I downloaded and tried to instal 6.0 without software update, which failed, and my old 5.5.3 Airport Utility still won't open.
    iTunes no longer recognizes my airport express.
    Error Message:
    None of the selected updates could be installed.
    An unexpected error occurred.
    Can't delete Airport Utility and reinstal from scratch as it is, “AirPort Utility” can’t be modified or deleted because it’s required by Mac OS X.
    Any sugestions?

    I reinstalled AirPort 5.5.3 which worked, but the app still won't launch but iTunes now recognizes my AirPort Express, I just hope I don't want to change its settings.

  • Error: Failed to open the connection when opening Crystal Report in CMC or

    Hello all,
    I am getting theError: Failed to open the connection when opening Crystal Report in CMC or Infoview
    with access database as the datasource which is in the network drive.

    Hi Sonali,
    This is because Crystal Reports does not recognize database connection from share drive
    1. Save the database locally on server machine
    2. Create a new database on server and link the new database with the database on Network.
    Steps to link the database.
    1.Create a new test database on server.
    2. Go to File --> Get External Data --> Link tables | Select the database on Network Drive.
    3. Select all the tables from the database.
    4. Save the Database  e.g. Test.mdb.
    5. Create an ODBC Connection on server machine, with the same name as on client machine using test.mdb database.
    Note: Click on Advanced button, enter the default user id and password for the odbc connection, it is not mandatory to give Login Name and Password, only if the user id and password are given then we need to provide the same user id and password in the CMC database configuration.
    6. Create a report using this ODBC connection, and save the report to Enterprise.
    Regards,
    Navin

  • How Do I Filter a Report Using a Multi Select List Box and Specifying Date Between Begin Date and End Date

    Hope someone can help.  I have tried to find the best way to do this and can't seem to make sense of anything.  I'm using an Access 2013 Database and I have a report that is based on a query.  I've created a Report Criteria Form.  I
    need the user to be able to select multiple items in a list box and also to enter a Begin Date and End Date.  I then need my report to return only the records that meet all selected criteria.  It works fine with a ComboBox and 1 selection but can't
    get it to work with a List Box so they can select multiple items.  Any help is greatly appreciated while I still have hair left. 

    The query should return all records.
    Let's say you have the following controls on your report criteria form:
    txtStart: text box, formatted as a date.
    txtEnd: text box, formatted as a date.
    lbxMulti: multi-select list box.
    cmdOpenReport: command button used to open the report.
    The text boxes are used to filter the date/time field DateField, and the list box to filter the number field SomeField.
    The report to be opened is rptReport.
    The On Click event procedure for the command button could look like this:
    Private Sub cmdOpenReport_Click()
    Dim strWhere As String
    Dim strIn As String
    Dim varItm As Variant
    On Error GoTo ErrHandler
    If Not IsNull(Me.txtStart) Then
    strWhere = strWhere & " AND [DateField]>=#" & Format(Me.txtStart, "yyyy-mm-dd") & "#"
    End If
    If Not IsNull(Me.txtEnd) Then
    strWhere = strWhere & " AND [DateField]<=#" & Format(Me.txtEnd, "yyyy-mm-dd") & "#"
    End If
    For Each varItm In Me.lbxMulti.ItemsSelected
    strIn = strIn & "," & Me.lbxMulti.ItemData(varItm)
    Next varItm
    If strIn <> "" Then
    ' Remove initial comma
    strIn = Mid(strIn, 2)
    strWhere = strWhere & " AND [SomeField] In (" & strWhere & ")"
    End If
    If strWhere <> "" Then
    ' Remove initial " AND "
    strWhere = Mid(strWhere, 6)
    End If
    DoCmd.OpenReport ReportName:="rptMyReport", View:=acViewPreview, WhereCondition:=strWhere
    Exit Sub
    ErrHandler:
    If Err = 2501 Then
    ' Report cancelled - ignore
    Else
    MsgBox Err.Description, vbExclamation
    End If
    End Sub
    If SomeField is a text field instead of a number field, change the line
            strIn = strIn & "," & Me.lbxMulti.ItemData(varItm)
    to
            strIn = strIn & "," & Chr(34) & Me.lbxMulti.ItemData(varItm) & Chr(34)
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • The boot selection failed because a device is inaccessible, not the usual boot error though?? (0xc000000e)

    Hey,
    I need some help fast please. I recently booted up my gaming rig after swapping out a 7970 graphics card and upon system boot up, as the windows 7 logo appeared the system crashes and a BSOD appears for a split millisecond and I'm asked to start up repair windows
    or start windows normally however when I click start up repair a black error screen appears with the following message and error: The boot selection failed because a device is inaccessible error state and an error code:0xc000000e. Now of fixed this before
    multiple times except this instance nothing seems to work Ive tried the following:
    - check for any unplugged or loose cables
    - Re installed my ram
    - Booted with on board graphics
    - unplugged all usb devices and external devices with the exception of the keyboard and mouse
    - Booted with system installation disc and attempted system repair several times only with the same outcome of wanting to restore from a previous system restoration point however it always fails
    - changed the boot type to IDE which made the system boot furhter past the logo screen however it still crashes with the same error
    - From the system installation disc I ran a chkdsk /f and no corruptions or bad sectors were found
    However, I did run from the installation disc a "bcdedit" and my osdevice was  unkown and my boot manager and boot loader were set to two different drives on being D: and the other being C:. So I re-linked all three back to the D: drive as the
    windows installation disc says thats where Windows 7 is installed, although in the actual windows 7 My Computer its listed as C: drive which is weird? anyways after re-linking them using bcdedit /set {default} osdevice partition=D: and the other two commands
    my recovery partition disappeared  which was listed as C:, and now I can only see my local drive? That did not fix the error so I tried one last thing and ran another chkdsk D: /f /r which is taking for ages and I'm assuming my hard drive and its contents
    are still intact ( thank god!!) because its taking so long and there are 612080 files to be processed!
    I thought I might try and rebuild Master Boot Record?
    I don't want to loose any of my data, well I hope I haven't lost any because I have over 150+ games and their saves :(
    Any help or suggestions would be much appreciated :D 
    thanks guys! 

    Hi,
    Repair the current OS using the Windows 2008 / 7 DVD:
    Boot to the Windows DVD
    Select Next > Repair your computer
    Select Next > Command Prompt
    Change directory (cd) to x:\Sources\recovery 
    then type Startrep.exe to launch a quick automated startup repair utility which corrects boot environment values. This step may require more than one attempt and should be repeated a couple of times if the first repair fails.
    If step 3 fails, open the command prompt and type bcdedit This
    will display the values for Windows Boot Manager.
    Review the values for Device. Is it set to unknown, as shown below? If so, proceed to step 7.
    At the command prompt, type the following commands (c: is the default system partition. If your original partition was another drive letter, this value can be set to that drive letter):
    bcdedit
    /set {DEFAULT.EN_US} device partition=c:
    (press enter)
    bcdedit
    /set {DEFAULT.EN_US} osdevice partition=c:
    (press enter)
    bcdedit
    /set {BOOTMGR.EN_US} device partition=c:
    (press enter)
    Reboot the system after removing the OS disk.
    Hope it helps,
    Jan

  • Resetting Record Selection Formula on report on Crystal Reports XI Server

    We have Crystal reports with recurring schedules running on Crystal Reports XI Server. If I change the Record Selection criteria in Crystal Reports Designer and do a "Save As" to overwrite the previous version of the report on the server, it does not reset the Filter -> Record Selection on each scheduled instance of the report. This means that the new criteria I've added to the base report is effectively ignored.
    I understand why this would be the default behaviour but given that we have a condition that must be added to a large number of reports which are scheduled many times, I need a way to be able to force a reset of the Record Selection to that of the Crystal Report.
    Any ideas how to do this?
    Thanks

    Hello Alan,
    There's no way to alter parameters for an already-created report schedule, as you've noted. 
    As implied in your message, this is so that no updates on a report would affect, and potentially break, already existing scheduled report instances.
    It's recommended to make changes and reschedule.  As you indicate, this may be effort intensive if there are many such scheduled.
    If such changes have to be done regularly, then report redesign to parameterize the filter would be recommended - but I'm assuming this is not your situation.
    Sincerely,
    Ted Ueda

Maybe you are looking for

  • How can I delete a reacurring calendar event from my iPhone 4?

    I recently started at a new company and of course I set up my iphone to sync with my corprate email. Everything works fine accept one thing. A few weeks make a got an Outlook reaccuring request for confrence calls on Thursdays. I accepted the invite.

  • Proforma Invoice - For IC Export

    Hi Gurus I have a below scenario This is regarding Intercompany scenario for export sales , Normally when we do export sales we have SAP Standard billing types ( Proforma F8 delivery related and F5 Order Related ) sometimes at the request of the clie

  • Can't open doc. files in pages

    Ever since I upgraded to Snow Leopard, Pages won't let me open doc files. Is there a way I can fix this? Also...I was just thinking about upgrading to the newer iLife09. Would that be a better thing to do running Snow Leopard and what not? And if I d

  • Can anyone help with my Shutterfly export plugin problem?

    My Shutterfly plugin for iPhoto says that I have the wrong password. I double-checked on the Shutterfly website and I have the correct password. This is very inconvenient because I can't upload my photos to make a book. Shutterfly said it's a problem

  • Perform statment in script

    I have written form statment in subroutine program and  calling in script layout using perform statment it is not calling in the script. i written following code in the subroutine program . PROGRAM  ZWHDTAX. form WHDTAX  tables in_tab     structure i