New report application

hi,
i'm begginer but i want to do small web report.(i did only one easy application in servlet&bean).
So, user have txt file with some 5 columns of data. i want to do web interface to user can send this file to the server(f.e.) and next java have to do about 5 SELECTs to the database and put results to this file to the correct rows and columns, and return of course this file to the user.
can you offer me some easy solution to simply do it? are there any mechanisms to help me with it?
thanks
Message was edited by:
pvw

Hi Dave,
>> QUESTION 1 - I have found and successfully used the "Drill down report example". However, I am only able to do it from a brand new application. That doesn't seem quite right though.
I'm not being a smart alec, but I don't see the question in this.
>> QUESTION 2 - I dropped a column while cleaning/correcting my data but I can't seem to get rid of it from a couple of simple HTML reports. I can't find out how to remove the column (granted I am looking for the gui tool). I would use the "query source" under the "report attributes" tab but the lower section (I believe they are the joins) have me perplexed.
For now, don't worry about the WHERE clause of the SQL query unless the column you dropped is in the WHERE clause as well. Beginning with SELECT and up until FROM in the query statement, if you see your column, remove it from there.
If you post your query and the column to be removed, we can help further.
Joel

Similar Messages

  • New Machine: Application no longer exports Crystal Reports

    I have a web application that was written in C#. We build and debug the application locally on Windows XP machines. Recently we got new machines, which were loaded with XP, but now with service pack 3 instead of service pack 2.
    On the new machine, I installed the web application from VSS and it is working quite well.
    The only problem is, Crystal Reports will not export on this new machine. What am I missing?
    The error I get when I try to export the reports is:
    Error in File C:\directory\reportname.rpt: Unable to connect: incorrect log on parameters.
    Keep in mind that the application runs fine on the old machine, reports and all. I have searched and searched for a solution to this problem to no avail.
    The error is thrown on this line:
    rClass.FormatEngine.ExportToStream(req);
    I went so far as to give 'Everyone' full control over the entire file system on the machine to see if there was a permissions issue, but that didn't work at all.
    Funny thing is, when I add:
    oRpt.SetDatabaseLogon("username", "password");
    the report exports without a hitch. We don't have that line of code in the application on our other machines and the reports export just fine.
    PLEASE HELP! Many thanks.

    Crystal Reports has a 3 concurrent processing licenses. Basically it can process 3 users reports simultaneously the other users will be queued until one of the concurrent licenses are released or time-out hit. Now this is different then the job limit there is also a maximum number of print jobs; a print job is not equal to a Processing license. A report with a single subreport in the report header will take two print jobs to run. More subreports or subreports in a repeating section will require more jobs to run the report.
    Depending on the complexity of the reports you can get anywhere from 3 (for really complex long running reports) to upwards of 20 (for really light reports) users running reports through a web application. If you are going to be server much more then 20 users I would suggest moving to a Report Application Server (RAS) based application.
    Technically a web application that does not close and dispose the report object that runs a report with no database connectivity and only a single text box that reads "hello world" could serve your max print job limit, but would only run 3 users at a time. However this is pretty rarely the case.
    So upping your max print jobs from 75 to 1000 may not do anything but create more load on the system (more jobs kept alive) draining resources and slowing the processing jobs down.
    Trevor

  • I need to add a new report to the application that is done using visual studio and SSRS and SQL Server 2008

    I have an application that is done using SSRS on visual studio and it connects to the report server on SQL server 2008 environment.
    I've been changing the existing reports using visual studio 2008 and modifying the reports on the report server. How do I add a new report to the application ? I created a new report and deployed it on the report server but it didn't show up in the application.
    I can access the application source code on visual studio 2010 and TFS (Team Foundation). Thanks. 

    Hi,
    I have a question. This application retrieves SSRS reports from the report sever. When I download the reports
    from the SQL Server I can open them in visual studio 2008 but they don't open in visual studio 2010. I can access the application files on visual studio 2010 and team foundation server 2010. I was unable to open team foundation server 2008 on visual studio
    2008. The issue is that I am unable to add a report with a new name to the application. I use visual studio 2008 to deploy the reports on the report server but it has to be the same name to be able to run the report from the application. I can deploy any report
    on the report server but I can't access it from the application unless it has to be the same name as the present reports. If I keep the report the same name then it will replace the old report and the new report will run from the application. But only if it's
     the same name. I guess when I add a new report to the application with a new name I am supposed to add a definition in the application C sharp files  on visual studio 2010 so that the new report will show in the application. What's your opinion
    ? I have attached 2 images of the application and team foundation server 2010 and the report server.
    Thanks. 

  • FR reports not working for new planning application

    Situation:
    Hyperion 9.2.0
    New planning application created and also registered to share services. One existing group have role assigned as 'Interactive User' and not able to perform operations on workspace (FR), FR Studio and Smart view. (Note: Admin can perform such activities and there is no error.)
    Key user receiving mention below messages while accessing FR report from workspace and using FR studio for particular report related to only new application. The existing FR reports on different planning application working fine working fine from workspace and FR studio. Here are the errors:
    *Workspace Error [Only for new application report]*
    [Wed Aug 24 15:04:35 2011]Local////Error(1051440) Analytical Services user [abcd] Authentication Fails against the Shared Services Server with Error [Failed to authenticate user abcd against provider Native Directory]
    *FR Studio [Only for new application report]*
    Error connecting to database connection XYZ: [Wed Aug 24 15:08:50 2011]<Server Name///abcd/Error(1051025) User abcd is not permitted to access application XYZ
    Smart View Error (Only for new application connection)
    Cannot open cube view. OLAP Error (1051025): User abcd is not permitted to access application XYZ.
    Analysis
    While looking Essbase, I identified that under security (User/Groups), group that have access as interactive user is not listed. Only I can see the groups that have admin roles. However I can see all other planning application successfully displayed groups associated to particular question.
    Please help to resolve the issue. I am new to this concept, so the detailed level description will help me lot
    Thanks
    Edited by: user10070515 on Aug 25, 2011 4:25 AM

    Hi
    Thanks For the replies.
    After the data is copied into the layout. User is changing the values of few key figures and saving. A new line item is created in the cube with the new values.
    Ex
    Cust ....qty.....Value....Revenue
    c100....10........100.....1000
    Changing the value in layout
    Cust ....qty.....Value....Revenue
    c100....10........150.....1000
    After saving in the cube
    Cust ....qty.....Value....Revenue
    c100....10........100.....1000
    c100....0........50..........0
    When the user execute the report revenue is not populating correctly. And i was expecing 150 *10 = 1500. I understood the issue. Can anyone tell me how can i achieve without updating the quantity how can i get this?
    Thanks
    Annie

  • 11.1.2 Planning – Mapping Reporting Application

    Hi John,
    I was reading one of your blog
    http://john-goodwin.blogspot.com/2010/06/1112-planning-mapping-reporting.html
    I want to know what is the advantage of using "Mapping Reporting Application" over replicated partioning, and also what should be the real use of "Mapping Reporting Application"
    One example of why you may want to use this functionality is you say you have a reporting database such as an ASO database reporting actuals and you want to push a proportion of the forecast/budget data from the planning application into the ASO model. It could also be that you have a number of different cubes that you need to push different areas of data to from your planning application
    When I first read about this new functionality I assumed it would create a replicated partition and push the data to the mapped database, I thought it would manage the partition so it wasn’t destroyed with a refresh, this is not the way it works though but more about that later.Can you please explain me in detail about the way of working of this functionality
    Thanks & Regards,
    Avneet Singh Bhatia

    I don't know if there is any advantage, it is just a different way going about it, the planning method exports and then loads the data, is that better than a replicated partition I am not sure but everybody has there own opinions.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • LV 8 problem with New Report.vi in compiled program

    I'm a novice LV programmer trying to finish my first project.  The project is the automation of an air flow stand using field point for acquisition/control.  Have the code written and everything seems to work fine until I compile.  Specifically, I get an error when I attempt to open an Excel template (XLT) using the New Report.vi included in the report generation add on.  When the compiled executable run I get a message with the header "Error 7 occured at Open VI reference in New Report vi>report2.vi>auto air flow testing.vi .   And then in the body of the message is says:
    Possible reason(s):
    LabVIEW:  File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux.
    NI-488:  Non-existent board.
    VI Path: C:\builds\auto air flow\My Application\auto air flow 1a.exe\Excel_Open.vi
    Built Application or Shared Library (DLL): Make sure all dynamically loaded VIs were properly included in the build specification for the application or shared libr
    The input to the New Report.vi template connector is C:\Air Flow Data Files\templates\psc.xlt.  Again this works in design so I believe the formatting is correct and the file does exist.
    Why would this work in design environment but not the compiled program?  I recompiled several times and even tried reinstalling the report generation tool kit. Any help or pointers would be greatly appreciated. I will be happy to supply more info if necessary.   thanks. 

    Okay, I found the solution by doing a search here on 'Error 7".  My thanks to those who have posted the solution in the past.  Regards

  • I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 profession​al. The create new report VI opens Excel but throws error (-21471672​62- from automation open VI) when I try to open MS word. please help...

    I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 professional. The create new report VI opens Excel but throws error (-2147167262- from automation open VI) when I try to open MS word. please help...

    Hi Leo22,
    Does this error occur if you use any of the example programs that come shipped with LabVIEW? I would try opening one of the examples that write data to Word and see if those give you an error. Also, have you tried just putting down a New Report.VI and change the report type to Word? If this simple vi (that's all you need to open Word) breaks, I would check to see if there are any instances of Word still open. Check the task manager to see if any word processes are still open. There should not be a problem accessing Word 2003 from LabVIEW 7.0. If neither of these solutions work, please give some more detail about your application and we can research further. Thanks!
    Jeremy L.
    National Instruments
    Jeremy L.
    National Instruments

  • How to use "machine name" in new report vi?

    I have a computer on a network that has Microsoft excel installed. On another computer I have an application that will take an excel file and stuff a bunch of data from a database into specific cells to generate a report. The vi works fine on my computer (where excel is loaded locally) but when I try and run the VI and access excel remotely I get an error message as follows:
    Error -41106 occurred at NI_Excel.lvclass:new report subVI.vi -> NI_report.lvclass:New Report.vi -> printTestSheet.vi
    Possible reason(s):
    Report Generation Toolkit: Microsoft Word or Excel did not open. Make sure Microsoft Word or Excel is installed.
    Error -41106 occurred at NI_Excel.lvclass:new report subVI.vi -> NI_report.lvclass:New Report.vi -> printTestSheet.vi
    Possible reason(s):
    Report Generation Toolkit: Microsoft Word or Excel did not open. Make sure Microsoft Word or Excel is installed.
    I have included the ip address of the remote machine to the "machine name" input of the "New Report" vi.
    Any suggestions/solutions?
    Gerry Thompson

    Hi Gerry,
    One reason that you may get this error is if Distributed COM wasn't enabled on the remote machine. See this Microsoft KB for how to check or enable that functionality.
    If that doesn't help; let me know, and I'll try to setup a similar test case on my end. The process isn't well documented, and I haven't seen any existing examples, so I'd like to see what it takes to get it running.
    All the best,
    Fred V -- Product Support Engineer -- LabVIEW R&D -- National Instruments

  • Creating a new report in 11.5.9

    I am trying to create a new report for Oracle Sales Online. I don't want to just do a simple JSP, I want to use some of the existing functionality that the existing pages are using.
    Take the Organization Summary page for example. Its the page called asfOrgznSumryMain.jsp and its many included JSPs and java classes in the oracle.apps.asf.customer.organization package that it uses.
    I have created java classes that mimick the classes used by that page, such as my own EO (Entity Object), VO (View Object), and TD (table rows) objects. I've made them select from tables that I want to show as best I can.
    But all the calls in the JSPs using function values that resolve to JSP page filename values are just confusing. I am trying to create an advanced search page for my new summary where the user can save searches and pick columns like they can on other pages. How can this be done? Is there documentation anywhere? How do I create the functions needed to be able to have an advanced search page, save user queries, create a default query for the page for the first time a user views it, etc etc?
    Someone please help. I need to do this in 11.5.9...we will be moving to .10 someday, but until then, I need to create this new report that uses Oracle's application framework as much as possible.

    Ok, I was able to figure out the functions that were confusing me. For my own record and for those that do not know, I will list how to create the objects necessary to add a new report to a menu.
    1-Write JSP (should be written just how Oracle writes theirs)
    2-Creat function for the new JSP page as System Administrator responsibility
    3-Use Sys Admin to add the function to a menu somewhere
    4-Using AK Developer responsibility, create an attribute with the label of the attribute being the name of your function you created. Oracle's convention is the name of the attribute has FS in it.
    5-Using AK Developer, lookup the ASF_FUNC_SEC_REG region
    6-Drill down into that regions attributes
    7-Add a your newly created attribute to this region
    You would do all these steps for your advanced search page as well, so that in your main jsp, you can call asfPage.setAdvancedSearchPage() with the attribute name of your advanced page.
    What I Still do not know is:
    (1) My main page keeps coming up saying that there is no default query defined for it. How do you create a default query for a report?
    (2) How to get the personalization to work.
    Can anyone help?
    Thanks!

  • Deployment of a crystal report application with visual 2005

    Hello all,
    I am very new at .NET, and this is my first post to this forum.
    I've created a report  (example.rpt) with Crystal Reports 2008. Then I've installed "Crystal Report for visual .net 2005 component".
    Then I've  imported it in a vb.net project using its Crystal Report Application Template, complied it and succesfully tested it on my machine. 
    My next objective is to manage the deployment of my report on the end-user machine. Here started my problem.....
    Following suggestions I found on the net, I tried to create a Setup Project to deploy my application including Crystal Report runtime components; the report is included in the project as an embedded resource. Apparently the setup project as been correctly builded; if I run it my machine everything is ok but on  end-user machine it generated this error:
    EventType clr20r3, P1 reportarts.exe, P2 1.0.0.0, P3 49feecfc, P4 reportarts, P5 1.0.0.0, P6 49feecfc, P7 e, P8 c6, P9 system.invalidoperationexception, P10 NIL.
    I tried on different windows SP2 - SP3 machines, with .NET Framework 2.0 alredy installed but the error is the same.
    Can you Help me please???????? THANK YOU in ADVANCE

    Hi,
    I have notice that
    I've created a report (example.rpt) with Crystal Reports 2008. Then I've installed "Crystal Report for visual .net 2005 component".
    Is that meam you have developed the reports in CR 2008(Seperate product) and installed CR for VS2005 (CR 10.5) and using CR 2008 reports in CR 10.5 environment?
    Would like to inform that CR  2008 and CR 10.5 which comes with VS2005 are completely different and if in case you are converting the CR 2008 reports to CR 10.5 then you need to be careful for deployment because the correct runtimes should be installed on the deployment system.
    You can check the integrated CR with VS by opening VS environment and go to help - about - and check the CR version.
    If you are using the VS 2005 CR 10.5 then click [here|http://resources.businessobjects.com/support/communityCS/FilesAndUpdates/cr_net_2005_mergemodules_mlb_x86.zip] to install latest merge modules.
    Hope this helps!!
    Edited by: Amit Singh on May 5, 2009 6:07 PM

  • Load Report Failed - Report Application Server Failed error at runtime

    Hello, I'm pretty new to Crystal Reports so please bear with me.
    I just installed CR 2008 on my development box, which is running VS2005 .NET 2.0.  I changed over all of my assembly references in my web.config to the new version:
    <add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.ReportSource, Version=12.0.2000.0, Culture=neutral,
    PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Enterprise.Framework, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Enterprise.Desktop.Report, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.ReportAppServer.Controllers, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Enterprise.Viewing.ReportSource, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    Also the webpage that is displaying the ReportViewer object has this reference as well:
    <%@ Register Assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
        Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
    Now, in my code behind I am simply trying to open a pre-built crystal report that came in the sample pack
    When I try and do this in our already built website I get an error:
    "Load report failed"
    With the inner exception saying:
    "The Report Application Server failed"
    This same piece of code works perfectly if I build a new website, however when I try and impliment this into our existing code base I get the error shown above.  Also the samples I've used all use .NET 3.5 and the website is in 2.0.  I'm not sure if that is a factor or not but that is also another piece of information that could be useful.
    Any help on this matter would be greatly appreciated.  Thank you for you're time.
    Chris McMahan
    Edited by: Arithal on Aug 4, 2009 8:36 PM

    And finally the stack trace.  Sorry for the length of these posts.
    [COMException (0x800001f5): The Report Application Server failed]
       CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +126
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +575
    [CrystalReportsException: Load report failed.]
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +646
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +1374
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +169
       Report_Viewer_Crystal_CrystalView.ConfigureCrystalReports() in c:\Inetpub\wwwroot\Report Viewer\Crystal\CrystalView.aspx.cs:49
       Report_Viewer_Crystal_CrystalView.Page_Init(Object sender, EventArgs e) in c:\Inetpub\wwwroot\Report Viewer\Crystal\CrystalView.aspx.cs:33
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
       System.Web.UI.Control.OnInit(EventArgs e) +99
       System.Web.UI.Page.OnInit(EventArgs e) +9
       System.Web.UI.Control.InitRecursive(Control namingContainer) +321
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +834

  • An error occured while generating a new report template

    I have installed the Crystal Reports 2008 V2 and also the support pack. Installed the SAP Integration Kit XI 3.1 and the latest service pack 2.7. When I try to use the SAP Tool bar from Crystal Report , I can connect/see the queries but when I select any query to create a report I am getting an error message
    "An error occured while generating a new report template". Any advise ? How do I turn on the trace in the client ?
    Thanks,

    Hi,
    Did you update your Fix Pack...
    Here is solution for Client...
    To turn tracing on for client applications, you can use the following steps:
    1. Click Start > Settings > Control Panel > System > Advanced > Environment Variables button.
    2. Under the User Variables, add the following variable and value:
    For Enterprise XI:
    Variable Name: BOE_LOGGER_ENVIRONMENT
    Variable Value: -trace -loggingPath c:\logs
    For Crystal Analysis, Crystal Enterprise, and Crystal Reports version 10 and earlier:
    Variable Name: CRYSTAL_LOGGER_ENVIRONMENT
    Variable Value: -trace -loggingPath c:\logging
    Regards,
    Bashir Awan

  • Null pointer exception in com.crystaldecisions.sdk.occa.report.application.ControllerBase.checkViewReportRight

    I am testing BOE 4.0 with a simple jsp based on the samples.  The code is what I used to test BOE xi 3.1.  But I ran into some report display inconsistencies with 3.1 so I am trying 4.0.  The code below works in 3.1  But in 4.0, I get the report viewer screen coming up but get a null pointer exception coming to the screen.
    2014-06-18 13:48:01
    java.lang.NullPointerException
    at com.crystaldecisions.sdk.occa.report.application.ControllerBase.checkViewReportRight(ControllerBase.java:114)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(ReportSource.java:945)
    at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(AdvancedReportSource.java:343)
    at com.businessobjects.report.web.event.PageListener.renderContentLocally(PageListener.java:394)
    at com.businessobjects.report.web.event.PageListener.getPage(PageListener.java:181)
    at com.businessobjects.report.web.event.PageListener.updatePage(PageListener.java:123)
    at com.businessobjects.report.web.event.UpdatePageEvent.processListener(UpdatePageEvent.java:47)
    at com.businessobjects.report.web.event.ViewerBroadcaster.broadcast(ViewerBroadcaster.java:109)
    at com.businessobjects.report.web.event.EventQueue.processEvents(EventQueue.java:53)
    at com.businessobjects.report.web.component.ViewerContainer.processEvents(ViewerContainer.java:1403)
    at com.businessobjects.report.web.WorkflowController.doEventProcessing(WorkflowController.java:353)
    at com.businessobjects.report.web.WorkflowController.doLifecycle(WorkflowController.java:255)
    at com.businessobjects.report.web.WorkflowController.doAsyncLifecycle(WorkflowController.java:106)
    at com.crystaldecisions.report.web.viewer.CrystalReportViewerUpdater._processHttpRequest(CrystalReportViewerUpdater.java:61)
    at com.crystaldecisions.report.web.ServerControl.processHttpRequest(ServerControl.java:345)
    at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.doUpdate(CrystalReportViewerServlet.java:156)
    at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.doPost(CrystalReportViewerServlet.java:144)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:662)
    Here is the AlwaysRequiredSteps_UnmanagedRas.jsp
    <%
    String path = "rassdk://C:\\reports\\asn.rpt";
    ReportAppSession ra = new ReportAppSession();
    ra.createService("com.crystaldecisions.sdk.occa.report.application.ReportClientDocument");
    ra.setReportAppServer("10.189.15.175:1566");
    ra.initialize();
    ReportClientDocument clientDoc = new ReportClientDocument();
    clientDoc.setReportAppServer(ra.getReportAppServer());
    clientDoc.open(path, OpenReportOptions._openAsReadOnly);
    %>
    Here is the OpenReport.jsp
    <%@ page contentType="text/html; charset=utf-8" %>
    <%@
       page import="com.crystaldecisions.sdk.occa.report.application.*,
      com.crystaldecisions.sdk.occa.report.data.*,
      com.crystaldecisions.sdk.occa.report.lib.*,
      com.crystaldecisions.report.web.viewer.*,
      com.crystaldecisions.sdk.occa.report.definition.*"
    %>
    <html>
    <head>
    <title>Preview Report</title>
    </head>
    <body>
    <%@ include file="AlwaysRequiredSteps_UnmanagedRAS.jsp"%>
    <%
      Tables oTablesCollection = clientDoc.getDatabaseController().getDatabase().getTables();
      for(int i = 0; i < oTablesCollection.size(); i++) {
          // We'll get two copies of the original table, change one, and use set table.
          ITable originalTable = oTablesCollection.getTable(i);
          ITable changedTable = oTablesCollection.getTable(i);
          IConnectionInfo newConnectionInfo = new ConnectionInfo();
          PropertyBag attributes = new PropertyBag();
          attributes.putBooleanValue(PropertyBagHelper.CONNINFO_SSO_ENABLED, false);
          attributes.putStringValue(PropertyBagHelper.CONNINFO_CRQE_DATABASETYPE, "JDBC (JNDI)");
          attributes.putStringValue(PropertyBagHelper.CONNINFO_DATABASE_DLL, "crdb_jdbc.dll");
          attributes.putStringValue(PropertyBagHelper.CONNINFO_CRQE_DATABASENAME, "");
          attributes.putBooleanValue(PropertyBagHelper.CONNINFO_CRQE_SQLDB, true);
          PropertyBag logonProperties = new PropertyBag();
          logonProperties.putStringValue("JDBC Connection String", "!oracle.jdbc.driver.OracleDriver!jdbc:oracle:thin:{userid}/{password}@10.189.12.248:1521:gbg");
          logonProperties.putBooleanValue("Trusted_Connection", false);
          logonProperties.putBooleanValue("Use JDBC", true);
          logonProperties.putStringValue("Database Class Name", "oracle.jdbc.driver.OracleDriver");
          logonProperties.putStringValue("Connection URL", "jdbc:oracle:thin:@10.189.12.248:1521:gbg");
          logonProperties.putStringValue("Server", "10.189.12.248");
          attributes.put(PropertyBagHelper.CONNINFO_CRQE_LOGONPROPERTIES, logonProperties);
          attributes.putStringValue("QE_ServerDescription", "10.189.12.248");
          newConnectionInfo.setKind(ConnectionInfoKind.CRQE);
          newConnectionInfo.setUserName("dsdone");
          newConnectionInfo.setPassword("dbuser");
          newConnectionInfo.setAttributes(attributes);
          changedTable.setQualifiedName("DSDONE" + "." + changedTable.getName());
          changedTable.setConnectionInfo(newConnectionInfo);
          // Commit the changes by calling the setTableLocation method from
          // the Database controller with the new table
          clientDoc.getDatabaseController().setTableLocation(originalTable, changedTable);
      // Create a Viewer object
      CrystalReportViewer viewer = new CrystalReportViewer();
      // Set the name for the viewer
      viewer.setName("Crystal_Report_Viewer");
      // Set the report source for the  viewer to the ReportClientDocument's report source
      viewer.setReportSource(clientDoc.getReportSource());
      // Process the http request to view the report
      viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
      // Dispose of the viewer object
      viewer.dispose();
      // Release the memory used by the report
      clientDoc.close();
    %>
    </body>
    </html>

    Hi Jason,
    Call any one of the methods
    viewer.dispose(); or clientDoc.close();
    Do not use both in BI 4.x version.
    Test the same and let me know if it works.
    Thanks,
    Prithvi

  • New Reporting Currency won't Convert

    Hey Experts!
    We're running BPC v 5.1.502 for Microsoft SQL.
    I've recently setup the Currency Conversion features with BPC.  I was able to successfully convert LC Values to both USD and EUR.  These 2 Currencies were already setup as Reporting currencies by somebody else, probably years ago. 
    Now, I then tried to add the CAD currency to the conversion process, but for some reason when the "FX Restatement" Task is run, the system only converts the USD and EUR values.  It seems to ignore the CAD currency. 
    I've validated the following:
    I have rates existing for the CAD currency in the tblFactRate table.
    For the CAD record in my InputCurrency Dimension, I have "Y" in the reporting field and have defined the same Group that is used by USD and EUR.
    In my Groups Dimension, I've ensured that CAD  is available, has a "Y" in the Reporting Column an dhas a Currency_Type = 'R'
    Everything is set correctly on the Rate, RateEntity, RateSrc, and RptCurrency Dimensions as well.
    What else am I missing?  Why will the first two rates calculate, but not the 3rd?
    Any help is appreciated.
    Thanks!
    Sean

    I'm running Script Logic and even though I have Processed all Dimensions, processed the application and optimized trying to get this thing to work; I figured I'd try your advice on saving and validating the script.  Well, this fixed it!    I'm now able to get my new Reporting curency to convert LC values.
    Thank you so very much for this information.  It would be nice if it were documented somewhere that the Script Logic has to be re-validated and saved after adding a new Reporting Currency. 
    Now, to follow up, if I add more reporting currencies, do I need to optimize and process the entire application after each new currency?  Or is that overkill?  Thanks again for your advice!

  • New Report compiled executable requires _exclsub.llb?

    When using a compiled version of the office reporting package under win2k to generate a new Excel report, I get a file not found error in the New Report VI. Digging a little in New Report, it seems the VI is expecting the _exclsub.llb to exist in the data subdirectory of the executable. Manually moving _exclsub.llb to the correct spot solves the problem, but is there a better way?

    When building the executable in Application Builder, you must add the _exclsub.llb as a support file. The
    following webpage has some information related to this:
    http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/08ddbb532e53e96986256a860070a76c?OpenDocument
    The readme file that comes with the toolkit also talks about this.
    Chris_Mitchell
    Product Development Engineer
    Certified LabVIEW Architect

Maybe you are looking for