Creating Report and connecting to database

Hi I am trying to create a report using Crystal Reports and VB.net, However when I use the database expert to connect to the database I get
the error code 0xbe9, cannot open the database.
It sometimes work and sometimes do not.
Please help
Regards
Navin

Hi Navin
1) What version of CR - please be precise. If this is a stand-alone designer go to "Help | ABout...". If this is a CR bundle for VS, quote the version of crpe32.dll.
2) What version of .NET?
3) What database?
4) How are you connecting to the database?
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow me on Twitter

Similar Messages

  • The best practice for creating reports and dashboard

    Hello guys
    I am trying to put together a list of best practice on how to create reports and dashboards using OBIEE presentation service. I know a lot of those dos and donts are just corporate words that don't apply consistantly in real world environment, but still I'd like to know if Oracle has any officially defined best practice or not.
    the only best practice I can think of when it comes to building reports and dashboards is:
    Each subject area should contain only one star schema that holds data for a specific business information
    Is there anything else?
    Please advice
    Thanks

    Read this book to understand what a Dashboard is, what it should do and look like to be used by the end users. Very enlightentning.
    Information Dashboard Design: The Effective Visual Communication of Data by Stephen Few (There are a couple of other books by Stephen and although I haven't read them yet, I anticipate them to be equally helpful.
    This book was also helpful to me:
    http://www.amazon.com/Performance-Dashboards-Measuring-Monitoring-Managing/dp/0471724173
    I also found this book helpful in Best Practices...
    http://www.biconsultinggroup.com/knowledgebase.asp?CategoryID=337

  • Can you create report and schedule in EVDRE

    Hi,
    I was asked by someone that if it is possible to create report and schedule in one single worksheet?  As you set report/schedule in workbook options for the file my assumption was its not possible. Is there any work around?
    Also i was asked about mandate in evsnd. I havent come across that either. what is it?

    Hi,
    Yes! You can create report and schedule in single work sheet. If you insert 2 different evdre's , one for report and other for schedule then use [Get only range|http://help.sap.com/saphelp_bpc75_nw/helpdata/en/47/b9a7ccae664edb9034c3579ebec486/content.htm] for report area.
    Or using a single evdre also you can acheive this by selecting part of range not to send.
    hope it works...
    regards,
    Raju

  • Oracle BI Suite EE 10g R3: Create Reports and Dashboards Self Study CD

    Hi All,
    Has anyone used Oracle BI Suite EE 10g R3: Create Reports and Dashboards self study CD? Any comments...
    Thanks,
    RK

    Havent used it, but I guess it will be the same as: http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/index.html
    and that one is ok.. to learn some basis things!

  • How to create reports and infosets in E recruiting

    Hi we are planning to create reports and infosets in E recruiting module Though I am not a developer I need to write functional designs for creating reports and Infosets.For the same I need to know what should be our approach and what all things we should keep in mind.and how creating reports and infosets is different from the ones in SAP  R/3.
    Thanks and best regards
    Rajeev

    I am sorry but your question does not seem to make much sense.
    Can you please rephrase your question?

  • Crystal Reports and connecting to multiple tables in a dataset - I'm Going Crazy!!

    This is my first application, first report and first everything.  Wouldn't you know the report I am trying to produce is probably more difficult!!  What is happening is that I have a form(screen) up in my application with the information displayed on it from a recrod in a table that I want to put on a report to be view and/or printed and eventually down the road I want to incorporate a signature.  One step at a time though, here is what I have accomplished.  I have created the report, I have gotten it to display in the viewer but it will not push the data from the table that I want displayed.  It only displays the text that I have typed on the form.  This is a Visual Basic application created in Visual Studio 2005 using a SQL database.  If you need more information then just ask and I will try to fumble through and tell you what I know.  (Oh and to top it off............I am also trying to get information to display from other tables also (codes connected to descriptions etc.))
    Any help would be really appreciated as I have went through tutorials, read white papers, tech notes and anything else I can find but I just can't get it to work!!
    Thanks!

    You do need to give more information. To better help, we would need to know the database, when you say SQL do you mean SQL Server, how you created the dataset, whether there are multiple tables in a single dataset or multiple datasets, etc.
    The report appears to be running so the underlying issue as you know will likely be the dataset. You may want to confirm the dataset does in fact have data in it.  Returning a simple count will let you know there are rows. If you used the components rather than code to create the objects you can also see the data returned in the fill process.
    Once you know you have data in the dataset, you can check your reports connection to the dataset.
    Just hang in there... the problem is probably a simple fix. I am sure others will follow on with more suggestions.
    Regards,
    John W.

  • Set parameters input automatically in my report and connection to my base

    Hello
    this my programmes , it work it's ok ( see bottom of the page )
    Now i have a rapport rpt with a input edit (example number customer )
    I want by my file jsp that the number customer display automatically
    in my rapport rpt ( variable string or integer or date) and after validate automaticcaly
    and connection to my database automartically ( database oracle 8 user and paswword)
    (by example with my url , i pass a parameters input and automatically i will see
    the rapport rpt ) it's possible , How to make in jsp ?
    thanks to help me
    regards
    Michel
    Ps : Notes fresh  for the connection in my database oracle
    i have modified CrystalReportViewer.jsp but i have an message
    "Information is needed before this report can be processed " why ?
    <%@ page import="com.crystaldecisions.report.web.viewer.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSourceFactory2" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource" %>
    <%
    CrystalReportViewer viewer = new CrystalReportViewer();
    ConnectionInfos connInfos = new ConnectionInfos();
    IConnectionInfo connInfo1 = new ConnectionInfo();
    connInfo1.setUserName("user");
    connInfo1.setPassword("pass");
    viewer.refresh();
    Object reportSource = session.getAttribute("reportSource");
    viewer.setReportSource(reportSource);
    viewer.setDatabaseLogonInfos(connInfos);
    viewer.setEnableLogonPrompt(false);
    viewer.processHttpRequest(request, response,getServletConfig().getServletContext(), out);
    viewer.dispose();
    %>
    this programmes are ok (but now i search to display a variable on my report)
    via url
    http://pa-81b36a7e9d/businessobjects/enterprise11/desktoplaunch/opendoc/view_report.jsp?sdoc=axeriatest&user=Administrator&pass=&cms=pa-81b36a7e9d
    CrystalReportViewer.jsp
    <%@ page import = "com.crystaldecisions.report.web.viewer.*"%>
    <%
         CrystalReportViewer viewer = new CrystalReportViewer();
         viewer.setName("CrystalReportViewer");
        viewer.setOwnPage(true);
        //Enable Active-X print mode. 
        viewer.setPrintMode(CrPrintMode.ACTIVEX);
        //Obtain report source of the report that the viewer will display.   
        Object reportSource = session.getAttribute("reportSource");
        viewer.setReportSource(reportSource);
        viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
    %>
    view_report.jsp
    <%
    Applies to Versions:     XI
    Creation Date:     Febuary 28 2005
    Description:
                             This sample to demonstrates how to view a Crystal Report on demand in
        *                         the zero-client DHTML viewer. 
    Author:               CW.
    %>
    <%@ page import = "com.crystaldecisions.sdk.occa.infostore.*,
                       com.crystaldecisions.sdk.plugin.desktop.common.*,
                       com.crystaldecisions.sdk.framework.*,
                       com.crystaldecisions.sdk.occa.security.*,
                       com.crystaldecisions.sdk.exception.SDKException,
                       com.crystaldecisions.sdk.occa.managedreports.IReportSourceFactory,
                       java.util.Locale,
                       com.crystaldecisions.sdk.occa.report.reportsource.IReportSource"
    %>
    <%@ include file = "logonform.jsp" %>
    <%
         String cms             = request.getParameter("cms");
         String user             = request.getParameter("user");
         String pass             = request.getParameter("pass");
         String sdocName       = request.getParameter("sdoc");
         try {
             //If logon information is required, display the logonForm and exit.
              //Create a special logon form that requests 2 Report Names
              //(code for LogonForm class is included).
              LogonForm logonform = new LogonForm(response, request, LogonForm.REPORT_NAME);
              //if (logonform.display_if_needed()) return;
              // ici doit recuperer le nom du document
              logonform.reportname[0] =  sdocName ; //"diagramme";
              //Log in.
              IEnterpriseSession enterpriseSession = CrystalEnterprise.getSessionMgr().logon(user,pass,cms,"secEnterprise");
             //Grab the InfoStore from the httpsession
             IInfoStore infoStore = (IInfoStore)enterpriseSession.getService("", "InfoStore");
             //Query for the report object in the CMS.  See the Developer Reference guide for more information the query language. 
             IInfoObjects oInfoObjects = (IInfoObjects)infoStore.query("SELECT TOP 1 * " +
                                                                                     "FROM CI_INFOOBJECTS " +
                                                                                "WHERE SI_PROGID = 'CrystalEnterprise.Report' AND SI_INSTANCE=0 AND SI_NAME='" + logonform.reportname[0] + "'" );
             if (oInfoObjects.size() > 0) {
                  //Retrieve the latest instance of the report
                  IInfoObject oInfoObject = (IInfoObject) oInfoObjects.get(0);
                  //Use the PS report factory to obtain a report source that will be processed on the Page Server.   
                  IReportSourceFactory factoryPS = (IReportSourceFactory)enterpriseSession.getService("PSReportFactory");
                  Object reportSource = factoryPS.openReportSource((oInfoObject), Locale.ENGLISH);
                  session.setAttribute("reportSource", reportSource);
                  //View the report in the standard DHTML viewer.        
                  response.sendRedirect("CrystalReportViewer.jsp");
             else {
                  out.println("Report " + logonform.reportname[0] + " not found.");     
        catch(SDKException sdkEx) {
              out.println(sdkEx);  
    %>
    logonform.jsp
    <%!
    /**************************** class LogonForm ***************************
    This logon form is used to gather the logon information needed
    to login to Enterprise
    private class LogonForm {
         HttpServletResponse response;
         HttpServletRequest request;
         int num_reports_needed = 1;
         String[] reportname;
         public static final int NONE = 0;
         public static final int REPORT_NAME = 1;
         public static final int REPORT_NAME_X2 = 2;
    Constructor - Save the response and request objects
         LogonForm(HttpServletResponse response, HttpServletRequest request)
              //this.response = response;
              //this.request = request;
    Constructor with options - Add some optional boxes to request other
                               input from the user such as reportnames.
         LogonForm(HttpServletResponse response, HttpServletRequest request, int extra_requests) {
              this.response = response;
              this.request = request;
              switch (extra_requests) {
                   case NONE:
                        break;
                   case REPORT_NAME:
                        num_reports_needed = 1;
                        reportname = new String[1];
                        break;
                   case REPORT_NAME_X2:
                        num_reports_needed = 2;
                        reportname = new String[2];
                        break;
    %>

    oh thanks but i have an error on this example  Viewingview_report_parameters
    but where is my connection to my database in file jsp ?
    thanks
    windows
    CMS  NAme  = MyCMS
    user = myuser
    pass = password
    aut = enterprise
    doc = my doc
    ok
    after enter values : i Put my values
    ok
    after click on button view report this is error
    Etat HTTP 500 -
    type Rapport d'exception
    message
    description Le serveur a rencontré une erreur interne () qui l'a empêché de satisfaire la requête.
    exception
    org.apache.jasper.JasperException
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    cause mère
    java.lang.NullPointerException
         org.apache.jsp.opendoc.CrystalReportViewer_jsp._jspService(CrystalReportViewer_jsp.java:80)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note La trace complète de la cause mère de cette erreur est disponible dans les fichiers journaux de Apache Tomcat/5.0.27.
    Apache Tomcat/5.0.27

  • SQL Developer: View menu selections Reports and Connections not working

    Downloaded latest SQL Developer May 9 updated version and my dropdown selections from the View menu for Connections, and View Reports do not work. However, Snippets does appear when selected. Hate to lose some of the User Defined reports I had created. Any help would be appreciated.

    Don't know if I get what you're saying: the entries Connections and Reports from the View menu don't work?
    On top of the connection tree, if you get one, aren't there the two tabs with these options?
    If you're unable to view the whole tree, you're installation would be corrupted. Install from scratch in a separate folder, first without migration to see if that resolves the issue. Then you could do the same with migration to retrieve all previous settings and connections.
    K.

  • Creating report from 2 separate database

    All,
    Is there a way to create a report using the "Crystal Reports" plugin for Eclipse to select data from 2 separate databases.  I've joined the 2 tables on the data tab and added some of the fields to the layout tab.  Below is the SQL that has been generated thus far:
    jdbc:db2://localhost:50000/PS2Tx
    SELECT "BC_INFO"."BC_STATUS", "BC_INFO"."BC_START_TS", "BC_INFO"."BC_END_TS", "BC_INFO"."BC_ID" FROM   "PAYMENT"."BC_INFO" "BC_INFO"
    EXTERNAL JOIN BC_INFO.BC_ID={?jdbc:db2://localhost:50000/BPRQx: TRANSACTION.BATCHCLOSE_ID}
    jdbc:db2://localhost:50000/BPRQx
    SELECT "TRANSACTION"."TRANS_TIMESTAMP", "TRANSACTION"."BATCHCLOSE_ID" FROM   "FAWLS"."TRANSACTION" "TRANSACTION" WHERE  ("TRANSACTION"."TRANS_TIMESTAMP">="BC_INFO"."BC_START_TS" AND "TRANSACTION"."TRANS_TIMESTAMP"<="BC_INFO"."BC_END_TS")
    The values from the PS2Tx database will be displayed as the first page of the report, which will then allow drilldowns to the details which will come from the BPRQx database.  If I preview the report as it currently is I receive the following error:
    JDBC Error: DB2 SQL error: SQLCODE: -206, SQLSTATE: 42703, SQLERRMC: BC_INFO.BC_START_TS
    I'd really appreciate any help or guidance anyone could provide?
    Thanks,
    Todd

    All,
    We've made changes to the report and I've gotten around this issue by using a subreport linked to the main report.
    Thanks,
    Todd

  • Need To Trace Reports Server Connection to Database

    Hi,
    A customer is getting intermittent "Unable to connect to database" errors when running Oracle Reports.
    We have tried teaking the Reports server's configuration, but the errors are still occuring.
    I know how to set up a trace on the Reports server, but wonder how best to trace the server's connection/attempted connection to the database.
    Is it possible to trace attempted connections?
    Database is 9i 9.2.0.6, Reports server is OracleAS 10g 9.0.4.2.
    Any suggestions greatly appreciated.
    Jim

    There is a parameter SQL_TRACE which you can turn on and it will start tracing all the sessions at database level which is not preferred way. You need to enable the trace for only report server sessions for troubleshooting and you can do this by enabling the trace in specific sessions. You can do something like this:
    Connect to database using report server
    On the server identify the sessions belongs to report server connection
    Enable the tracing for those sessions by using:
    SQL> exec dbms_system.set_sql_trace_in_session(SID,SERIAL#,true);
    You can find the SID and SERIAL# (if your report server session) in V$SESSION view in database.
    Then find the trace files in path defined user_dump_dest parameter. After getting the trace file use TKPROF to parse it. Just type at command prompt:
    tkprof abc.trc abc.txt
    It will convert the trace file into readable format.
    Best Of Luck.
    Daljit Singh

  • How to create Reports and Forms using JSP

    Hi,
    How to create reports using JSP. And how many types of reports can be created using JSP.Can anyone explain with example please.
    Thanks,
    Vijayalakshmi.M

    Here is some code that creates xml for any SQL that returns a ResultSet. Note this uses my default out-of-the-box XML template, but you can quickly create and use your own templates to generate xml to look anyway you desire.
    FormattedDataSet fds=FormattedDataSet.createInstance();
    Map miscData=new HashMap();
    map.put("rootElement", "musicgroups");
    String xml=fds.getFormattedDataSet("select * from groups", miscData, "xml1");
    String xml has the value:
    <musicgroups>
    <row rowID='1'>
      <group_id>1</group_id>
      <group_name>Rolling Stones</group_name>
      <type>Rock</type>
    </row>
    <row rowID='2'>
      <group_id>2</group_id>
      <group_name>Beatles</group_name>
      <type>Rock</type>
    </row>
    <row rowID='3'>
      <group_id>3</group_id>
      <group_name>Led Zepplin</group_name>
      <type>Rock</type>
    </row>
    </musicgroups>steve -
    http://www.fdsapi.com - The easiest way to generate dynamic HTML and XML
    http://www.jamonapi.com - A performance tuning and scalability measuring API

  • Create Report and Export it ?

    Hi,
    I just want to know if it's possible to export created Report on the OEM 10.2.0.2.
    In fact, I created some new report, and i would to use them on some other server !
    Thx.

    Hi, have you found a solution for this, I am searching for this as well.
    Thx.

  • Create object and link to database in acrobat

    i am using visual studio and creating a C# application in .net. i am looking to allow users to open a pdf document and then use a custome symbols library to trace out objects on the pdf. the object i would like to attach to a database to extract the data from. is this possible

    Sorry, I don't understand what you want to do. Especially "trace out objects on the pdf" - what sort of objects and what do you mean by "trace out"?
    Also note that Acrobat is absolutely not for use on a server.

  • Running JavaFX as client and connecting though Database

    Hello,
    I am searching for the feasibility of JavaFX for a client.I want to run JavaFX on client machine(can be multiple clients) and through some middle layer I want to connect it through database server etc.
    How is this possible.?

    csh wrote:
    I guess you find plenty of samples in the net on how to use a WebService from a pure Java client.If one knows to look for the JAX-RS (reference implementation: Jersey) or JAX-WS (reference implementation: Metro) APIs. I'd prefer JAX-RS because it is very easy to use, IF you take the time to read up about RESTful webservices.

  • Fixing Fan Noise Created Keychain and Connectivity Problem

    This will kind of be long so bare with me...
    I occasionally will get the dreaded "fan running out of control/noise" scenario with my Power Mac G5 Dual 2Ghz (Mac OS 10.5.6). I usually run through the usual steps, re-set PMU switch, re-set nvram, run repairs with Disk Utility, boot up under a different startup disk, etc. Eventually something works and the fan returns to normal. This time around none of those steps worked but after 20 minutes the fan went back to normal by itself. Go figure...
    At the same time this was happening, my computer would not connect to the Internet. The router's (which is connect to a cable modem) status lights said I was connected but my computer could not automatically get the DHCP information nor could it reach the router's control panel via Safari. I have a PC also hooked up and it was connecting to Internet fine and it was able to access the router's control panel via Firefox. At this point, I was hoping the ethernet hardware was not going bad.
    Not only that, I could not access my keychain formation. When I selected any items and tried to show password, it gave me the error message about unable to access keychain item. I ran First Aid on the Keychain and it reported no problems.
    My main startup disk is running Mac OS 10.5.6. This version of the OS has been running fine for the past couple of days before all this happened. I have a second startup disk which has Mac OS 10.4.x installed. I tried to boot up with that startup disk (OS 10.4.x) and the computer was able to connect to the Internet fine. That ruled out the hardware. I booted up with the main disk (OS 10.5.6) again. Surprisingly enough I had Internet connectivity again. My keychain was almost back to normal. The only problem is that for any item I select to show password for, a pop up window appears saying "Keychain Access wants to user your confidential information stored in "xxxxx" in your keychain. Once I select the Always Allow button the information is displayed.
    So my questions are:
    1. Why did my computer "refuse" to connect to the internet in this odd manner?
    (BTW -- I am using OpenDNS with the router, could this have contributed to the connectivity issue?)
    2. Why did booting up with a different startup disk seemingly corrected the problem?
    3. In the Keychain, is there a way to apply "Always Allow" as a group instead of one by one?
    4. Is this an unforeseen side effect of updating to OS 10.5.6?
    5. Could any of this have been avoided?
    Thanks.
    Message was edited by: Carlton Chin
    Message was edited by: Carlton Chin

    FYI to all the helpful folks here (and any looking to shut their jet engine off as well): Flashing the BIOS did the trick.
    First I had to find a website with DOS OS files and put those on the USB instead of Vista.  Oldie but a goodie, but at least it booted! No other versions would.
    I had been intending to use the WinPhlash utility that Lenovo supplied with the BIOS update but since I was booting from DOS that was useless. However, I found a DOS version of it and used that instead. Boom baby!  Flashed and rebooted. 
    It did take two boots to get it back to normal (first one gave very alarming messages about no operating system being found but I think it was just a remnant of the reboot that was triggered from the DOS session).  A second boot returned life to normal and blissful silence from the server.  And I was finally able to get the model and serial number back in there to get rid of the bootup message it throws for that too.
    Ahhhhhhh. 
    Thanks to all for the hints - I believe I had gotten the idea of flashing the BIOS to solve this from some other thread I found here.  This is a very nice forum to have bookmarked.  

Maybe you are looking for