Run a dummy report without a database connection

hi,
I want to run a dummy report, so i dont want to connect to a databse. Is it possible to do this because when i create a report (report only contains some display items and some text fields but they are not connected to any table, and in the data model, there's no query created) in Report builder and run it Report builder always asks for username,password....if i cancel this then the report wont run.
Is there any other way to run a dummy report, without requiring a databse conection?

This is not possible with Reports 6i. It is possible with Reports 9i.
Regards
Sripathy

Similar Messages

  • Opening multiple reports in Crystal Reports for VS causes database connect limit to be reached.  Seems to be no way to force Crystal Reports to close database connection (other than exiting application)

    I am working on upgrading an application that has been in use for many years.  The application is written in VB6 and I have been tasked with upgrading the current application to Crystal Reports for Visual Studio.  I am using Crystal Reports for VS Version 13.0.12.1494.  The system's database is a Sybase SQL Anywhere 16 database with an ODBC connection using integrated login.  Each of the reports has the database connection set up from within the report.  There is only once database server, so each of the reports are pointing to the same DB.  The database server is currently installed as a "Personal Server" with a limit of 10 connections. 
    I have implemented the CR viewer as part of a COM-callable wrapper that exposes a COM interface for VB6 to interact with.  Inside of my viewer component is a Winform that embeds the Crystal's Report viewer.  The COM interface basically maps the basic Crystal apis to methods that the VB6 can call (i.e., Load Report, Set Field Text, Update SQL Query, etc).  This architecture is working as designed and the reports are displaying correctly and responding correctly to changes in queries, etc.
    The issue is that after I open 9 reports, the tenth one will respond with an error indicating that the database connection limit has been reached.  The database connections used by the reports aren't released until after the application is closed.  The application is designed for a secure environment that prohibits the non-administrative user from accessing the systems desktop, so asking the user tor restart the application after 10 reports isn't a viable option.
    I have checked and database connection pooling is turned off for the SQL Anywhere 16 driver.
    I have been digging on this for a few days and have tried adding code in the FormClosed event to close and dispose of the Report Document as follows:
    ReportDocument reportDoc= (ReportDocument) crystalReportViewer1.ReportSource;
    reportDoc.Close();
    reportDoc.Dispose();
    GC.Collect();       // Force garbage collection on disposed items
    I have also tried the following (as well as maybe 20 or so other permutations) trying to fix the issue with no success.  
    ReportDocument reportDoc= (ReportDocument) crystalReportViewer1.ReportSource;
    foreach (Table table in reportDoc.Database.Tables)
         table.Dispose();
    crystalReportViewer1.ReportSource = null;
    reportDoc.Database.Dispose();
    reportDoc.Close();
    reportDoc.Dispose();
    reportDoc = (ReportDocument)crystalReportViewer1.ReportSource;
    GC.Collect();       // Force garabe collection on disposed items
    Any ideas or suggestions would be greatly appreciated.  I have been pulling my hair out on this one!

    Hi Ludek,
    Thanks so much for the quick reply.  Unfortunately I did not have time to work on the reporting project Friday afternoon, but did a quick test this morning with some interesting results.  I'm hoping if I describe what I'm doing, you can show me the error of my ways.  This is really my first major undertaking with Crystal Reports.
    If I simply load the report, then close and dispose, I don't hit the limit of 10 files.  Note that I do not logon manually in my code as the logon parameters are all defined within the reports themselves.  The logon happens when you actually view the report.  Loading the report doesn't seem to actually log in to the DB.
    What I did was create a very simple form with a single button that creates the WinForm class which contains the Crystal Viewer.  It then loads the report, sets the ReportSource property on the CrystalReportsViewer object contained in the WInForm and shows the report. The report does show correctly, until the 10 reports limit is reached.
    The relevant code is shown below. More than I wanted to post, but i want to be as complete and unambiguous as possible. 
    This code displays the same behavior as my earlier post (after 10 reports we are unable to create another connection to the DB).
    // Initial Form that simply has a button
      public partial class SlectReport : form
            public SelectReport()
                InitializeComponent();
            private void button1_Click(object sender, EventArgs e)
                ReportDocument rd = new ReportDocument();
                ReportForm report = new ReportForm();
                try
                    rd.Load(@"Test.rpt");
                    report.ReportSource = rd;
                    report.Show();
             catch (Exception ex)
                  MessageBox.Show(ex.Message);
    // The WinForm containing the Crystal Reports Viewer
        public partial class ReportForm : Form
            public ReportForm()
                InitializeComponent();
            private void Form1_Load(object sender, EventArgs e)
                this.crystalReportViewer1.RefreshReport();
                this.FormClosed += new FormClosedEventHandler(ReportForm_FormClosed);
            void ReportForm_FormClosed(object sender, FormClosedEventArgs e)
                ReportDocument rd;
                rd = (ReportDocument)crystalReportViewer1.ReportSource;
                rd.Close();
                rd.Dispose();
            public object ReportSource
                set { crystalReportViewer1.ReportSource = value; }
    Again, any guidance would be greatly appreciated. 

  • Can we Run 10g Forms & Reports without Application Server

    Currently We are using form 5 and reports 3.5
    we are willing to upgrade .
    we are told that we can upgrade only to 10g developer suit
    and for that Application Server is must
    Our requirement is for LAN based application only
    Do we have to go-in for application Server
    DOes the 10g forms and 10g reports have Form server /report server which can help us to run application using Browser but without IAS
    CK

    Chaand,
    for production environments you must run Forms and Reports through Oracle Application Server as there no longer is a client-server runtime. For development puposes tehre is a HTTP server in Oracle Developer Suite that is used to run both servers.
    Frank

  • How to work offline without the database connection

    The first thing that make me do not like this tool is it is not possible to work offline or at least that I find out easily.
    Why should I need the database connection to write PL/SQL, SQL or whatever.

    Thanks Duncan,
    I want exactly what I said. To have the ability to modify the PL/SQLor SQL code, of course stored in the local file system or some kind of version control system.
    This happens because I was at home and could not create stupid file to just put main methods and SQL's I want while not having the connection.
    I do not want to use 3 different tools to do simple things. I am expecting from this tool to do all things for me that are meaningful as I am in Oracle more then 10 years and know exactly how robust Oracle tools are usually covering more then simple things.
    Offline work is more then simple requirement.
    Source control is more then simple requirement as sql developer is extracted from JDeveloper.
    It is so obvious that it is not possible to modify PL/SQL code inside the database without having the connection :)
    What are you doing when the database is not available or you need to work from home and no VPN or so, in the plane (never did that but there are people that will do), ...?
    Both TOAD and if you want SQL*Plus can do it without connection of course.
    sqlplus /nolog will do it :)
    Oracle SQL*Developer is the same but you need first to create manually some SQL or other file somewhere and then open it.
    While we are here SQL*Developer is not source control aware and that is not good.

  • Cannot get  SQLQueryString from crystal report if no database connection..

    Hi,
    I am using craxdrt.dll to create a crystal report object.
    I want to get the SQLQueryString used in crystalreport even if i dont have databse connection or even database on my local computer.
    How can I do this?
    Is there any other way to do this without connecting to database?
    I just want to  read its SQLQueryString Property.
    Please Help me.
    I am in need of it.

    The Clear answer is NO, as I said, only way to get the SQL is to connect to a DB of some type.
    As a work around you can get the SQL if you have a dummy database to connect to. But you do need to know what type the report was designed off of or you take the chance of getting incorrect SQL. We can help you a bit here. Using the RDC you can get 2 DB types:
    crSQLDatabase or crStandardDatabase, first one is if the report was designed off a SQL database like
    MS SQL Server or Oracle etc and the second one is if it's based on a PC type like Access or Dbase. Although if it is PC based there may not be any SQL to get unless the PC DB supports SQL queries. If they don't then no SQL can be returned.
    Is there a specific reason why you need to get the SQL?
    Thank you
    Don

  • Crystal Reports and Access database connection error

    I had this in a different forum with no hits, so I am trying this one.
    A person that I work with has multiple reports set up that pulls from an Access database that is password protected. When we moved everything over to a new computer, those reports now say that it cannot access the fields inside the database. It never pops up with a login screen either, like it does on the old computer. I played around with the ODBC, with no luck, couldn't get anything to work. I have also tryed relinking the database, but I keep getting connection problems. We are on a network, so her settings should have all moved with the new computer. Along with the database and the reports being on the server, so they were never moved. I am thinking it has something to do with a system file.
    I also found this document on this site, but cannot find the download it mentions, sounds similar to my problem.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/208b8fe5-681e-2b10-d2bb-b201f266d0ab
    Does anybody know how to fix this without the utility mentioned in the above link, or know where I can get the utility??
    We are using Access 2007 and Crystal Reports 7.  The database is not save as an Access 2007 database, but a regular mdb.
    Please Help!

    Post Author: ejthunder
    CA Forum: Crystal Reports
    Hello Chris,
    Crystal Reports does not store the database password with the RPT file.  This is by design (Crystal is not a database security product).  This is true of all versions of Crystal Reports.
    If your users need to see fresh data when opening the reports then they will have to log in by providing at least the password.
    You can send reports with Saved Data that won't try to hit the database, but the data won't refresh either.  To save data with the report go to the File menu and click next to Save Data with Report.  Refresh the report and then save it.  The report will now have saved data and won't try to hit the database when opened.  If the user hits the refresh button then they will get prompted to log into the database.
    I hope this helps.
    EJ

  • Database connection lost during running report

    Hello Experts, Our environment is WINDOWS2008 SERVER / ORACLE 10G / ORACLE REPORTS.
    The problem we are facing is , while running one of the particular reports which runs oracle reports , connection to database server gets lost. Acturally the form is printing a
    bar code label, this is performed by running oracle reports runtime 10g. I dont know what is the reason the database connectivity gets lost from reports runtime engine. But the form runtime engine working fine without any database connectivity issue. Kinldy help me to resolve this issue. thanks

    Please, close this thread and open a new one in the correct forum.
    Reports

  • Database connection lost during report

    Hello Experts, Our environment is WINDOWS2008 SERVER / ORACLE 10G / ORACLE REPORTS.
    The problem we are facing is , while running one of the particular reports which runs oracle reports , connection to database server gets lost. Acturally the form is printing a
    bar code label, this is performed by running oracle reports runtime 10g. I dont know what is the reason the database connectivity gets lost from reports runtime engine. But the form runtime engine working fine without any database connectivity issue. Kinldy help me to resolve this issue. thanks

    Hi,
    1- what is the Reports version being used?
    2- What is the error you are getting?
    3- Have you tried to enable reports trace and see what is happening in trace file?
    Thanks, Roberto

  • Dynamic Parameter Prompting for Database Connection Password

    Post Author: rsharp
    CA Forum: Publishing
    Hi
    I've been finding recently that reports using dynamic parameters and published into Crystal Server prompt for the database connection password when the dynamic parameter is accessed.  Thing is, this only started happening recently for new and already existing reports with dynamic parameters and I don't know why.  In Crystal Reports the dynamic parameter can be accessed without a database connection prompt being displayed but not after publishing.  (Maybe there's a problem with the Publishing Wizard?)  Static parameters work just fine just as they always have, but I'm a bit mystified by the fact that dynamic parameters used to work (without prompting) but now they don't.  Any advice or opinion would be much appreciated.

    Post Author: amr_foci
    CA Forum: Publishing
    from the CMC you have to set the default connection or wat connection should this report use,
    go to this report in CMC, click process tab, and check the connection

  • How to run Discoverer 10g report from unix command line

    Hello Experts,
    I am aware that discoverer report can run through command line using "dis51usr.exe /connect username/passward@connection_string /opendb "DISCOVERER.<<report name>> /export xls"".
    Can we run discoverer 10g report (stored in database) from server location / unix command line? Is there any command?
    Please assist. Thank you.

    Hi Tamir,
    Can you please mention from where we have to execute/run these commands? After setting enviornmental variable, are these commands run from any location or we have to go to particular server location and then execute (ex. from directory BI or else).
    Thank you.

  • Web-Intelligence Reports against Access Database

    We are unable to run Web-Intelligence reports against Microsoft Access Database which resides on a network drive
    Able to create Unvierse, and Universe Connection to the Access Database through ODBC, but unable to run Web-I reports, when tried we get the following error
    A database error occured. The database error text is: [Microsoft][ODBC Microsoft Access Driver] '(unknown)' is not a valid path.  Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.. (WIS 10901)
    Did anyone tried to develop Web-I reports from Access database on a network drive, if so I request you to provide us details and your findings
    Thank you

    We run the designer on the same machine where BOBJ runs and also on other client machines, from disigner it works fine,
    The service account which is used to run BO Application Services has full control access to the network location and folder where the database resides
    We can run / refresh Desk-I and Web-I rich client but cannot run web-i reports against access database
    Thanks
    Sreekanth Pinnam
    Edited by: Sreekanth Pinnam on Jul 9, 2009 2:07 PM

  • How to run the same report at report runtime?

    i have this report that is automatically run when choosing the icon at reports runtime.
    its it possible that i can run the same report without having to exit the runtime?! can i display the run button on the toolbar?
    i need help on this! thanks

    What
    about still running ONE report, but every supplier starting on a new page? Is that more realistic? So supplier will not be a parameter any more, but just something that creates a new page on the report?
    Yes thats a much better option. Its very easy to generate such a report in SSRS. You dont need a parameter
    in that case but just needs to add Supplier as a grouping field in the tablix. Then add other columns and groups if required. Select option set page break after each instance of the group for first grouping (ie based on supplier field). Then report will render
    with one page per supplier. On exporting to excel also each supplier data goes to a different tab
    Here's a similar requirement I did for one of my projects
    http://visakhm.blogspot.in/2013/10/using-ssrs-to-export-sqlserver-data-to.html
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Printing Reports without connect  database

    May I do a reports without connect database ?

    In 2.5/6i you need a database connection to run a report.
    In 9i there are some pluggable datasources (text, XML, JDBC) with their own connections. Since the Text/XML pluggable datasources don't require a connection you can now create a report that runs without a connection but still reports on data.

  • I run Dev 6i on Windows 2008 R2 64-bit,the forms are working fine after connection to the database but the reports continue to request for username, password and database connection string every time i try to open a report.

    I receive REP-0501: Unable to connect to specified database. I run developer 6i application on windows 2008 r2. I have applied the nn60.dll and nnb60.dll files to the \BIN directory. The forms are working fine. The reports will only display after the correct user id (username, password and database connection string) is supplied. This is happening to all attempts to open already complied form. Pls, help.

    If you are connecting to an Oracle 11g database, remember that by default the passwords are case sensitive. To disable that, run
    ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE;

  • Need help Crystal Reports running in BO 4.1 while using Universe as database connection.

    Sorry, I may not know how to describe this in the correct technical manner, but I'll explain in as simple terms as I can.
    I open up Crystal Reports 2013 click new document
    and it begins to ask for Database Expert.
    I select Universes and log in to my Business Objects Enterprise Explorer.   I then select the Universe that I want to write my report with,
    then i save the rpt on my local machine.
    then I log into my Business Objects 4.1 CMC or BI and upload this rpt file so that I can begin to schedule the report for example...
    but the problem i have is whenever I try to run the report, 
    it asks for a prompt for my database connection...  
    it displays the Universe name, but User Name Password, I am not sure what to write,
    do I write My login for Business Objects?  do I write the user name password of the database that Universe uses?
    in CMC I see a database configuration,  I tried many combinations and still have been receiving the following error message
    The viewer could not process an event. The database logon information for this report is either incomplete or incorrect. []
    ---- Error code:0 [CRWEB00000119]
    From all I read the point of using the Universe in Crystal reports is to be automatic in such a way that it doesnt need the database conneciton, because its technically using the Universe as the database connection....
    so what am I doing wrong here?    maybe its my database configuration,    I keep reading that it doesnt need anything...   that you upload the Crystal Reports and it would just work...
    any help with this issue would be greatly appreciated..
    thanks
    -Daniel

    Hi Daniel,
    What is the reporting DB used?
    The trick with your configuration is the following:
    - Universe Designer: 32bits application that may work fine on your desktop
    - Crystal 2013: 32bits application as well
    - When you export to the repository, Web Intelligence (64bits) has to process the Universe to extract the query.
    Your server should have the drivers required for Crystal + Universe: 32bit and 64bit versions.
    See more details on this KBA:
    https://service.sap.com/sap/support/notes/1821625
    Regards,
    Julian

Maybe you are looking for

  • Download problems with photoshop elements

    i bought photoshop elements 11 today and it won't download. I want my money back if it can't be done tonight as I am on a photo course

  • Oracle Developer Suite Applications Can't  connect to Oracle 8i database

    Hello, I have Oracle 8i installed on my PC. Now I have installed Oracle Developer Suite on it. During the installation it never asked for a Oracle home directory. It may be detecting the same. It has created separate menus and configuration files lik

  • Cannot enlarge text in sample book, is this normal?

    Downloaded sample of new George Harrison and found that I cannot enlarge text. Is this a normal issue with sample books? I'm new to using iBooks.

  • Can't change path to JVM

    Hello all, I recently installed the latest JDK (jdk1.5.0_14), but when trying to start a server the path defaults to a previous JRE path (jre1.6.0_03), and so I get the error that there is no server VM in that directory. I've added the JDK path to th

  • EVENTS in Classical ALV

    Hi, I want to know the Purpose of using the below Events in Classical ALV (if possible with example). 1. CALLER_EXIT 2. REPREP_SEL_MODIFY 3. top_of_coverpage 4. END_OF_COVERPAGE 5. TOP_OF_FOREIGN_PAGE 6. END_OF_FOREIGN_PAGE 7.SUBTOTAL_TEXT Thanks in