Problem in WPF with opening report ArgumentOutOfRange . Happens sometimes.

Hello,
I started using Crystal Reports in my new WPF .NET 4.0 project.
My datasource is a generic List.
Via the database expert I was able to select my object type (class in my project).
This is my code in the constructor of a WPF window to load the data and 2 parameters:
     var report = new ReportDocument();
            var reportPath = Path.Combine(Settings.Default.ReportLokatie, "ChauffeurExtraBeschikbaar.rpt");          
            report.Load(reportPath);
            try
                //Get the collection of parameters from the report
                var crParameterFieldDefinitions = report.DataDefinition.ParameterFields;
                //Access the specified parameter from the collection
                var naamParameter = crParameterFieldDefinitions["VolledigeNaam"];
                var tikParameter = crParameterFieldDefinitions["Tiknummer"];
                //Get the current values from the parameter field.  At this point
                //there are zero values set.
                var naamParameterValues = naamParameter.CurrentValues;
                var tiknummerParameterValues = tikParameter.CurrentValues;
                naamParameterValues.Clear();
                tiknummerParameterValues.Clear();
                //Set the current values for the parameter field
                var naamValue = new ParameterDiscreteValue();
                naamValue.Value = volledigeNaam;
                var tiknummerValue = new ParameterDiscreteValue();
                tiknummerValue.Value = tiknummer;
                //Add the first current value for the parameter field
                naamParameterValues.Add(naamValue);
                tiknummerParameterValues.Add(tiknummerValue);
                //All current parameter values must be applied for the parameter field.
                naamParameter.ApplyCurrentValues(naamParameterValues);
                tikParameter.ApplyCurrentValues(tiknummerParameterValues);
            catch (Exception)
                MessageBox.Show("Error parameters");
            crystalReportsViewer1.ViewerCore.ReportSource = report;
            report.SetDataSource(lijst);
Sometimes when I call the window I got:  System.ArgumentOutOfRangeException: Specified index is out of range or child at index is null. Do not call this method if VisualChildrenCount returns Zero; indicating that the Visual has no children.
Parameter name: index
Actual value was 0.
at System.WIndows.FrameworkElement.GetVisualChild(Int32 index)
at SAPBusinessObjects.WPF.Viewer.ReportAlbum.ShowTabHeader(Boolean isShow)
Thanks in advance.
Regards,
Wesley

Hi Wesley
1) Make sure you are on SP1:
SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads [original link is broken]
2) Have a look at KB [1566187|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533363336333133383337%7D.do]
3) As an FYI, also see KB [1544675|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533343334333633373335%7D.do]
- Ludek

Similar Messages

  • Problem displaying PDF with Jasper Reports

    I have the following code that loads a report and displays it in PDF format:
    if(jasperReport==null) {
         logger.debug("Loading...");
         InputStream inStream = null;
         try {
              inStream = getServletContext().getResourceAsStream("/WEB-INF/reports/UnitReport.jasper");
              logger.debug("got inStream");
              jasperReport = (JasperReport) JRLoader.loadObject(inStream);
              logger.debug("Loaded compiled report");
         } catch(Exception e) {
              logger.error(e.getMessage(),e);
         } finally {
              try { inStream.close(); } catch(Exception e) {}
              logger.debug("closed");
    OutputStream outStream = null;
    Connection conn = null;
    try {
         logger.debug("Start build");
         LoginInfo lInfo = (LoginInfo) request.getSession().getAttribute("LoginInfo");
         logger.debug("got name: " + lInfo.getFullName());
         String unitID = (String) request.getParameter("unitID");
         response.setContentType("application/pdf");
         outStream = response.getOutputStream();
         logger.debug("set content type & got OutputStream");
         JRExporter exporter = new JRPdfExporter();
         logger.debug("new exporter");
         conn = DBConnection.getDBConnection();
         logger.debug("got connection");
         //Setup parameters
         Map<String, Object> params = new HashMap<String, Object>();
         params.put("unitID", new Long(unitID));
         params.put("userName", lInfo.getFullName());
         if(debug) {
              logger.debug("set parameters: ");
              logger.debug("  Unit ID:    " + unitID);
              logger.debug("  User Name:  " + lInfo.getFullName());
         JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, params, conn);
         logger.debug("built report");
         exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
         exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, outStream);
         logger.debug("set output parameters");     
         exporter.exportReport();
         logger.debug("dumped.");
    } catch(Exception e) {
         logger.error(e.getMessage(),e);
    } finally {
         try {outStream.close(); } catch(Exception e) {}
         try {conn.close(); } catch(Exception e) {}
         logger.debug("cleanup done.");
    }This works fine locally but when I deploy the EAR file to the production server I get the following:
    [5/19/08 20:55:36:730 CDT] 00000045 SystemOut     O 20:55:36.730 DEBUG JasperReports.doGet:42 - Start
    [5/19/08 20:55:36:730 CDT] 00000045 SystemOut     O 20:55:36.730 DEBUG JasperReports.doGet:49 - reportID: randdunitreport
    [5/19/08 20:55:36:746 CDT] 00000045 SystemOut     O 20:55:36.746 DEBUG JasperReports.doGet:56 - Loading...
    [5/19/08 20:55:36:746 CDT] 00000045 SystemOut     O 20:55:36.746 DEBUG JasperReports.doGet:62 - got inStream
    [5/19/08 20:55:37:168 CDT] 00000045 SystemOut     O 20:55:37.168 DEBUG JasperReports.doGet:64 - Loaded compiled report
    [5/19/08 20:55:37:168 CDT] 00000045 SystemOut     O 20:55:37.168 DEBUG JasperReports.doGet:71 - closed
    [5/19/08 20:55:37:168 CDT] 00000045 SystemOut     O 20:55:37.168 DEBUG JasperReports.doGet:77 - Start build
    [5/19/08 20:55:37:168 CDT] 00000045 SystemOut     O 20:55:37.168 DEBUG JasperReports.doGet:85 - set content type & got OutputStream
    [5/19/08 20:55:37:246 CDT] 00000045 SystemOut     O 20:55:37.246 DEBUG JasperReports.doGet:88 - new exporter
    [5/19/08 20:55:37:246 CDT] 00000045 SystemOut     O 20:55:37.246 DEBUG JasperReports.doGet:91 - got connection
    [5/19/08 20:55:37:246 CDT] 00000045 SystemOut     O 20:55:37.246 DEBUG JasperReports.doGet:98 - set parameters:
    [5/19/08 20:55:37:246 CDT] 00000045 SystemOut     O 20:55:37.246 DEBUG JasperReports.doGet:99 -   Unit ID:    6472
    [5/19/08 20:55:37:246 CDT] 00000045 SystemOut     O 20:55:37.246 DEBUG JasperReports.doGet:100 -   User Name:  Fred Smith
    [5/19/08 20:55:37:996 CDT] 00000045 SystemOut     O 20:55:37.996 ERROR JasperReports.doGet:114 - Error loading object from URL : file:/C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/MOMWEBNode01Cell/ClaimProEAR.ear/ClaimPro.
    war/WEB-INF/classes/
    net.sf.jasperreports.engine.JRException: Error loading object from URL : file:/C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/MOMWEBNode01Cell/ClaimProEAR.ear/ClaimPro.war/WEB-INF/classes/
            at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:145)
            at net.sf.jasperreports.engine.util.JRLoader.loadObjectFromLocation(JRLoader.java:264)
            at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluateSubreport(JRFillSubreport.java:308)
            at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluate(JRFillSubreport.java:257)
            at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:275)
            at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:426)
            at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:1380)
            at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:692)
            at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:255)
            at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:113)
            at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:895)
            at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:798)
            at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:63)
            at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:402)
            at com.scag.claimpro.servlet.JasperReports.doGet(JasperReports.java:103)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
            at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
            at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
            at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
            at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3252)
            at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:264)
            at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
            at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
            at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:112)
            at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
            at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
            at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
            at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
            at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
            at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
            at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
            at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
            at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
            at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
            at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
    Caused by:
    java.io.StreamCorruptedException: invalid stream header
            at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:778)
            at java.io.ObjectInputStream.<init>(ObjectInputStream.java:291)
            at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:140)
            ... 35 more
    [5/19/08 20:55:37:996 CDT] 00000045 SystemOut     O 20:55:37.996 DEBUG JasperReports.doGet:118 - cleanup done.UnitReport contains 2 subreports and works just fine on my local server. Am I missing something here or doing something wrong...any help is greatly appreciated.
    Thanks,
    -Jeff

    How will u convert the document to PDF via XML if the document contains the chart.
    If u have done this please send the code to me on "[email protected]"
    Thanks in advance
    nitish

  • Problem in layout with my report

    Hi,
    I use a matrix. She contains a repeating frame containing a total field(sum). If the frame returns 1 only record,I do not want to display the line. My question is how to reclaim space in the layout.
    Thank you.

    hi ,
    In u r datamodel check where u created summary column ( for ex summaary column name : cs_sum_total ) ,
    so u have to create one more summary column cs_count in the same group ,
    after that u set the property of new summary column :
    function - -> count
    source - -> same source column u have to select here
    reset at -- > g_repeating frame name
    create one non repeating frame, these two summary should be inside only
    after that you have to write the format trigger in non repeating frame :
    if :cs_count='1' then
    return(false)
    else return(true);
    end if;

  • Problem in working with Video

    I have problem in working with Opening and editing video
    When I tried to open :
    Could not complete your request , because it is not right kind of document [ for every format of video ]
    When I import as video :
    it creates as many layers as there are frames in the video
    Please help
    Thank you

    Video is like Image formats, but on steroids. Also, many formats, such as AVI can have 100's of different CODEC's inside them. It is almost like having a JPEG, that contains a TGA, or a TIFF, or a PCX, or any number of what we see as other formats. It can be daunting, but let's start at the beginning.
    For a discussion on formats, such as AVI, MOV, WMV, etc., see this article: http://forums.adobe.com/thread/440037?tstart=0
    As CODEC's are the "building blocks" of AV files, this article is good too: http://forums.adobe.com/thread/546811?tstart=0
    As you see from that first link, the format is just a "wrapper," and can contain all sorts of "stuff." That FAQ Entry will tell you how to "peek inside" the wrapper. That is what we need, as Mylenium asks. If you can let us know all about the faulting files, maybe someone can help you.
    Also, PS has somewhat limited Video support, both on Decode and Encode, so, and depending on what you have, you might have to convert that/those file(s).
    Good luck,
    Hunt

  • Nexus 1000V. problem when working with the console VMWare

    I have a problem when working with the console VMWare.
    Sometimes it is impossible to connect any of the hypervisor to the guest OS managed by them.
    I get the message: "Unable connect to the MKS: Host address lookup for server <name of the hypervisor> failed: No such host is known."
    This message always appears in conjunction with the reconfiguration of virtual switch: "Reconfigure vNetwork Distributed Switch .... Initiated by Cisco_Nexus_1000V_ ....."
    Upon completion of the reconfiguration, Communication console, with guest OS is restored, or on its own or after a reboot srv-vc.
    In this time, I do not see any message in Nexus 1000v log.
    What is this?
    Thanks in advance.

    Smells of a DNS issue.  Are you sure your ESX hosts are reachable from your client via DNS hostname?  Try pinging them from a command prompt/terminal.  You may have DNS server issues.
    As a temp fix, edit your [windowspath]/system32/etc/drivers/hosts file and manually add the ESX host name and IP, then re-test.
    Regards,
    Robert

  • The last time you opened OpenOffice, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again? i have a problem with open office, if I press reopen, nothing happened  ans i see always this information on my mac? what ca

    The last time you opened OpenOffice, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again? i have a problem with open office, if I press reopen, nothing happened  ans i see always this information on my mac? what can I do?

    Please follow these directions to delete the Mail "sandbox" folders. In OS X 10.9 there are two sandboxes, while in 10.8 there is only one. If you're running a version older than 10.8, this comment isn't applicable.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Containers/com.apple.mail
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a folder named "com.apple.mail" selected. If it does, move the selected folder — not just its contents — to the Desktop. Leave the Finder window open for now.
    Log out and log back in. Launch Mail and test. If the problem is resolved, you may have to recreate some of your Mail settings. You can then delete the folder you moved and close the Finder window. If you still have the problem, quit Mail again and put the folder back where it was, overwriting the one that may have been created in its place. Repeat with this line:
    ~/Library/Containers/com.apple.MailServiceAgent
    Caution: If you change any of the contents of the sandbox, but leave the folder itself in place, Mail may crash or not launch at all. Deleting the whole sandbox will cause it to be rebuilt automatically.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • Hi, I have a problem with opening files on my desktop. When i double click a file I would lime to open nothing happens. Please help me with this problem :)

    Hi, I have a problem with opening files on my desktop. When i double click a file I would lime to open nothing happens. Please help me with this problem

    hello, this might be a preference in your google search settings. go to google.com/preferences and disable the option to ''Open search results in a new browser window''.

  • Error when opening a BW query with Crystal Reports

    Hi all,
    I am having problems when opening a BW query with Crystal Reports, the strange thing is that it only happens with
    the bo user I have created. If I use a user that already exists and that has SAP_ALL authorization it works.
    I don't know if this could be an authorizations issue, but I have created a role with all the authorizations stated in the manual.
    The error I am getting is the following:
    "An error occurred while generating a new report template. Error in UNKNOWN.RPT file"
    Does anyone know what this could be?
    Thanks

    Well,
    I cannot access the system now. But I think it is not an issue of authorization, because I assigned all the good user's role to the bo user,
    and even with that, it still don't work.
    Thanks

  • Help! Problem with opening Mail

    I've been having a hugely annoying problem with mail and preview, and I nor any of the wizards at my local mac store can't solve it to save their lives. So, I've come here, to the experts.
    First of all, neither program will open or provide any errors with any attempt to open it. All that happens is that the icon(s) will bounce in the dock for about three seconds and that's it. So, I checked the crash log in my crashreporter, only to find two crash logs there, one for preview and one for mail. Each returns the same error message:
    (this one's for mail; preview is exact with the expected modifications)
    Command: Mail
    Path: /Applications/Mail.app/Contents/MacOS/Mail
    Parent: WindowServer [94]
    Version: 2.1 (752)
    PID: 733
    Thread: Unknown
    Link (dyld) error:
    Symbol not found: _kCGPDFContextTitle
    Referenced from: /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framew ork/Versions/A/PDFKit
    Expected in: /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    I've looked online to see if anyone else has reported a similar problem, but I haven't found any indication that someone has. I've also looked for the symbol in superuser mode with no avail. One thing though: _kCGPDFContextTitle are associated with opening pdfs, and I think it failed after I reinstalled adobe acrobat prof. 8. I've trashed acrobat, but the problem presists.
    I suspect the problem is with coca, but is there any way to fix it without archiving and installing? Suggestions and good wishes will be greatly appreciated. Thanks in advance.

    Verify/repair the startup disk (not just permissions), as described here:
    The Repair functions of Disk Utility: what's it all about?
    After having fixed all the filesystem issues, if any, reinstall the Combo Update for the type of computer and the version of Mac OS X you’re using, unless this is the version of Mac OS X that came with the computer:
    About the Mac OS X 10.4.9 Combo Update
    Mac OS X 10.4.9 Combo Update for PowerPC
    Mac OS X 10.4.9 Combo Update for Intel
    After installing the Combo Update, the computer may restart twice and the first restart may take several minutes. This is normal.
    Take a look at the following articles for guidelines on how to properly install system updates:
    Troubleshooting installation and software updates
    Installing software updates
    Basically, you should verify/repair the startup disk and back up before installing the update, no applications should be running while installing it, and you may experience unexpected results if you have third-party system software modifications (not normal applications) installed.

  • Problem with scheduling reports

    Hi,
    We produce reports in Crystal XI R2 and then publish to Enterprise. We have noticed a recurring and 'random' error with certain reports
    The reports run fine in Crystal and in Infoview when run on demand. However when we chose the schedule option, the report goes through the motions of running ie status = running for a suitable period of time and goes to Sucess. However when we try to open the report the 'blue bar' will go about 50% and then freeze without opening. After that Infoview hanges and we need to restart. This always happens with certain reports but other similar reports schedule fine.
    Any ideas?
    Cheers
    Clive

    That is the problem Clive.  I've had similar experiences that had me baffled.  Whenever you attempt to open the successfully scheduled report, the subreport is run.  Therefore you will have to wait for the subreports to complete before the report opens.  Sometimes this took hours, leaving me to think that it froze.  But it usually eventually comes up.  With each page you go through, the subreport is run again and again.  This is very annoying. 
    I would try modifying the type of subreports I use.  Try the report with "On Demand" subreport and "In Place" subreport.  See which one gives you better performance.  I usually only use subreports for 1 page summary reports.  Other than that they take too long.  I've had reports that I've redone because the subreport version takes too long.
    It is much easier to run these reports on demand.

  • Problem with SUBMIT report [ WITH SELECTION-TABLE ] or [ IN range ]

    Hello Everybody,
    I am trying to call transaction F.80 for mass reversal of FI documents by using SUBMIT sentence and its parameters like this:
      LOOP AT i_zfi013 INTO wa_zfi013.
        PERFORM llena_params USING 'BR_BELNR' 'S' 'I' 'EQ' wa_zfi013-num_doc ''.
    range_line-sign   = 'I'.
    range_line-option = 'EQ'.
    range_line-low    = wa_zfi013-num_doc.
    APPEND range_line TO range_tab.
    endloop.
    Line: -
          SUBMIT sapf080
            WITH br_bukrs-low = p_bukrs
            WITH SELECTION-TABLE it_params  [ same  problem with -  WITH BR_BELNR IN range_tab]
            WITH br_gjahr-low = p_an1
            WITH stogrd = '05'
            WITH testlauf = ''
            AND RETURN.
    My problem is that  when the report is executed the BR_BELNR only delete one document of the all the inputs in the selection criteria from the loop. if I add the statement [ VIA SELECTION-SCREEN] in the SUBMIT if open the multiple selection criteria in the screen I can check that all the documents are set in it from the ABAP code in the loop from it I just need to push F8 to copy them and run the program processing all the documents normally .
    Can some one help me with this? is there a way to execute the transaction BY the SUBMIT with the multiple selection criteria for the Document Number working well?
    Thank for you time and help.

    This is my code:
      TYPES: BEGIN OF T_ZFI013,
              BUKRS     TYPE BUKRS,
              GJAHR     TYPE GJAHR,
              MONAT     TYPE MONAT,
              ANLN1     TYPE ANLN1,
              ANLN2     TYPE ANLN2,
              NUM_DOC     TYPE BELNR_D,
              DATE     TYPE DATUM,
              TIME  TYPE UZEIT,
              USER     TYPE SYUNAME,
             END OF T_ZFI013.
       DATA: I_ZFI013  TYPE STANDARD TABLE OF T_ZFI013,
             WA_ZFI013 TYPE T_ZFI013,
      DATA: br_belnr       TYPE BELNR_D,
            rspar_tab  TYPE TABLE OF rsparams,
            rspar_line LIKE LINE OF rspar_tab,
            range_tab  LIKE RANGE OF br_belnr,
            range_line LIKE LINE OF range_tab."range_tab.
      LOOP AT i_zfi013 INTO wa_zfi013.
        range_line-sign   = 'I'.
        range_line-option = 'EQ'.
        range_line-low    = wa_zfi013-num_doc.
        APPEND range_line TO range_tab.
      ENDLOOP.
      SUBMIT sapf080
        WITH br_bukrs-low = p_bukrs
        WITH br_belnr IN range_tab
        WITH br_gjahr-low = p_an1
        WITH stogrd = '05'
        WITH testlauf = ''.
    This is the RANGE_TAB table before submit:
    1     I     EQ     1001xxxxxx
    2     I     EQ     1002xxxxxx
    3     I     EQ     1003xxxxxx
    4     I     EQ     1004xxxxxx
    5     I     EQ     1005xxxxxx
    6     I     EQ     1006xxxxxx
    7     I     EQ     1007xxxxxx
    8     I     EQ     1008xxxxxx
    I think this wont work for some reason so I will start to do this by a BDC.
    Many thanks for your help.

  • I have tried VERY unsuccessfully to install iphoto 9.2.3 update...it says it has successfully updated - then on opening says: iPhoto cannot be opened because of a problem. Check with the developer to make sure iPhoto works with this version of Mac OS X.

    I have tried VERY unsuccessfully to install the new iphoto 9.2.3 update.
    I have installed it several times both from the appstore and from Apple Support downloads...it says it has 'successfully updated' - then on opening iphoto, a dialogue box pops up and says:
    iPhoto cannot be opened because of a problem.
    Check with the developer to make sure iPhoto works with this version of Mac OS X. You may need to reinstall the application. Be sure to install any available updates for the application and Mac OS X.
    Click Report to see more detailed information and send a report to Apple.
    Insane...I have all my updates including Lion 10.7.3 why does APPLE KEEP SENDING BETAS AS A REAL PRODUCT?
    Does anyone know how to copy over a backup from a twinned drive Backup? What files etc.
    Thanks tons...

    Thanks Terence,
    I did get it working finally...and your last advice was what I needed.
    I am embarassed that I was an early adopter...SHOULD HAVE KNOWN BETTER and read the problems before creating some for myself.
    This was an excercise in frustration, because of the obtuse division between the appstore and Apple Support downloads... it was a bit of a circuitous route...strange that with all the security reciepts and tracking that Apple goes to to prevent piracy... which Steve by his own admission used to build Apple...
    Why aren't the server scripts smart enough to say…”HEY DUMMY you can't use this download because you purchased the last iPhoto upgrade from the appstore...and… DON'T WASTE YOUR TIME and precious data BUDGET downloading this gargantuan file which will eat 20% of your expensive 5Gb monthly data allotment!!!…and NOT WORK…only pretend to…and then foul your system….kill your productivity and turn your hair whiter…even worse than LION did.
    I am just so antagonized by the inept scripts in recent installations that don't do a diagnostic before allowing installation that is going to corrupt things...I had less effort and frustration when I ran my ATARI with a MAC emulator...rarely lost any productivity to nonsense.
    I AM TIRED OF BETAs dressed as products...designed and rushed out for Apple toys that once were tools of the creative trade...COREL...may still have a chance at a comeback if Apple keeps pumping out toys instead of the venerable tools we once adored as income enhancers.

  • S_ALR_87012309 PROBLEM WITH OPENING BALANCES

    Dear Experts,
    My client having problem with opening balances in cash journal report that same showing in INR but not tallyed with carryforward balances. Cash journal carryforawd balances and FS10N balances are tallyed.
    So,please any suggestion to solve that error.
    Best Rgds
    Suma

    It is problem with carryforward balances from one year to another year. We have again run the same programe carryforward programe to fix this problem.

  • The problem with forecast reports in SCOM 2012 after integration with VMM 2012

    Hello.
    I have problem with forecast reports in SCOM 2012 after integration with VMM 2012. All other reports (not forecasting) works fine. For example, report “Host Group Forecasting” don’t work. The report is generated, but I have error: “Subreport
    could not be shown”. I find only errors in SQL Server Reporting logs like this:
    library!ReportServer_0-13!1758!06/26/2012-18:26:23:: i INFO: RenderForNewSession('/Microsoft.SystemCenter.VirtualMachineManager.2012.Reports/Microsoft.SystemCenter.VirtualMachineManager.2012.Report.ForecastHostGroup')
    processing!ReportServer_0-13!1758!06/26/2012-18:26:28:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Не удалось выполнить
    запрос для набора данных "DiskSpaceUsageForecasting". ---> Microsoft.AnalysisServices.AdomdClient.AdomdErrorResponseException: Execution of the managed stored procedure GetTimeSeriesForecast failed with the following error: Exception has been thrown by
    the target of an invocation..
    Query (5, 58) Parser: The syntax for '6' is incorrect.
       at Microsoft.AnalysisServices.AdomdClient.AdomdConnection.XmlaClientProvider.Microsoft.AnalysisServices.AdomdClient.IExecuteProvider.ExecuteTabular(CommandBehavior behavior, ICommandContentProvider contentProvider,
    AdomdPropertyCollection commandProperties, IDataParameterCollection parameters)
       at Microsoft.AnalysisServices.AdomdClient.AdomdCommand.ExecuteReader(CommandBehavior behavior)
       at Microsoft.AnalysisServices.AdomdClient.AdomdCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
       at Microsoft.ReportingServices.DataExtensions.AdoMdCommand.ExecuteReader(CommandBehavior behavior)
       at Microsoft.ReportingServices.OnDemandProcessing.RuntimeDataSet.RunEmbeddedQuery(Boolean& readerExtensionsSupported, Boolean& readerFieldProperties, List`1 queryParams, Object[] paramValues)
       --- End of inner exception stack trace ---;
    The Russian string “Не удалось
    выполнить запрос для набора данных "DiskSpaceUsageForecasting"” is translated to “Could not execute query for data set "DiskSpaceUsageForecasting"”.
    I have clean installation SCOM 2012 RU1, VMM 2012 RU1. Integration SCOM with VMM work fine.
    SQL collation for all SQL DB instances (SCOM and VMM and SCOM reporting) – “SQL_Latin1_General_CP1_CI_AS”
    SQL Analysis service: SQL collation – “Latin1_General” ; language for the server – English (United States)
    I think the problem in regional settings. By my opinion there are two possible mistakes:
    SQL collation  for all SQL DB instances. May be need use “Latin1_General_CI_AS”
    as provided by
    http://blogs.technet.com/b/momteam/archive/2012/05/25/clarification-on-sql-server-collation-requirements-for-system-center-2012.aspx
    Need change regional setting. Question is for what (OS regional setting, SQL Analysis service settings,…) ?

    Error: Subreport could not be shown
    Opening a report for Client Security might result in the following error being displayed in one or more areas of the report: "Error: Subreport could not be shown."
    Background
    There are two possible reasons for this error:
    1. Wrong location   The reporting server is pointing to the wrong computer running SQL Server or a SQL Server instance.
    2. Insufficient permissions   The account configured (in SQL Server Reporting Services) to connect to the reporting database does not have appropriate permissions for the database.
    Solution
    To determine which reason is causing the error, attempt to directly open the subreport reporting the error, by clicking the name of the subreport.
    If the reporting server is pointing to a wrong location, the report displays an error similar to the following: 
    Error message
    An error has occurred during report processing.
    Cannot create a connection to data source 'SystemCenterReporting'. Cannot open database "SystemCenterReporting" requested by the login. The login failed. Login failed for user username.
    To verify the correct SQL Server computer and instance path
    In Report Manager, navigate to the report generating the error and click the Properties tab.
    Click Data Sources and under a Shared data source, note the path.
    Open the reporting Web site. If you chose the default virtual directory for reports, the URL is: http://hostname/Reports/
    If you chose to secure the viewing of reports with HTTPS, the URL is: https://hostname/Reports/
    Click SCDW.
    In the Connection type list, ensure that Microsoft SQL Server is selected.
    In the Connection string box, ensure that the correct SQL Server computer and instance name are entered.
    Note:
    A period (.) denotes the local computer.
    If the account has insufficient permissions, the report displays an error similar to the following: 
    Error message
    An error has occurred during report processing. (rsProcessingAborted) Query execution failed for data set 'DSDashboardComputersTrend'. (rsErrorExecutingCommand) EXECUTE permission denied on object 'prSAS_UX_DashboardComputersTrend', database 'SystemCenterReporting',
    schema 'dbo'.
    To determine if you are experiencing the SQL Server permissions issue
    Open the reporting Web site. If you chose the default virtual directory for reports, the URL is:http://hostname/Reportserver/
    If you chose to secure the viewing of reports with HTTPS, the URL is:https://hostname/Reportserver/
    Click Microsoft Operations Manager Reporting, click Microsoft Forefront Client Security, and scroll to DashboardComputersTrend.
    Click DashboardComputersTrend.
    If you are experiencing a SQL Server permissions issue, an error similar to the preceding error appears.
    To grant permissions to the SQL Server computer
    1. In Report Manager, click SCDW and note the account in the Connect using section. This is the account under which the database is contacted.
    2. On the server with the System Center Reporting database, start SQL Server Management Studio.
    3. In the tree, expand Security, and then expand Logins. Do one of the following:
    If the user account is listed, right-click the account, click Properties, and then go to step 5.
    If the user account is not listed, right-click Logins and choose New Login.
    4. In the Login name box, enter the user account (domain\username).
    5. In the Login Properties dialog box, click User Mapping, and then under Users mapped to this login, select the System Center Reporting check box.
    6. Under Database role membership for: System Center Reporting, select the db_owner check box, and then click OK.
    Thanks,
    Yog Li
    TechNet Community Support

  • Problem with OPEN My_Cursor FOR SELECT ...

    Please, I need some help here. I'm developing an ASP NET application with Crystal Reports and Oracle 9i as DB.
    I'm desining a report. I use a Stored Procedure (in a package). I know that in order to CR be able to read the stored procedure, I have to use Cursor in this way: OPEN My_Cursor FOR SELECT * FROM My_Table;
    The problem is that I need to do other sub-queries to get the names of 3 people (from TBL_TWO) and show them in my Cursor (from TBL_ONE). How can I do it? I tried as my example, but I get error when try to connect from ASP NET: "ORA-24338 statement handle not executed"
    Apparantly, CR needs to read just only OPEN My_Cursor FOR ... Is there any way to resolve this problem?
    PROCEDURE SP_REP_OP_03 (My_CURSOR OUT MY_REF_CURSOR,
    i_Cod_OP IN INTEGER)
    IS
    v_id_1 char(8);
    v_Names_1 varchar(25);
    v_id_2 char(8);
    v_Names_2 varchar(25);
    v_id_3 char(8);
    v_Names_3 varchar(25);
    BEGIN
    SELECT TWO.Id, PER1.Names -- may or may not exist
    INTO v_id_1, v_Names_1
    FROM TBL_TWO TWO, PADRON.PADRON PER1
    WHERE TWO.Cod_OP = i_cod_op AND
    TWO.Cod_Rep = '01' AND
    TWO.Id = PER1.Id;
    IF v_id_1 IS NULL THEN
    v_id_1:= '';
    v_Names_1:= '';
    END IF;
    SELECT TWO.Id, PER1.Names -- may or may not exist
    INTO v_id_2, v_Names_2
    FROM TBL_TWO TWO, PADRON.PADRON PER1
    WHERE TWO.Cod_OP = i_cod_op AND
    TWO.Cod_Rep = '02' AND
    TWO.Id = PER1.Id;
    IF v_id_2 IS NULL THEN
    v_id_2:= '';
    v_Names_2:= '';
    END IF;
    SELECT TWO.Id, PER1.Names -- may or may not exist
    INTO v_id_3, v_Names_3
    FROM TBL_TWO TWO, PADRON.PADRON PER1
    WHERE TWO.Cod_OP = i_cod_op AND
    TWO.Cod_Rep = '03' AND
    TWO.Id = PER1.Id;
    IF v_id_3 IS NULL THEN
    v_id_3:= '';
    v_Names_3:= '';
    END IF;
    -- I tried to "attach" v_id and v_Names to My_Cursor, but CR can't get it
    OPEN My_CURSOR FOR
    SELECT ONE.Cod_Exp AS Cod_Exp,
    ONE.Cod_Exp_OP AS Cod_Exp_OP,
    ONE.Cod_OP AS Cod_OP,
    ONE.cod_ficha AS cod_ficha,
    v_id_1 As id_1 ,
    v_Names_1 As Names_1,
    v_id_2 As id_2 ,
    v_Names_2 As Names_2,
    v_id_3 As id_3 ,
    v_Names_3 As Names_3,
    FROM TBL_ONE ONE
    WHERE OP.Cod_op = i_Cod_op;
    END SP_REP_OP_03;

    Why can't you just have a single SQL query that outer-joins the tables and returns the values you need? It looks like it should start in TBL_ONE and outer-join three times to TBL_TWO and PADRON, perhaps something like:
    SELECT one.cod_exp
         , one.cod_exp_op
         , one.cod_op
         , one.cod_ficha
         , id1.id AS id_1
         , per1.names AS names_1
         , id2.id AS id_2
         , per2.names AS names_2
         , id3.id AS id_3
         , per3.names AS names_3
    FROM   tbl_one one
         , tbl_two id1
         , padron.padron per1
         , tbl_two id2
         , padron.padron per2
         , tbl_two id3
         , padron.padron per3
    WHERE  one.cod_op = i_cod_op
    AND    id1.cod_op (+)= one.cod_op
    AND    id1.cod_rep (+)= '01'
    AND    per1.id (+)= id1.id
    AND    id2.cod_op (+)= one.cod_op
    AND    id2.cod_rep (+)= '02'
    AND    per2.id (+)= id2.id
    AND    id3.cod_op (+)= one.cod_op
    AND    id3.cod_rep (+)= '03'
    AND    per3.id (+)= id3.id;

Maybe you are looking for

  • Mail "Rules" no longer work in Mavericks

    I have a lot of rules for moving incoming mail to certain folders I've set up. Once I upgraded to Mavericks, it seemed that Mail just exploded with problems. Certainly Rules stopped working. So I removed all my Rules (I have quite a few) and reinstal

  • Problem while downloading data to text file using GUI_DOWNLOAD FM

    Hi, When we download the data using the GUI_DOWNLOAD FM into the text file tab delimeted(table is built dynamically), Its coming in this format as shown below Field1  Fileld2  Field3 1     2      3 However I want it in this way Field1  Fileld2  Field

  • BA00 output through mail

    Hi All, Please suggest . Issue : For certain customers BA00 output is not getting mailed to their respective e mail Id's.. Observations : Here BA00 out put is not getting triggered using condition technique, it is getting proposed from Customer Maste

  • Add Tags to Document tool put one object behind another or just deletes page content?

    Using Acrobat XI Pro to make documents 508 compliant PDF. I've had a number of issues went using Add Tags to document option, it's put one object behind another or deleting it all together. Also had issues when trying to adjust the reading order, con

  • Adobe Acrobat DC Update Failed - wrong directory and names?

    The CC applet downloads stuff and extracts it under TEMP.  Then it complains  that E:\Temp\{AE78F010-4298-4465-BAE0-11B03C94ACAB}\Acrobat_11_0_0_CCM_MUI\Adobe CS7\payloads\AcrobatProfessional11.0-mul\ is not available. Sure enough, there is no such d