Embedded BI Publisher 5.6.2 / Long report / OPP does not pickup the request

Hi,
We are trying to use the embedded version of BI Publisher to produce simple PDF or Excel listings. The SQL is simple and runs quickly; it returns about 40000 rows.
The problem is that after 10 minutes (it used to be shorter be we increased the OPP timeout) of being "running" in the concurrent manager, the report sometimes completes fine but sometimes ends with a warning (and no output file) and the following error in the log file:
Executing request completion options...
------------- 1) PUBLISH -------------
Beginning post-processing of request 765364 on node AUSGEDEVAP06 at 17-MAY-2007 08:54:43.
Post-processing of request 765364 failed at 17-MAY-2007 09:04:43 with the error message:
The Output Post-processor is running but has not picked up this request.
No further attempts will be made to post-process this request, and the request will be marked
with Warning status.
Setting the profile option Concurrent: OPP Response Timeout to a higher value may be necessary.
After conducting some tests on a development server, it appears that for a very basic report (simple SQL and report only containing a table with 4 columns listing 4 fields extracted from the database) and with a 10 minutes timeout we are not able to produce a report that has more than about 100000 lines.
My questions are:
- is it normal to have such delays to produce the output? (for a simple 5000 reports it can take 30 seconds)
- What does this message mean and how could we try to correct it?
- I can see that we have one Output Post Processor running, would it make sense to have more? (does the fact that the OPP is not picking up the request means that there is no process available?)
Thanks in advance.
Boris

Hi Tim,
Thanks for that - the 7487412 readme doesn't say anything about the RTF header bug fix being included, but the Bugs Resolved by this Patch lists 6270261 (ER: RTF Output to support set Table Header Report, Table Row Keep-Together).
Patch # 7487412 is only available in R12, but with the specific ER number, I was able to find Note # 861915.1 (I couldn't it find with my keyword search) and this note indicates that 11i patch # 7702372 should resolve the problem for me in 11i (and it's readme explicitly documents 6270261 as being fixed by the patch).
Thanks again,
theFurryOne

Similar Messages

  • Report data  does not reflect the SQL Query?

    Hi,
    I have a report which does not seem to be processing all records returned from the database. When I run the SQL Query produced by crystal manually against the SQL Server all data is returned correctly in crystal not. Does this mean my links are not set up correctly in the Database Expert? or is there another issue, I use a Crystal Syntax selection formulae which is based on a couple of paramters to filter the database records.
    Help is appreciated
    K

    <p>I agree with Rahul on checking the record count on the report vs. the record count from the query.  Conditional suppression and Group selection formula will hide records that are actually being returned.</p><p>It sounds like (from your question) that you are using the database linking expert in CR.  You can also check the SQL that CR is sending by going to Database -> Show SQL Query... compare this with the query you are using for validation, this will give you some clues as to whether your linking structure has an issue. </p>

  • Crystal report viewer does not observe the PaperSize and PageOrientation setting

    Hi:
    My application is a 3 tier application, where the WinForm client is connected to the WCF Services hosted in IIS server.
    The report is generated on server side using WCF service, and export as.rpt with data, the .rpt file is then sent to the WinForm client, the Crystal Report viewer is used to load the .rpt file for preview and print.
    On server side I've Microsoft XPS Document Writer installed and set as default printer. On the client side if the default printer is XPS or Nitro PDF creator, the report can be view and print correctly, report design in landscape will be able to show in the landscape in CR viewer, report design using custom paper size (e.g. Half Letter), CR viewer able to show it in Half Letter.
    The problem that I'm facing is when the default printer is set to HP LaserJet P1120 or others (I've tried Epson ESC/P Standard driver), the report is always shown in the portrait, and it will not be able to show in custom paper size either. Here is my code:
         Dim settings As New System.Drawing.Printing.PrinterSettings
         Dim rep as New ReportDocument
         rep.Load(sOutputFileName)     'The report is download from server and save in sOutputFileName
         SetReportPaperSize(rep, sPaperSizeName, False, settings) ' sPaperSizeName store the name of the custom paper used in the report
         CrViewer.ReportSource = rep
       Public Shared Sub SetReportPaperSize(rep As ReportDocument, paperSizeName As String, isHardCopy As Boolean, settings As Printing.PrinterSettings)
          Dim installedPrinters As Printing.PrinterSettings.StringCollection = Printing.PrinterSettings.InstalledPrinters
          Dim printers As New List(Of String)
          Dim sPrinter As String
          If installedPrinters.Count = 0 Then
             Return
          End If
          SetPrinterDefaultPaperSize(rep.PrintOptions, paperSizeName, settings)
          With rep.PrintOptions
             .PrinterName = settings.PrinterName
             .PaperSource = PaperSource.Auto
             If paperSizeName.Trim.Length > 0 Then
                .PaperSize = DirectCast(GetPapersizeId(paperSizeName, settings, rep.PrintOptions.PaperSize), CrystalDecisions.Shared.PaperSize)
             End If
          End With
       End Sub
       Public Shared Sub SetPrinterDefaultPaperSize(printOptions As PrintOptions, paperSizeName As String, settings As Printing.PrinterSettings)
          With settings.DefaultPageSettings
             If paperSizeName.Trim.Length = 0 Then
                . PaperSize = GetPaperSize (printOptions.PaperSize, settings)
             Else
                For Each size As Printing.PaperSize In settings.PaperSizes
                   If size.PaperName.EqualsTo(paperSizeName) Then
                      .PaperSize = size
                      Exit For
                   End If
                Next
             End If
             .Landscape = printOptions.PaperOrientation = PaperOrientation.Landscape
             .Margins.Top = printOptions.PageMargins.topMargin
             .Margins.Left = printOptions.PageMargins.leftMargin
             .Margins.Bottom = printOptions.PageMargins.bottomMargin
             .Margins.Right = printOptions.PageMargins.rightMargin
          End With
       End Sub
       Public Shared Function GetPaperSize(paperSizeId As Integer, defaultPrinterSettings As Printing.PrinterSettings) As Printing.PaperSize
          Dim settings As Printing.PrinterSettings = defaultPrinterSettings
          Dim result As Printing.PaperSize
          If settings Is Nothing Then
             settings = New Printing.PrinterSettings
          End If
          ' Default paper Size defined in the printer
          result = settings.DefaultPageSettings.PaperSize
          For Each size As Printing.PaperSize In settings.PaperSizes
             If size.RawKind = paperSizeId Then
                result = size
                Exit For
             End If
          Next
          Return result
       End Function
       Public Shared Function GetPapersizeId(paperSizeName As String, defaultPrinterSettings As Printing.PrinterSettings Optional defaultpaperSizeId As CrystalDecisions.Shared.PaperSize = CrystalDecisions.Shared.PaperSize.DefaultPaperSize) As Integer
          Dim settings As Printing.PrinterSettings = defaultPrinterSettings
          Dim result As Integer = defaultpaperSizeId
          If settings Is Nothing Then
             settings = New Printing.PrinterSettings
          End If
          If Not String.IsNullOrEmpty(paperSizeName) Then
             For Each size As Printing.PaperSize In settings.PaperSizes
                ' Height and Width in Printing.PaperSize is measure in hundredths of an inch
                If size.PaperName.EqualsTo(paperSizeName) Then
                   result = size.RawKind
                   Exit For
                End If
             Next
          End If
          Return result
       End Function
    Setting the PrintOptions.PaperSize and PageOrientation seem like no effect on the viewer. My code to load the report to CR viewer is much more complicated than the code I show above, I've a background worker thread to download the report, and when the worker thread finished download the report from the server, it will assign the report to CRViewer. Do the changes in report PrintOption before assign to CRViewe and after assigning to CRViewer make any different?
    I'm using VS2010, CR XI R2 (Version 11.5.3700.0). Please Help. Thanks
    Regards
    JC Voon

    Hi JC,
    CRXI R2 is a no go with VS 2010, these two are not compatible.
    With CR 11.5 use VS 2005.
    Or Use VS 2010 and CR for VS 2010 (13.0)
    Once you have the supported / compatible conbination of CR and VS, use the In Proc RAS .NET code from below KBA.
    http://search.sap.com/notes?id=0001561333&boj=/sap/bc/bsp/spn/scn_bosap/notes.do?access=69765F6D6F64653D3939382669765F7361706E6F7465735F6E756D6265723D30303031353631333333
    Also, see the KBAs returned by below search. The top right corner search box on this page is quite helpful.
    http://search.sap.com/ui/scn#query=crystal%252C+paper%252C+orientation%252C+.net%252C+sdk&startindex=1&filter=scm_a_site(scm_v_Site11)&filter=scm_a_modDate(*)&timeScope=all
    - Bhushan
    Senior Engineer
    SAP Active Global Support
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Getting started and moving ahead with Crystal Reports .NET applications.

  • IPhone is stranded in the apple, then appears with a long loading bar does not serve the "Safemode" not let me restore in itunes What do ?.

    iPhone is stranded in the apple, then appears with a long loading bar, this is completely filled, then again it restarts, fully charged and the process remains in a dark screen with nothing again until discharged, I again tried to restore in the new iTunes 12.0 the iOS 6.1.5 which is the actual version of my 3GS has failed today, still the same problem and not to do, keep restarting and does not stop, I need help urgently, Does anyone know how I can fix it ?, not served me the "Safe Mode", I've tried about 15 times and nothing, thanks you, ¡HELP ME!.

    Hi Tomas,
    Welcome to Apple Support Communities.
    Take a look at the article linked below, the troubleshooting tips in it may be able to resolve the issue with your iPhone 3GS not starting up past the Apple logo.
    iOS: Not responding or does not turn on - Apple Support
    Take care,
    -Jason

  • MSSQL Server 2012. Error accessing reporting website. Not Found The requested URL /ReportServer1 was not found on this server. Unable to uninstall MSSQL 2008

    Hi all. I have recently installed MSSQL Server 2008, and was not able to access the URL when I clicked on it. It gave me a 404.
    When I installed 2012, I tried the same thing and it also throws me a 404 error. How should I go about solving this? What are the log files that you may need to help me solve this?
    At the same time, I have also tried to uninstall my 2008, but am always stuck at not being able to remove Client Connectivity Tools and some other components. Please let me know what log files you need and I will be happy to provide them. Thanks!
    The following is the log for the uninstallation.
    Overall summary:
      Final result:                  Failed: see details below
      Exit code (Decimal):           -2068052368
      Exit facility code:            1212
      Exit error code:               1648
      Exit message:                  Failed: see details below
      Start time:                    2014-04-11 09:40:30
      End time:                      2014-04-11 09:41:37
      Requested action:              Uninstall
      Log with failure:              C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140411_093720\sql_tools_Cpu64_1.log
      Exception help link:           http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=10.50.1600.1
    Machine Properties:
      Machine name:                  ADC-PC
      Machine processor count:       8
      OS version:                    Windows 7
      OS service pack:               Service Pack 1
      OS region:                     Singapore
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  No
    Product features discovered:
      Product              Instance             Instance ID                    Feature                
                     Language             Edition              Version         Clustered 
      Sql Server 2008 R2                                                       Management Tools - Basic      
                                   Enterprise Edition   10.50.1617.0    No        
      Sql Server 2008 R2                                                       Management Tools - Complete    
                                  Enterprise Edition   10.50.1617.0    No        
      Sql Server 2008 R2                                                       Client Tools Connectivity      
                                  Enterprise Edition   10.50.1617.0    No        
    Package properties:
      Description:                   SQL Server Database Services 2008 R2
      ProductName:                   SQL Server 2008 R2
      Type:                          RTM
      Version:                       10
      SPLevel:                       0
      Installation edition:          EVAL
    User Input Settings:
      ACTION:                        Uninstall
      CONFIGURATIONFILE:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140411_093720\ConfigurationFile.ini
      ENU:                           False
      FARMACCOUNT:                   <empty>
      FARMADMINPORT:                 0
      FARMPASSWORD:                  *****
      FEATURES:                      CONN,SSMS,ADV_SSMS,CE_TOOLS,BROWSER,WRITER
      HELP:                          False
      IACCEPTSQLSERVERLICENSETERMS:  False
      INDICATEPROGRESS:              False
      INSTANCEID:                    <empty>
      INSTANCENAME:                  <empty>
      PASSPHRASE:                    *****
      QUIET:                         False
      QUIETSIMPLE:                   False
      UIMODE:                        Normal
      X86:                           False
      Configuration file:            C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140411_093720\ConfigurationFile.ini
    Detailed results:
      Feature:                       SQL Writer
      Status:                        Passed
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       SQL Browser
      Status:                        Failed: see logs for details
      MSI status:                    Failed: see details below
      MSI error code:                0x1648
      MSI log file location:         C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140411_093720\sql_tools_Cpu64_1.log
      MSI error description:         
      Configuration status:          Passed
      Feature:                       SQL Compact Edition Tools
      Status:                        Failed: see logs for details
      MSI status:                    Failed: see details below
      MSI error code:                0x1648
      MSI log file location:         C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140411_093720\sql_tools_Cpu64_1.log
      MSI error description:         
      Configuration status:          Passed
      Feature:                       Client Tools Connectivity
      Status:                        Failed: see logs for details
      MSI status:                    Failed: see details below
      MSI error code:                0x1648
      MSI log file location:         C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140411_093720\sql_tools_Cpu64_1.log
      MSI error description:         
      Configuration status:          Passed
      Feature:                       Management Tools - Complete
      Status:                        Failed: see logs for details
      MSI status:                    Failed: see details below
      MSI error code:                0x1648
      MSI log file location:         C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140411_093720\sql_tools_Cpu64_1.log
      MSI error description:         
      Configuration status:          Passed
      Feature:                       Management Tools - Basic
      Status:                        Failed: see logs for details
      MSI status:                    Failed: see details below
      MSI error code:                0x1648
      MSI log file location:         C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140411_093720\sql_tools_Cpu64_1.log
      MSI error description:         
      Configuration status:          Passed
    Rules with failures:
    Global rules:
    There are no scenario-specific rules.
    Rules report file:               C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140411_093720\SystemConfigurationCheck_Report.htm

    Strange, but finally the procedure below did solve my problem.
    # Go to Control Panel > Add or Remove Programs and look for '''Anti Phishing Domain Advisor'''.
    # If you click on ''Click here for support information'' you'll see it is a Panda program.
    # Uninstall '''Anti Phishing Domain Advisor''' program...
    # This did solve my problem
    See also [https://support.mozilla.com/en-US/questions/811399#answer-205531 Can't open mail. Get this message: 404 Not Found nginx/0.6.32]

  • Time machine takes very long time and does not finish the backup

    Hi,
    Time machine is unable to backup my 2014 Mackbook Air 128 GB Drive anymore.
    I have tried numerously to initiate a backup but it could only backup a very small volume, less than 1KB, then stall for hours without any progress.
    I tries to repair my volume, using the Disk Utility, but it still does not backup, except for the 1K progress.
    I have noticed that "Spot Light" indexing is also taking forever.  It has been indexing for days without any pogress.
    What is going on.
    What should I do to fix it.
    My latest successful backup was on Jul 25.
    Please help.
    Thanks.
    Tareq

    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter the word "Starting" (without the quotes.) You should now see log messages with the words "Starting * backup," where * represents any of the words "automatic," "manual," or "standard."
    Each message in the log begins with the date and time when it was entered. Note the timestamp of the last "Starting" message that corresponds to the beginning of an an abnormal backup. Now
    CLEAR THE WORD "Starting" FROM THE TEXT FIELD
    so that all messages are showing, and scroll back in the log to the time you noted. Select the messages timestamped from then until the end of the backup, or the end of the log if that's not clear. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    ☞ If all you see are messages that contain the word "Starting," you didn't clear the text field.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. Don't post more than is requested.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.

  • SSRS 2008 R2 report does not print the page header for a html content displaying on multiple pages

    Hi
    I need to display the html content from the database. The html content are quite long and can have content of 3-5 pages. Issue I  am facing is f the record has html content of 3-5 pages, then it does not print the page header (which is a separate tablix) on
    second page onwards.
    Nikesh Shah
    Nikesh Shah

    Hi Nikesh,
    According to your description, I’m not sure the meaning of Page header in your scenario. In Reporting Services, a page header that run along the top of each page, respectively. Headers can contain static text, images, lines, rectangles, borders, background
    color, background images, and expressions. But we couldn’t add tablix in the page header.
    If you are saying report header, a report header consists of the report items that are placed at the top of the report body on the report design surface. They appear only once as the first content in the report. So it cannot repeat in other pages.
    If you are saying tablix header, freezing column headers are different in table and matrix. For more details, please refer to the following thread:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/c8ddc1af-1bdf-4e72-8aab-0353c7cc848a/ssrs-report-freezing-row-and-column-while-scrolling-issue?forum=sqlreportingservices
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Field Explorer in Crystal Reports does not show the same names as Bex Query

    Hi
    I have crystal reports, I can retrieve data from BW Bex Query. But in the field explorer it does not show the names as in the Bex query designer.
    In the Bex query designer a field will have the following technical name 0Debitor and the description is Customer.
    It shows in crystal reports in the field explorer twice as D[0DEBITOR]D and D[0DEBITOR]D. It also does not seperate key figures and characteristics.
    I would like it to display the field explorer as shown in this blog.
    /people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
    Thanks in advance

    Hi,
    take a look here:
    /people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
    make sure you are using the MDX Driver and what happens is that you will see several fields per characteristic. example: one for the key, one for the description, several if modelled for the display attributes
    Ingo

  • Report does not show the main section while calling from forms 6i

    Hi
    I am running report from report from forms 6i but is does not show the data in main section, where as the data in the header section is ok.
    But when i run the same report independantly from report builder it show the both header and main section with relevent data.
    pl solve the matter
    thanks in advance

    can you tell me more about this, you might check if you are using different users when you call this report or if the user has all privileges to see all tables in this report

  • Import statement reports 'package does not exist'

    I am seeing another odd error. I'm working on learning how to read and write to text files, and I have 2 errors reported, but one is obviously caused by the other. My package is labeled as such (copy>paste of package line):
    package michaelchristopherp4db;
    and the import line is this (copy>paste again):
    import michaelchristopherp4db.ProductRecord;
    However, Netbeans looks at the import and flags it red, saying package michaelchristopherp4db does not exist. this caused my line:
    ProductRecord product = new ProductRecord();
    to also be flagged in red as it cannot find the ProductRecord class. However, it has no problems with any of the product.get* method calls. Thank you in advance for any ideas or input.
    here is the full code of the file reporting the errors.
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package michaelchristopherp4db2;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.lang.IllegalStateException;
    import java.lang.SecurityException;
    import java.util.NoSuchElementException;
    import java.util.Formatter;
    import java.util.FormatterClosedException;
    import java.util.Scanner;
    import michaelchristopherp4db.ProductRecord;
    /*  @author info
    public class readTxt
        private Scanner txtfile;
        private Formatter wishList;
        private Formatter giftIdeas;
        private Formatter priceError;
        //let user open file
        public void openFile()
        {//open method openFile
            try
            {//open try block
                priceError = new Formatter("priceerror.txt");//open object for items with invalid prices
                giftIdeas = new Formatter("giftideas.txt");//open object for gift ideas
                wishList = new Formatter("wishlist.txt");//open object for wish list
                txtfile = new Scanner(new File("products.txt"));//tell the compiler which file to use for input
            }//close try block
            catch (FileNotFoundException fileNotFoundException)
            {//open file not found catch block
                System.err.println("Error opening or creating file.");
                System.exit(1);
            }//close file not found catch block
            catch ( SecurityException securityException )
            {//start catch for SecurityException
                System.err.println("File Write access is denied.");
                System.exit(1);//END PROGRAM
            }//end catch
        }//close openFile method
        public void readProducts()
        {//open readProducts method
            ProductRecord product = new ProductRecord();//create object to hold read data
            //print headers for for output columns
            System.out.printf("%-10s%-12s%10s\n", "Product ID", "Product Name", "Price");
            try //read records from the file
            {//open try block
                while (txtfile.hasNext())
                {//open while
                    product.setproductID(txtfile.nextInt());//get productID
                    product.setproductName(txtfile.next());//get product name
                    product.setproductPrice(txtfile.nextDouble());//get product price
                    //print collected product details
                    System.out.printf("%-10d%-12s%10.2f\n", product.getproductID(),
                            product.getproductName(), product.getproductPrice());
                    if (product.getproductPrice()>50.0)
                    {//open if to store items $50 or more to wishlist.txt
                        wishList.format("%-10d%-12s%10.2f\n", product.getproductID(),
                                product.getproductName(), product.getproductPrice());
                    }//close if $50 or greater
                    else if (product.getproductPrice()<0.0)
                    {//open if less than zero
                        priceError.format("%-10d%-12s%10.2f\n", product.getproductID(),
                                product.getproductName(), product.getproductPrice());
                    }//close if less than zero
                    else
                    {//open else for gift ideas from $0 to $50
                        giftIdeas.format("%-10d%-12s%10.2f\n", product.getproductID(),
                                product.getproductName(), product.getproductPrice());
                    }//close else for gift ideas
                }//close while
            }//close try block
            catch (NoSuchElementException elementException)
            {//open no such element exception catch
                System.err.println("File improperly formed.");
                txtfile.close();//close text file
                System.exit(1);
            }//close no such element exception catch
            catch (IllegalStateException stateException)
            {//open illegal state exception catch
                System.err.println("Error reading from file.");
                System.exit(1);
            }//close illegal state exception catch
        }//close readProducts method
        //close file and end application
        public void closeFile()
        {//open closeFile method
            if (txtfile != null)
                txtfile.close();//close file
        }//close closeFile method
    }//end application readTxtAnd the code at the top of the class I am trying to import (so you can see the package I am trying to import)
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package michaelchristopherp4db;
    *  @author
    public class ProductRecord {

    I am embarrassed to admit this, but I am completely lost on the last question.. I have no clue wether it is a convenience for development or a dependancy, as I have not learned those terms or distinctions yet. For now I copied the ProductRecord file into my new project folder and renamed it's project line to match the new project name. However, while that eliminated the package does not exist error, and netbeans reports no errors now, when I run the program it does not write the new files. I have made some modifications to the code tryiing to get it to write properly but so far no luck in makingit work. Here is the current version of the file not running right.
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package michaelchristopherp4db2;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.lang.IllegalStateException;
    import java.lang.SecurityException;
    import java.util.NoSuchElementException;
    import java.util.Formatter;
    import java.util.FormatterClosedException;
    import java.util.Scanner;
    /*  @author
    *   Michael Christopher
    *   IT215-1004D-03
    *   December 30, 2010
    *   Phase 4 DB 2
    public class readTxt
        private Scanner txtfile;
        private Formatter wishList;
        private Formatter giftIdeas;
        private Formatter priceError;
        //let user open file
        public void openFile()
        {//open method openFile
            try
            {//open try block
                priceError = new Formatter("priceerror.txt");//open object for items with invalid prices
                giftIdeas = new Formatter("giftideas.txt");//open object for gift ideas
                wishList = new Formatter("wishlist.txt");//open object for wish list
                txtfile = new Scanner(new File("products.txt"));//tell the compiler which file to use for input
            }//close try block
            catch (FileNotFoundException fileNotFoundException)
            {//open file not found catch block
                System.err.println("Error opening or creating file.");
                System.exit(1);
            }//close file not found catch block
            catch ( SecurityException securityException )
            {//start catch for SecurityException
                System.err.println("File Write access is denied.");
                System.exit(1);//END PROGRAM
            }//end catch
        }//close openFile method
        public void readProducts()
        {//open readProducts method
            ProductRecord product = new ProductRecord();//create object to hold read data
            //print headers for for output columns
            wishList.format("%-10s%-12s%10s\n", "Product ID", "Product Name", "Price");
            giftIdeas.format("%-10s%-12s%10s\n", "Product ID", "Product Name", "Price");
            priceError.format("%-10s%-12s%10s\n", "Product ID", "Product Name", "Price");
            try //read records from the file
            {//open try block
                while (txtfile.hasNext())
                {//open while
                    product.setproductID(txtfile.nextInt());//get productID
                    product.setproductName(txtfile.next());//get product name
                    product.setproductPrice(txtfile.nextDouble());//get product price
                    if (product.getproductPrice()>50.0)
                    {//open if to store items $50 or more to wishlist.txt
                        wishList.format("%-10d%-12s%10.2f\n", product.getproductID(),
                                product.getproductName(), product.getproductPrice());
                    }//close if $50 or greater
                    else if (product.getproductPrice()<0.0)
                    {//open if less than zero
                        priceError.format("%-10d%-12s%10.2f\n", product.getproductID(),
                                product.getproductName(), product.getproductPrice());
                    }//close if less than zero
                    else
                    {//open else for gift ideas from $0 to $50
                        giftIdeas.format("%-10d%-12s%10.2f\n", product.getproductID(),
                                product.getproductName(), product.getproductPrice());
                    }//close else for gift ideas
                }//close while
            }//close try block
            catch (NoSuchElementException elementException)
            {//open no such element exception catch
                System.err.println("File improperly formed.");
                txtfile.close();//close text file
                System.exit(1);
            }//close no such element exception catch
            catch (IllegalStateException stateException)
            {//open illegal state exception catch
                System.err.println("Error reading from file.");
                System.exit(1);
            }//close illegal state exception catch
        }//close readProducts method
        //close file and end application
        public void closeFile()
        {//open closeFile method
            if (txtfile != null)
                txtfile.close();//close file
        }//close closeFile method
    }//end application readTxtwith the System.out.printf lines in the ReadProducts method it would properly print to screen all of the elements in the products.txt file, it is not outputting to the other .txt files at all. I will be exploring the closeFile method in case the error is due to not closing all of the files in that method, but does anyone else see what might cause it not to output the data to the appropriate .txt files?

  • Report Template does not save

    HI,
    I am creating a new report template. On save I get this error: Error occurred while saving the document template; save again.  Although I save again, it does not save the layout. At this stage I don't check the symbols as I have not yet created any into the layout.  Even though I say 'check', it does not save at all.
    Can anyone help.  I have checked the File locations for Template folder to be correct C:\....\SAP\FrontEnd\SAPgui\wwi
    Am on GUI 7100.3.12
    Patch 12
    Any recommendations ? Thanks

    Hello Sanjay,
    It seems to be DMS configuration issue. May be your system is trying to store the template document to external database by using "kpro". Please check for following two configurations:
    1. Go to Basic Data & Tools-->Report Definition >Settings for Document Management>Assign EHS doc type to DMS doc type Here for doc type "SBV" , Ty. should be "SBV" and Data Carrier should be "SAP System" if you are not specifying any     external server for document storage.
    2. Next, Go to Basic Data & Tools-->Report Definition >Settings for Document Management> Check Doc types and doc statuses.  Go to the "Details" of doc type "SBV", and uncheck "kpro" if checked.
    If you have configured external server for WWI docs, then you need to define different data carrier.
    Please tell if it solves your problem, otherwise you may be probably having problem with your document status management.
    In that case, you may like to refer following SAP notes in sequence.
    995736,1005225,1091699.
    regards
    Pavan

  • Can't use Find My Friends on iPhone due to Apple ID not being verified. Can't do this as I can't access my .mac email any longer and I can not change the primary e-mail address for my Apple ID!

    Can't use Find My Friends on iPhone due to Apple ID not being verified.
    Can't do this as I can't access my .mac email any longer and I can not change the primary e-mail address for my Apple ID!
    So my options are:
    Create a new Apple ID, use that and lose all the apps I've purhcased with it (a fairly substantial amount)
    Somehow Migrate these purchases over to a new Apple ID
    Apple let me change the primary ID for the account
    Anyone else ran into this before?
    I've tried accessing the mail through a mail application using the correct server information, and trying both the old 6 character password and the one I had to change it too after they updated the security guidelines - neither work.
    Help would be greatly appreciated as I can see more services down the line not working without the address being verified!

    To change the iCloud ID you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iDevice, then sign back in with the ID you wish to use.  When you do this you may find that the password for your old ID isn't accepted.  If this should happen, and if your old ID is an earlier version of your current ID, you need to temporarily recreate your old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You should not need to verify the old email address.  You can now use your current password to turn off Find My iDevice on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • Question: Is there a way to create a PDF from outlook e-mail that does not embed the attachment? better, is there a way to convert the e-mail with attachement (not embeded) as pdf pages? - Problem: I have 1400 e-mails with attachments that need to be conv

    Is there a way to create a PDF from outlook e-mail that does not embed the attachment? better, is there a way to convert the e-mail with attachement (not embeded) as pdf pages?
    - Problem: I have 1400 e-mails with attachments that need to be converted into pdf and the attachments cannot be embeded.
    System: PC Windows 7 using Acrobat X Prof. - Thank you!

    Hi ,
    There is an option of embedding index for faster search while converting email to a PDF .
    However I am not sure that will serve your purpose or not .
    I would recommend you to get in touch with Microsoft support as well .
    Meanwhile I'll work on it and get back to you in case I get a desired solution .
    Regards
    Sukrit Dhingra

  • Since I updated my 4S iphone to the latest iOS7 version, I can no longer close any of my apps.  As a result, all my apps remain open on my phone.  Even powering down and restarting does not solve the problem.  Specifically, the icons don't wiggle anymore.

    Since I updated my 4S iphone to the latest iOS7 version, I can no longer close any of my apps.  As a result, all my apps remain open on my phone.  Even powering down and restarting does not solve the problem.  Specifically, when I double-click the start button, my open app icons display.  But when I hold my finger on an icon, the apps do not wiggle and display an "x" to close.  Any advice... thanks?!

    Double tap the Home button, then swop upwards on the App Preview (not the App Icon). Tap the Home button again when done to return to normal screen.

  • "SQL Server 2008 Reporting Services does not support map report items"

    Hi,
    I am trying some new feature that are introduced in SQL Server 2008 R2 version. While I try to use "Map" control within it, it threw the following error:-
    "Error 1 The map, Map1, was removed from the report. SQL Server 2008 Reporting Services does not support map report items. "
    -Also, similar kind of error I am getting for "Indicator" control.

    Hi Tej,
    I think you get this error message when you are deploying a report to report server using BIDS, correct?  If not, please provide more details on your scenario :-)
    If I guessed correctly, then this message is a result of trying to deploy a map report (a SSRS 2008 R2 feature) to a non-R2 2008 report server.  When deploying a report of RDL2010 format to a non-R2 report server, BIDS will downgrade the file to RDL2008 format, so that the non-R2 report server can process it.  Any report elements using features not supported in RDL2008 will be dropped during this downgrade process.
    BIDS gets the server version from a report project property called TargetServerVersion:
    http://technet.microsoft.com/en-us/library/ee635898(SQL.105).aspx
    If your report server is indeed the 2008 R2 version, then the TargetServerVersion property should be set to "SQL Server 2008 R2 Reporting Services."  The project property page also has a "Auto Detect..." option if you are uncertain about the version of your report server.
    Hope this helps!
    Cheers,
    LawrenceThis posting is provided "AS IS" with no warranties, and confers no rights.

Maybe you are looking for