Generate report to view mailbox folder statistics

hi, can someone advise how I run and save a report to a txt file to show the number of mails  in each inbox of every mailbox on the exchange 2007 server?
`joe prior

Hi,
I think this will do the trick:
 Get-Mailbox -ResultSize unlimited | Get-MailboxFolderStatistics  -FolderScope Inbox | Where {$_.FolderPath -eq "/inbox"} | Sort-Object –Property ItemsinFolder | Select Identity,FolderSize,ItemsinFolder,FolderandSubFolderSize,ItemsinFolderandSubfolders
For send items this will be the command: 
Get-Mailbox -ResultSize unlimited | Get-MailboxFolderStatistics | Where {$_.FolderPath -eq "/sent items"} | Sort-Object –Property ItemsinFolder | Select Identity,FolderSize,ItemsinFolder,FolderandSubFolderSize,ItemsinFolderandSubfolders
This blog post will help about creating a powershell scheduled task:
http://www.mikepfeiffer.net/2010/02/creating-scheduled-tasks-for-exchange-2010-powershell-scripts/
Regards Ronny
Visit my Blog or follow me on
Twitter

Similar Messages

  • Unable to generate report for size of KM folder

    hi all,
    i want to generate report for size of folder in KM.I am havingthe following roles content admin,content management,system admin,home, are these roles sufficent to generate report or any roles are needed?
    And other issue is after going into Content management role I am clicking reports workset but I am unable to see "Folder Size Calculation" option, any full access are needed to see it.
    I am following help.sap link plz don't send it ,give me any other Material.
    After starting the Km report  in Resource Statistics its showing size as zero.
    help me in sloving this issue.
    thanks in advance,
    Aravind

    You could find all KM reports to the given navigation
    try all these paths...I am unable to findout your issue definitely permission related
    System Administration -> System Configuration -> Knowledge Management -> Content Management -> Related Topics -> CM Repository Reports
    Content Administration -> KM Content -> Toolbox -> Reports
    Content Management -> Reports
    Regards
    Koti

  • Generate Reports at run time

    Post Author: Sherif_hfm
    CA Forum: General
    Hi every onewhen I use Crystal Reports 9 or 10 I can Generate Reports and view at run time without I need to save it but now with  Crystal Reports2008 I can not do that , If anyone know how to make that in  Crystal Reports2008 please replythanks 

    Ki Klassal,
    For user simulation you could use a tool such as LoadRunner, this would enable you to action specific tasks i.e.
    User Logons
    Report Refreshes
    Report Schedules
    If you run this against "multiple users" you need to pay attention to your use of the WAIT time parameter, i.e. how long the application waits before user clicks, typically 5-7 seconds for the wait time should be sufficient.
    SAP does not provide any specific documentation around this type of performance activity, but you could also gather valuable information by using our Remote Support Component tools:
    The Remote Support Component is a wonderful new product that enables an SAP BusinessObjects Enterprise administrator to:
    u2022     save time and effort thus reducing cost of ownership
    u2022     identify and resolve performance issues to makes things go faster!
    u2022     Be proactive and not reactive
    And itu2019s completely free!
    Only for SAP BusinessObjects Enterprise XI 3.1 SP2 and SP3 customers.
    Central Monitoring 24 x 7
    u2022     Just one location not multiple
    u2022     No more log files
    u2022     End to end converge
    Guided Analysis
    u2022     Dashboard of all components
    u2022     Traffic Lighting
    u2022     Historic and Live
    Saving you time and effort
    u2022     Root Cause Analysis with u2018Live traceu2019
    u2022     Auto uploading of your configuration
    u2022     Be proactive, not reactive
    An introduction to the benefits of using Remote Support Component for SAP Business Objects Enterprise. The recording is 4 minutes and 30 seconds long: https://sap.emea.pgiconnect.com/p84837556/
    I hope this is a very helpful answer to you.
    Kind regards,
    John

  • Unable to view settings tab in one GPO. "An error occurred while generating report: Object reference not set to an instance of an object."

    I am the owner of this GPO and I can view the settings tab in any other GPO. But, I get the following message when I try to view the settings tab in one particular GPO:
    An error occurred while generating report:
    Object reference not set to an instance of an object.
    Other posts I look at reference the same error, but with different circumstances, and thus, they specify that the hotfix is for to fix the error under
    those circumstances.
    I'm accessing GPMC on a Win 7 SP1 machine. DC is Server 2012 Standard.

    > Since I have to go through Edit to see the settings, and peruse the
    > entire massive folder of settings to try to identify the bad one, it has
    > been slow-going and I haven't found it yet.
    You can filter ADM templates to show configured ones only, and you can
    use the "show all settings" node. This will speed the work up - a little
    bit at least :)
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • GPM Custom GPO-Settings: An error occurred while generating report: Object reference not set to an instance of an object.

    Hello,
    As you can tell from the title of this question, I am no expert with GPO's.  Before I begin, I spent a few minutes to an hour searching and reading in hopes of finding the solution and avoid putting myself out there as a "GPO Newb".  While
    I found several posts and answers that were similar and were related, the questions and answers were more advanced and did present the solutions providing the person had initial knowledge already.  That is not necessarily my case and I would ask for a
    little patience and a bit of 'hand-holding' for what I need.
    I run SBS 2011, and in Group Policy Management I have a custom GPO.  In this GPO I define all my settings.  I understand this may not be the best or most practical method of applying policies, but I am not very strict and have few settings.  This
    policy existed prior to my joining the company, and was migrated in to this SBS '11 from SBS '03.  That may be the issue, but before making any changes I am seeking expert advice.
    When I select that GPO, named "Main GPO", and click on the tab at the top "Settings" I see the error: "An error occurred while generating report: Object reference not set to an instance of an object."
    I saw that when I right click the GPO > View > Options and select the tab "Reporting" that it states that for reporting to work the location of the .adm files must be specified.  I see that my option for the location is set to "Default"
    which by my guessing would be located in the C:\Windows\sysvol directory.  Below is what I see there:
    C:\Windows\sysvol\domain
    C:\Windows\sysvol\staging
    C:\Windows\sysvol\staging areas
    C:\Windows\sysvol\sysvol
    I think the problem is that my custom GPO are not inside the default location, which I speculate is: C:\Windows\sysvol\domain\policies (which I do see some objects there).
    But instead I also see items in this folder: C:\Windows\sysvol\sysvol\JOHN.LOCAL\policies (while where I just typed 'JOHN.LOCAL' is my actual local domain).
    To further this, when I edit that custom GPO, then at the very top of the tree I right click on it and select Properties, I see a Unique Name listed there as a long string of numbers and letters, similar to a registry entry.  I searched my server for
    that same Unique Name and found it listed inside the folder: C:\Windows\sysvol\domain\policies
    If I am correct with my assumption and basic knowledge, I should move all objects as follows:
    -Move FROM: C:\Windows\sysvol\domain\policies
    -Move TO: C:\Windows\sysvol\sysvol\JOHN.LOCAL\policies
    My concerns are that I am not correct at all, that I will break something, that there may be an easier fix than moving anything, or that I am overlooking something causing this error altogether. 
    Thank you for anyone's help and time with assisting me with this request.
    John Fester

    > top "Settings" I see the error: "An error occurred while generating
    > report: Object reference not set to an instance of an object."
    That's due to a security setting (most possibly) your current OS does
    not understand. Hard to find out wich exact setting it is... To resolve
    this issue, we need the gtpptmpl.inf file residing in the policiy's
    sysvol folder. To open this folder, edit the policy, move to computer
    settings - policies - windows settings - scripts - startup, press "show
    files". Then move two folders upwards and back down to
    .\microsoft\windows nt\secedit. There you'll see the gpttmpl.inf - post
    its contents and we'll have a look at it.
    > location, which I speculate is: C:\Windows\sysvol\domain\policies (which
    > folder: C:\Windows\sysvol\sysvol\JOHN.LOCAL\policies (while where I just
    That's perfectly ok - JOHN.LOCAL in fact is a symlink pointing to "domain".
    > all objects as follows:
    > -Move FROM: C:\Windows\sysvol\domain\policies
    > -Move TO: C:\Windows\sysvol\sysvol\JOHN.LOCAL\policies
    No.
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • Dr. Watson error trying to generate report

    I am running Sun Java System Web Server 6.1 SP5 on Windows Server 2003 with SP1 which has been locked down using the Bastion Host server role from the Windows Server 2003 Security Guide. When I try to generate a report on the web site statistics through the Server Manager (web admin console) I get the pop-up screen which says:
    Starting analysis
    Attempting to run:
    D:/Sun/WEBSER~1/WEBSER~1.1/extras/flexanlg/flexanlg -F -n acol-prod2.acol.ca -i D:/Sun/WEBSER~1/WEBSER~1.1/HTTPS-~2/logs/access -o c:\stat.txt -c hnrfeuok -t s5m5h10 -l c+5h5 -p ctl
    This may take a bit.
    But the report does not get generated and I get the following error in the Event Viewer Application Log:
    Event Type:     Information
    Event Source:     DrWatson
    Event Category:     None
    Event ID:     4097
    Date:          2/20/2006
    Time:          9:17:06 AM
    User:          N/A
    Computer:     WEB100
    Description:
    The application, D:\Sun\WebServer\WebServer6.1\bin\https\httpadmin\bin\lganalyz.exe, generated an application error The error occurred on 02/20/2006 @ 09:17:06.313 The exception generated was c0000005 at address 77BD03BA (msvcrt!popen).
    I thought this might be a permissions problem, so I tried running the Administrator Server service as the local admin account instead of Local System Account. I get the same result either way.
    Any ideas on what might be causing the problem?
    Thanks,
    Chris

    Just a little further info. I installed Windows 2003 with SP1 and the latest updates available through Windows Updates and Sun Java System Web Server SP5 on a new server. I did not do any of the security configuration lockdown as I had done on the other server. I am still getting the Dr. Watson error when trying to generate a report, but I am also getting the following error:
    Event Type:     Error
    Event Source:     Application Error
    Event Category:     (100)
    Event ID:     1000
    Date:          2/23/2006
    Time:          1:42:16 PM
    User:          N/A
    Computer:     WEB100-TEST
    Description:
    Faulting application lganalyz.exe, version 0.0.0.0, faulting module msvcrt.dll, version 7.0.3790.1830, fault address 0x000303ba.
    Hope this helps!
    ~Chris

  • How to test a generated report in my application by using web test written with Visual Studio 2012 Ultimate

    Hello,
    My application generates report in different formats, such as: Adobe, Excel, XML, CSV and HTML
    I have a webtest that makes all preparations, then generates a report. 
    In my application I have an option either to save the new generated report or open it.
    When I try to open the new report, the web test doesn't see it and therefore not allows me to test it.
    Please refer me to knowledge base or let me know how to resolve this type of issues.
    Thanks.
    qatm

    Hi qatm,
    Thank you for posting in MSDN forum.
    Since this web performance test is used to verify the Http request/respond work correctly in VS, and the browser session is then displayed as a list of URLs in the Web Performance Test Editor.
    However, as you said that you want to test a generated report in my application by using web performance test in VS2012 Ultimate. If the report is not as the Http format, so I think that it is not possible to test a generated report by using web performance
    test.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • After Exchange 2010 SP3 upgrade, UAG publised OWA is throwing a "You do not have permissions to view this folder or page" error

    Hi,
    We have an issue with our OWA page.  We are currently publishing OWA via UAG.
    We recently upgraded to Exchange 2010 SP3 and then SP3 Rollup7.  Since the upgrade, we are keep getting the following error after entering our credentials on the login page.  I've tried with every possible browser. 
    You do not have permissions to view this folder or page
    Strangely enough, the mobile phones are sending and receiving emails just fine, the phones use the same OWA link, so it's not an authentication issue, the phones login into the UAG servers with no issues.  I can see this on the Active Sessions screen
    on Web Monitor. 
    I've attempted to connect to the OWA by bypassing the UAG server, so putting in the local OWA address of one of my Exchange servers, it works... so the OWA page is up and running. 
    No error logs get generated on Web Monitor when we receive the permission error, I think this is because it's past authentication, it's on the Exchange layer. 
    Any insight would be helpful?  I'm assuming something changed on the Exchange side after the upgrade.
    Just in case, I've upgraded the UAG and TMG servers to the latest SP and Rollup packets.
    UAG > SP4
    TMG > SP2 Rollup 5

    I've found a solution; UAG requires Basic Authentication over OWA.  For some reason Integrated Windows Authentication got turned on after the SP3 upgrade.
    http://technet.microsoft.com/en-us/library/ee921443.aspx
    Turning Integrated Windows Authentication off via the Client Access OWA settings resolved the issue.  Though beware, you
    have do this on all your Client Access servers.  

  • Error While generating Report

    Hi ,
    I am facing 1 problem while generating Report.
    I am trying to generate a report based on one Users global attribute.
    I have customized the USER UI CONFIG and Uer Report task to generate a report like this.
    I created a new report to generate report and in that report I have given the condition as that attribute equals to some value "true" / "False".
    But there are some users who has this attribute value as true and whose accounts are not properly created in a resource LDAP So this User view is containing some error.
    Hence when I try to run the newly created report as it tries to iterate on the user objects whose view is containg some errors ,the report is not properly getting generated and giving exception as error in calling the method getResourceobjects on LDAP.
    What can I do now ? What is the alternative for me? I want to generate the report on that attribute only.....
    It is very urgent for me and Can anyone please help me out....
    it would be so great if there is any immediate reponse for this.

    >
    ... ORA-00932: inconsistent datatypes: expected DATE got NUMBER ...
    >
    I believe the above error message is very descriptive.
    HTH
    Srini

  • A big problem of Generate report with PDF format....Urgent

    I want to generate a report with pdf format through one java file, it have two page 1)gen_report.jsp 2) report_gen.java , the compliation was failed. However, i don't what the problem is .... i hope anyone can help me as it is very argent for me ....Thanks a lot
    1)gen_report.jsp
    <table  id="AutoNumber1">
       <tr>
         <td background="images/top5movie.png">
         <p align="center"> </p>
        </td>
       </tr>
       <tr>
       <td >
          <div align="center">
            <table id="AutoNumber2" >
                  <form method="GET" action="../report_gen" name="report_gen" target="_blank" onSubmit="javascript:return checkr1(this)">
                    <tr>
                      <td ><b>Report Description:</b></td>
                      <td >This report is to show the top five popular movies in cinemix for a period </td>
                    </tr>
                    <tr>
                      <td><b>Data scope:</b></td>
                      <td >Start from
                      <input type="text" name="start" value="2003-1-1" >to
                      <input type="text" name="end" value="2006-1-1" ></td>
                     </tr>
                     <tr>
                      <td><b>Data processing:</b></td>
                      <td >Show
                        <select name="order_by">
                          <option value="desc" selected>top</option>
                          <option value="asc">bottom</option>
                        </select>
                      5 films</td>
                    </tr>
                    <tr>
                      <td> <p align="center">
                          <input type="submit" value="View_Report" name="subm">
                        </p></td>
                    </tr>
                    <input type="hidden" name="report" value="r1">
                  </form>
                  <form method="GET" action="../report_gen" name="report_gen" target="_blank" onSubmit="javascript:return checkr2(this)">
                    <input type="hidden" name="report" value="r2">
                  </form>
                </table>
         </div>
          </td>
        </tr>
      </table>Then my java code is here
    report_gen.java
    import java.io.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    import java.sql.*;
    // chart and pdf out
    import java.awt.Graphics2D;
    import java.awt.geom.Rectangle2D;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import org.jfree.chart.ChartFactory;
    import org.jfree.chart.JFreeChart;
    import org.jfree.chart.plot.PlotOrientation;
    import org.jfree.data.category.DefaultCategoryDataset;
    import org.jfree.data.xy.*;
    import org.jfree.data.xy.XYBarDataset;
    import org.jfree.data.general.DefaultPieDataset;
    import org.jfree.data.statistics.SimpleHistogramDataset;
    import org.jfree.data.xy.XYSeries;
    import org.jfree.data.xy.XYSeriesCollection;
    import com.lowagie.text.Document;
    import com.lowagie.text.DocumentException;
    import com.lowagie.text.Rectangle;
    import com.lowagie.text.pdf.DefaultFontMapper;
    import com.lowagie.text.pdf.PdfContentByte;
    import com.lowagie.text.pdf.PdfTemplate;
    import com.lowagie.text.pdf.PdfWriter;
    import com.lowagie.text.*;
    import com.lowagie.text.pdf.*;
    import com.lowagie.text.pdf.PdfPCell;
    public class report_gen extends HttpServlet
       private final String titles[] = {"Top Five popular movies ",
                        "Financial cirumstance of cinemas",
                        "Distribution of time segment",
                        "Distribution of favourite movie type"
       private final String descs[] = {"This report is to show the top five  popular movies in cinemix for a period ",
                   "This report is to show the financial circumstance of each cinema site ",
                   "This report is to analysis the customer when is the most visit time ",
                   "This report is to analysis the customer which type of movie do they watch the most"
        private final String bigTitle = "Cinemix";
        private final String driver = "org.gjt.mm.mysql.Driver";
        private final String url= "jdbc:mysql://localhost:3306/cinemix";
        private final String userID = "abc";
        private final String passwd = "abc";     
        public void init(ServletConfig config) throws ServletException
          super.init(config);
       protected void doGet(HttpServletRequest request, HttpServletResponse response)
       throws ServletException, IOException
          final int width = 550;
         final int height = 200;
    / title font (centre and report title)
         final Font fTitle0 = FontFactory.getFont("Helvetica", 42, Font.BOLD);
         final Font fTitle1 = FontFactory.getFont("Helvetica", 30, Font.BOLD);
              // centre name:
        final String title0 = bigTitle;
       // Default category for DefaultCategoryDataset
       final String cat = "data";
       Connection conn;
      JFreeChart chart;
       String title1     = "xyz Report";
       String chartDesc = "description";
       String notes[] = new String[4];
       String chartTitle = "so bad this is title";
       String chartXTitle = "this is x";
       String chartYTitle = "this is y.";
       String report = request.getParameter("report");     
       int max=-10000;
       int min=10000;
       int j=0;          
      // do some basic checking
       if (report == null || report.equals(""))
         report = "-1";  // this course unknow report error message
         String start   = request.getParameter("start");
         String end  = request.getParameter("end");
         String order_by  = request.getParameter("order_by");  // ToDo: check invalid string
           int topN  = 5;
        String order = (order_by.equals("desc")) ? "Top" : "Last";
       String inv[] = {"08:30", "09:30", "10:30", "11:30", "12:30", "11:30", "12:30", "13:30", "14:30", "15:30", "16:30", "17:30","18:30","19:30","20:30","21:30","22:30","23:30"};
         int inv_val[] = new int[inv.length - 1];
         try
            Class.forName(driver).newInstance();
             catch(Exception e)
            printE("Cannot load mysql database driver!", response);
              e.printStackTrace();
               return;
           try
                 conn = DriverManager.getConnection(url, userID, passwd);
                  if (report.equals("r1")) {  // report 1
               DefaultCategoryDataset dataset = new DefaultCategoryDataset();
              Statement stmt = conn.createStatement();
              String sql = "select *,count(f.Name),f.Name from film f, filmDetail fd, ticket t where f.startDate > '" + start + "' and f.endDate <  '" + end + "'and fd.filmID = f.filmID and fd.filmDetailID = t.filmDetailID group by f.name order by fd.filmDetailID asc limit '" +topN+"'";
              ResultSet rs = stmt.executeQuery(sql);
            while (rs.next())
           if (rs.getInt("fd.filmDetailID") > max) max = rs.getInt("fd.filmDetailID");
         if (rs.getInt("fd.filmDetailID") < min) min = rs.getInt("fd.filmDetailID");
          j++;
           ataset.setValue(rs.getInt("fd.filmDetailID"), cat,rs.getString("f.Name"));
           title1     = titles[0];
         chartDesc  = descs[0];
         chartTitle = order + " " + topN + " popular movie";
          chartYTitle = "Box Office record";
          chartXTitle = "Film Name";
          gender = " ";
          chart = ChartFactory.createBarChart(chartTitle, chartXTitle,   chartYTitle, dataset,PlotOrientation.VERTICAL, false, true, false);
        else
              print("Error: I don't inderstand your request!", response);
         return;
           catch (SQLException e)
         printE("Cannot open database connection? <br>", response);
         // printE(e.toString);
      e.printStackTrace();
      return;
         response.setContentType("application/pdf");
         Document document = new Document(PageSize.A4, 5, 5, 5, 5);
        try
             PdfWriter writer;
         writer = PdfWriter.getInstance(document, response.getOutputStream());
        HeaderFooter footer = new HeaderFooter(new Phrase("Page: "), true);
         footer.setBorder(Rectangle.NO_BORDER);
    document.setFooter(footer);
                   footer.setAlignment(Element.ALIGN_CENTER);
                   // step 3
                   document.open();
                   document.add(getHeader(title0, title1, start, end, gender, order, topN, chartDesc));
                   document.add(printChart(chart, writer));
                   document.add(getFooter(notes));
              catch(DocumentException de)
                   de.printStackTrace();
              // step 5
              document.close();
              return;
         }// end doGet()
         /** Handles the HTTP <code>POST</code> method.
          * @param request servlet request
          * @param response servlet response
         protected void doPost(HttpServletRequest request, HttpServletResponse response)
              throws ServletException, IOException
              // processRequest(request, response);
         /** Returns a short description of the servlet.
         public String getServletInfo()
              return "Generate reports for " + bigTitle;
         /* To print en error and exit(?) */
         private void printE(Object obj, HttpServletResponse response) throws IOException
              response.setContentType("text/html");
              PrintWriter out;
              out = response.getWriter();
              out.print(obj.toString());
              out.close();
              // To-Do: how to force exiting?
         // create data chart
         private PdfPTable getHeader(String title0, String title1, String start, String end, String sex, String order, int topN, String desc)
              Font fTitle0 = FontFactory.getFont("Helvetica", 42, Font.BOLD);
              Font fTitle1 = FontFactory.getFont("Helvetica", 24, Font.BOLD);
              Font fTitle3 = FontFactory.getFont("Helvetica", 12, Font.BOLD);
              Font fValue = FontFactory.getFont("Helvetica", 12, Font.UNDERLINE);
              Paragraph parStartEnd = new Paragraph();
              parStartEnd.add(new Phrase("Data start from:                  ", fTitle3));
              parStartEnd.add(new Phrase(start, fValue));
              parStartEnd.add(new Phrase("     to     ", fTitle3));
              parStartEnd.add(new Phrase(end, fValue));
              Paragraph parGenerateDate = new Paragraph();
              parGenerateDate.add(new Phrase("Report generated at:         ", fTitle3));
              parGenerateDate.add(new Phrase(new java.util.Date().toString(), fValue));
              Paragraph parGender = new Paragraph();
              parGender.add(new Phrase("Current show gender:       ", fTitle3));
              parGender.add(new Phrase(sex, fValue));
              Paragraph parTopN = new Paragraph();
              parTopN.add(new Phrase("Now is showing                 ", fTitle3));
              parTopN.add(new Phrase(order, fValue));
              parTopN.add(new Phrase("  ", fValue));
              parTopN.add(new Phrase(new Integer(topN).toString(), fValue));
              parTopN.add(new Phrase("   record(s)", fTitle3));
              // Start main table
              PdfPTable tblMain = new PdfPTable(1);
              tblMain.getDefaultCell().setBorder(0);
              // Print title
              tblMain.getDefaultCell().setHorizontalAlignment(Element.ALIGN_CENTER);
              tblMain.addCell(new Paragraph(title0, fTitle0));
              tblMain.addCell(new Paragraph(title1, fTitle1));
              tblMain.addCell("");
              tblMain.addCell("");
              tblMain.addCell("");
              // Print headers data
              //tblMain.getDefaultCell().setHorizontalAlignment(Element.ALIGN_RIGHT);
              //tblMain.addCell(parInvoiceNum);
              //tblMain.addCell("");
              tblMain.getDefaultCell().setHorizontalAlignment(Element.ALIGN_LEFT);
              tblMain.addCell(parStartEnd);
              tblMain.addCell("");
              tblMain.addCell(parGenerateDate);
              tblMain.addCell("");
              if (sex != " ")
                   tblMain.addCell(parGender);
              else if(order != null && topN > 0)
                   tblMain.addCell(parTopN);
              else
                   tblMain.addCell(" \n");
              tblMain.addCell("");
              tblMain.setWidthPercentage(96);
              tblMain.addCell(new Paragraph("Description of this report:", fTitle3));
              tblMain.addCell(desc);
              tblMain.addCell("\n");
              // Finish main table
              return tblMain;
         // print a chart _directly_ to pdf and return a empty Pdftable...
         public PdfPTable printChart(JFreeChart chart, PdfWriter writer)
              PdfContentByte cb = writer.getDirectContent();
              int width = 550;
              int height = 450;
              PdfTemplate tp = cb.createTemplate(width, height);
              Graphics2D g2d = tp.createGraphics(width, height, new DefaultFontMapper());
              Rectangle2D r2d = new Rectangle2D.Double(0, 0, width, height); //->,
              chart.draw(g2d, r2d);
              g2d.dispose();
              cb.addTemplate(tp, 20, 170);
              // quick method to push down the footer text
              // the only things this method return
              PdfPTable tblDownDown = new PdfPTable(1);
              tblDownDown.getDefaultCell().setBorder(0);
              tblDownDown.addCell(" \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n");
              tblDownDown.addCell(" \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n");
              tblDownDown.addCell(" \n \n \n \n \n \n");
              return tblDownDown;
         public PdfPTable getFooter(String notes[])
              Font fNote = FontFactory.getFont("Helvetica", 14, Font.UNDERLINE);
              Font fComment = FontFactory.getFont("Helvetica", 12, Font.ITALIC);
              Font fTitle1 = FontFactory.getFont("Helvetica", 30, Font.ITALIC);
              // Start footer table
              PdfPTable tblFooter = new PdfPTable(1);
              tblFooter.getDefaultCell().setBorder(0);
              if (notes != null)
                   tblFooter.addCell(new Paragraph("Notes:", fNote));
                   tblFooter.addCell("");
                   tblFooter.addCell("");
                   tblFooter.getDefaultCell().setHorizontalAlignment(Element.ALIGN_LEFT);
                   for (int i=0;i<notes.length;i++)
                        if (notes[i] != null)
                             tblFooter.addCell(new Paragraph("" + (i+1) + ". " + notes[i] + "", fComment));
                             tblFooter.addCell("");
                             tblFooter.addCell("");
                        tblFooter.getDefaultCell().setHorizontalAlignment(Element.ALIGN_CENTER);
                        tblFooter.addCell(new Paragraph("- End of report -", fComment));
                        return tblFooter;
    }

    Go to the cache directory and see if you can open the report directly from here (not in IE).
    I have seen posts on problems with Acrobat Reader Plugin for IE (I believe it was version 6 of Reader).

  • Not able to generate Report

    hi,
    In matrix report as the Number of column field and row field are not certain how do I get to know or point to each column field value for particular row.
    Other details:-
    In simple matrix report with column field as 'Division No' and Row field as 'Account No' and cell field as 'Credit_Amt' and summary field(name F_sumCreditAmt) for Account wise.
    'AccountNo' field repeating frame is down wards and 'division no' repeating field is accross.
    If the summary for 'accountNo' is ' 0' then I am able to supress the row, but the sum can be 'zero' if the total in that row for particular row and all the columns can be (-2000) and (1000,500,500) which will amount to be zero when you add up. But my problem is how do I generate report even if the summary column value is 'zero' but it has some value in the 'Credit_Amt' Field. I need to show the row whose summary is 'zero' but it has some value in the 'Cr_Amt' field for some of the column field(ie Division_no).
    Thanks
    Ram

    if you run your query against the repository database you will get the error while the user MGMT_VIEW in the repository database doesn't have any
    privileges on dba_data_files (I'm using OEM/GC 10g - at least in this version the user MGMT_VIEW is used).
    If you want to run your query against a target database you have only these choice: create a public database link for that target database.
    select tablespace_name as tbname, sum(bytes)/1024/1024 as size_mb from dba_data_files@target_db group by tablespace_name;
    On the other hand you could use the repository of the OEM/GC to get some informations about the tablespaces of a target database.
    Please check:
    http://download.oracle.com/docs/cd/E11857_01/em.111/e12135/toc.htm => Part II Reference => 7 Management Repository Views
    For your purpose the view MGMT$DB_DATAFILES in the SYSMAN repository might be a good choice...
    HTH

  • Generate report from database using .xsl style sheet

    I am trying to view test result histories for specific uut serial numbers.
    We are logging all test data to the default access database template that was provided with Teststand.
    Is there a method of generating reports from the database that match the format of those generated at runtime?
    I was surprised to find that the default access database did not contain any gui or pre-made reports matching the xsl style sheets chosen in the report options dialog.
    My database skills are weak, I am able to browse the raw data and I see the relationships between some of the tables, but the prospect of recreating one of the xml report formats in access seems daunting. Am I missing something? what is the best way to print a uut report from test data stored in access?

    Hello msears,
    Thank you for posting on the NI Discussion Forums.  Unfortunately there are no tools available in TestStand for directly converting an Access database to a formatted .xsl report.  It is possible to have a step in a sequence that reads the information from the database, and create the .xsl report as if it had been generated at sequence run-time, by writing those values directly to Locals.ResultList.  Admittedly, this would require some knowledge of Microsoft Access, and the ability to write a program that will extract information from the database, in order to include it as a step in the sequence.
    Is there anything stopping you from creating a formatted .xsl report when the sequence is run (instead of trying to create it from previous data stored in an Access database)?
    Chris_G
    Sr Test Engineer
    Medtronic, Inc.

  • Not able to generate reports after 8.1.1.3 patch installation

    Hi All,
    We are not able to generate reports after 8.1.1.3 patch installtion.
    and we also followed workaround as below
    1) Import the sif files from Siebel\8.1\Tools_1\REPPATCH\12-1VMBCSV.zip
    2) Import the 4 SIF files in the following order:
    S_XMLP_REP_TMPL_02112010.sif
    SBL_XMLP_REPORT_SELECTION_FLG.sif
    Report Template BC.sif
    Report Template Registration Applet.sif
    3)Apply the DDL for table S_XMLP_REP_TMPL and compile repository
    Still not able to generate Reports.
    Below is error message
    Please ask your systems administrator to check your application configuration.
    ObjMgrMiscLog     Error     1     000000064e150fa0:0     2011-07-07 19:45:31     (busobj.cpp (1654)) SBL-DAT-00222: An error has occurred creating business component 'Report Template Position BC' used by business object 'Report Administration'.
    Please ask your systems administrator to check your application configuration.
    ObjMgrBusServiceLog     Error     1     000000064e150fa0:0     2011-07-07 19:45:31     (swemenusvc.cpp (406)) SBL-DAT-00222: An error has occurred creating business component '<?>' used by business object '<?>'.
    Please ask your systems administrator to check your application configuration.
    Thanks
    Sean

    Hi Rajan,
    Thankyou for for your reply.
    Reports were working fine and we are able to generate reports at configured views in 8.1.1.1 version.
    After installing 8.1.1.3 patch, if we click on reports icon below is the error message displayed.
    An error has occurred creating business component '<?>' used by business object '<?>'.
    Please ask your systems administrator to check your application configuration. (SBL-DAT-00222).
    - is it mandatory to configure security model?(in 8.1.1.1 we used default security model)?
    -is it necessary to import BIPDataService and BIPSiebelSecurityWS inbound Web Services?
    - I didn't see below views as mentioned in bookshelf.
    . Reports - Custom Templates
    . Reports - Standard Templates?
    Thanks
    Sean

  • Bi Publisher - not able to generate report using webservices

    hi all,
    I couldnt able to generate report in bi pulisher,using web services.
    once i done with all the settings which is required for the creation of a report in webservices type, i couldnt able to view the report. If i do so im getting error message like "The report cannot be rendered because of an error, please contact the administrator." . I have referred http://st-curriculum.oracle.com/obe/fmw/bi/biee/r1013/bipub/intro/gettingstarted.htm#o this url for learning bi publisher.
    So some one please guide me to get through this.
    Thank u in advance

    Please see these docs.
    'Report Cannot Be Rendered Because Of An Error - Unexpected element:report' When Using Firefox [ID 605403.1]
    Troubleshooting Oracle BI Publisher Enterprise and XML Publisher Enterprise [ID 412232.1]
    BI Publisher Error On Report Access : java.lang.NoClassDefFoundError [ID 1083315.1]
    BI PUBLISHER DATA TEMPLATE ISSUE RETRIEVING LARGE VARCHAR COLUMNS [ID 960838.1]
    XML-21028 Access Not Allowed While Generating Output With BI Publisher [ID 458161.1]
    Thanks,
    Hussein

  • BI Publisher - PO_DISPATCH Error generating report output

    Hi everyone,
    Sorry for my bad english... having said that...
    I need to modify the Purchase Order print. First, I wanted to see the standard version to get an idea of how much different it was. Well, I don't know because it doesn't work.
    Error:
    Error generating report output: (235,2309)
    Error occurred during the process of generating the output file from template file, XML data file, and translation XLIFF file.
    I know there are several topics on the web, but all of them are about new or custom reports, this is a standard one. When I preview the report on the report definition it works fine, so I assume there's a problem with the XML file generated. When I preview the report specifying an alternative XML I get the same error. The XML file I choose was the one generated by PeopleSoft when trying to view the printable version of the PO online.
    So, I start cutting portions of the XML File. I started leaving only de Header Data and it works OK, when I add the Lines it failed. I add the Line Fields one by one to detect what was the problem... And finally it failed when I add AMT_LINE_MAX. Why? No idea, is it because its value is '0,000' instead of '0.000'? I don't think that should be the problem since there are other numeric fields on the header, all with ',' as a decimal separator...
    Am I missing some configuration?
    Thanks in advance.
    Regards,
    Veronica.

    Have a look at the following doc:
    "Error generating report output. (235,2309)" When Running the "PO XMLP Dispatch" XML Publisher Report (PO_DISPATCH) for a Purchase Order with a Ship To Location with Special Characters in the Address [ID 1299876.1]
    https://support.oracle.com/epmos/faces/DocContentDisplay?id=1299876.1
    Stating this happens for example when there is a location with special characters.

Maybe you are looking for

  • Error installing EM10gR2 Configuration assistant "Web Cache Configuration A

    I am getting an error when the web cache configuration assistant is running. Here is the output of the message: Output generated from configuration assistant "Web Cache Configuration Assistant" (attempt 2): Command = /oracle/oms10g/jdk/bin/java -DORA

  • Framemaker to RTF conversion script

    Hello, I have an requirement for a script to do FM to RTF conversion scripts? Can someone provide any references or samples for this. Thanks & Regards, Shail

  • AUTHSERVER USE with security level of "MANDATORY_ACL"

    Has anyone done this? When i sent security to "MANDATORY_ACL", the AUTHSVC does not come up. But if I change that to "USER_AUTH" it comes up. Does it not work with MANDATORY_ACL level or am I doing something wrong? Any help appreciated. Thanks in adv

  • ROI failing because routing control cannot be changed

    Hi, I am trying to receive a PO through ROI , having routing option set at "Inspection Required" at PO level. I am getting the following Error : "The Deliver transaction could not be processed. The routing control is not set to Direct Delivery, and c

  • Sharing or Emailing Photos with Mac Elements 9 & Mac Outlook 2011

    I use Mac Outlook 2011 on my macbook instead of Apple Mail.  I am trying to change the preferences in Elements 9 to allow me to use this email client for sharing photos but the only option it provides me is Apple Mail.  Could anyone please tell me if