Running a report in Crystal

Post Author: jacquie
CA Forum: Desktop Intelligence Reporting
anyone has a solution for this error:
An error has occurred: The viewstate is invalid for this page and might be corrupted.

Hi Vilari,
Do a small test to test your connection.
-Right Click on desktop ->
Create new text document->
Save as test.UDL->
double click and test connection by selecting driver name,datasource name,user id and password.
Click on Test Connection.
It should be succeed.
Database Vendor Code is the error returned by the database client/server.Its not a Crystal Report Error.Check Microsoft's web site for more info on what that error means.
Likely the client has not been in stalled or configured or both.
Also check that proper DSN is configured or not.
As you are using Oracle make sure that a TNSNAMES.ORA file exists and is in the proper place and accessible. See the operating system specific manual for details on the required name and location.
Check to see that the service name exists in one of the TNSNAMES.ORA files and add it if necessary.
Make sure there are no syntax errors anywhere in the file. Particularly look for unmatched parentheses or stray characters. Any error in a TNSNAMES.ORA file makes it unusable.
Hope this helps
Regards,
Shweta

Similar Messages

  • Error when running a report in Crystal Reports Server 2008

    Received the following error message:
    Error in File Relatorio4: Failed to load database information.
    Or
    Error
    Failed to open the connection. Relatorio4 Details: [Database Vendor Code:
    12154 ]
    I'm trying to run a report Crystal Reports 2008 in Crystal Reports Server 2008.
    I use the native driver for Oracle (Oracle Server).
    Any help would be appreciated!

    Hi Vilari,
    Do a small test to test your connection.
    -Right Click on desktop ->
    Create new text document->
    Save as test.UDL->
    double click and test connection by selecting driver name,datasource name,user id and password.
    Click on Test Connection.
    It should be succeed.
    Database Vendor Code is the error returned by the database client/server.Its not a Crystal Report Error.Check Microsoft's web site for more info on what that error means.
    Likely the client has not been in stalled or configured or both.
    Also check that proper DSN is configured or not.
    As you are using Oracle make sure that a TNSNAMES.ORA file exists and is in the proper place and accessible. See the operating system specific manual for details on the required name and location.
    Check to see that the service name exists in one of the TNSNAMES.ORA files and add it if necessary.
    Make sure there are no syntax errors anywhere in the file. Particularly look for unmatched parentheses or stray characters. Any error in a TNSNAMES.ORA file makes it unusable.
    Hope this helps
    Regards,
    Shweta

  • Error '80070002'  when running report with Crystal 9

    Hi,
    A client of mine is using Crystal 9 designer and RAS. We are trying to get them to upgrade but in the mean time when ever we create a new report we get the following error:
    Error '80070002'
    (there is also a random file path but can't show this for privacy reasons)
    From what I can make out the current set up appears to be ok: they have the correct SDK files in the right place on the production application server.
    These files point to the RAS which sits on the QA application server. 
    When we run the report through Crystal designer the reports runs fine, however when we run it through our HR application we get the above error.
    Strange thing is though all of the pre-existing reports work fine...which is why I think the set up must be correct otherwise none of the reports would run, this is only happening with new reports we are trying to create.
    It's like the page tries to connect to the RAS but gets kicked out.
    I've tried seraching this and other forums but have not seen anybody else with this error.
    Any one got any ideas?
    Many thanks in advance

    Moved to .NET BOE SDK forum ( assuming this is a ASP.NET app )
    First thing to try is to turn logging on for RAS, stop the RAS server and add "-trace -crpetrace 7" ( I think these worked for RAS 9 ) and then look in the logs to see what the actual error is reported by CE 9. The error you posted is a COM error.
    Next we need to know if this is a WEB app or Windows App and what Dev language you wrote it in?
    What happens if you create a New report using the same database tables and info?
    Thank you
    Don

  • Error when running a report on CMC

    Error in File Maintenance Costs by Work Code: Max processing time or Max records limit reached .
    I can run this report through Crystal Reports 9 installed on my desktop and do not have any problems having data returned.  However, when I upload it to the console and try to run it through CMC I get the above error.
    Any suggestions?

    Thank you for your help.  I had to make a change in the CR Processing Server so your answer put me in the right direction. 
    We are using CR Server 2008.
    I had to set the value at 0 for Database Records Read When Previewing or Refreshing (0 for unlimited):
    Thank you again!
    Lisa
    I also had to make a few other changes as well.
    Edited by: Lisa Beggs on Jul 1, 2009 3:59 PM

  • Missing column at the end of report in Crystal report server 2008 VI

    When we run the reports in Crystal report server 2008 VI, for some reports we see the last column is missing some characters. I have few reports that show numbers with decimals at the end of the report, but in CMC it cuts the number at the start of the decimal. I only see the numbers upto the decimal. When I run the same report in Crystal designer, everything works fine.
    I had the same problem with CR developer 2008 and I used the following code to fix it:
    Private Sub SetMargins(ByVal myReportDocument As ReportDocument, ByVal left As Integer, ByVal top As Integer, ByVal right As Integer, ByVal bottom As Integer)
            Dim myPageMargins As PageMargins
            myPageMargins = myReportDocument.PrintOptions.PageMargins
            myPageMargins.leftMargin = left
            myPageMargins.topMargin = top
            myPageMargins.rightMargin = right
            myPageMargins.bottomMargin = bottom
            myReportDocument.PrintOptions.ApplyPageMargins(myPageMargins)
        End Sub
    Any help is greatly appreciated.

    HI Don,
    Install the same default printer as what you have onto the CRS server then what you should be the same. Also, which viewer are you using, ActiveX, DHTML or Java on the CRS Server?
    Thanks
    Don

  • Error running reports from Crystal Server XI R2 with datasets

    Hi, sorry if my english is not good. I'm from Spain.
    I have a problem. I'm programming with Visual Basic .NET 2008.
    I'm using Crystal Reports Server and programming under Visual Basic to take reports from crystal Server, changing the tables from the report to datasets and scheduling this report.
    Crystal server change connections to CrystalReports.Dataset.
    Preview reports from server sends me an error "DataBase connector unknown"
    If I run this report (with datasets) into my VBNET application (into a  CrystalDecisions.Windows.Forms.CrystalReportViewer control), IT WORKS!!!
    I need help because I need to schedule these reports (to send them by email, export to PDF formats, ...)

    Reporting off of a dataset is reporting off of a disconnected datasource.  The reason your application works is beacuse you most likely populating a dataset in your application and passing it to the report at the same time.  When scheduling, there is no interaction with the report so unless the report is using an xml file on disk as its datasource, how can it retrieve data?
    To get around this, you can build a dll (.net data provider) that returns either a dataset or datatable and point your report to this dll.  this way, when the report is executed, it loads the dll which fetches the data for you.
    - so the first step is to compile a dll that returns a dataset or datatable.
    - to design your report off of this dll open the database expert and create a new ADO.NET connection.
    - in the File Path area, click the ellipsis ("...") button to browse to your dll and make sure the selected File Type is ".Net DataSet Provider".
    - once the dll is selected, you can choose the dataset/table returned by the dll.
    If your method in the dll is parameterized, it will add a parameter to the report (similar to stored procedure parameters.
    note: the location of your dll must be in the same path on the CR Server as it was when you designed your report in order for it to be loaded correctly.  I usually put the dll in a folder that I know will exist on both machines.
    Dan

  • "Failed to open report" error while running reports using Crystal Report

    We have a web application develeoped in ASP.Net, SQL Server 2005 , Crystal Reports 10.0. Sometimes if a large number of users run reports from their individual nodes they receive an error "Failed to open report ", if we restart the IIS they are able to run the reports. In addition to this the users also sometimes get the error "Maximum Report limit attained". Can any one provide me with a solution other than restarting the IIS.

    Hi,
    Use the close and dispose method for Report object. Its a best practice to code also gc.collect for garbage collection.
    It might help you!!
    Regards,
    Amit

  • Save Crystal 2008 report as XI -- or can you run 2008 report in XI?

    Hi,
    Is it possible to save a report created in Crystal 2008 report as an XI verion? 
    If not, is it possible to run a report created in Crystal 2008 report in XI and Crystal Report Server XI if none of the new features in 2008 are used?
    I want to purchase an additional copy of the application, and am trying to decide which version I can use when the bulk of the reports are run on CRS XI...
    - JD

    Good feedback, I've a couple of  things I'm still curious about...
    1. Does the warning pop up every time you open the report created in 2008 in XI? 
    2. Including on the XI REPORT SERVER rather than the desktop client?
    I ask as I'm concerned that if I create reports and upload them to the XI server it'll cause no end of user annoyance if they have to click through a warning message every time the want to run/load the report.

  • Data missing in InfoView report but Crystal Report runs fine on my PC

    I have created a Crystal Report (XI) which combines data from 2 datasources. Firstly from a postgres db (connected to by ODBC) and second from an Informix db (connected to by ODBC).
    The report runs fine on my PC but when I publish the report into Business Objects XI and run the report in InfoView, the report runs successfully but displays no details rows. The title, page headers, group headers all display but no data detail rows are shown. There is no conditional suppression on the details section of the report.
    The ODBC drivers install ed on the Business Objects XI Enterprise server are the same as the ones on my PC.
    If the report is adapted to only use just one of the datasources then it displays the data fine in Business Objects. So it is just when the datasources are compbined in one report that the data is not displayed.
    Any Ideas?
    Keith.

    Post your question to the Business Objects Forum

  • Unable to Run Report on Crystal Reports Server 2008

    I have a weird issue with one particular report. The report is quite basic in which it dumps all of our patients via a single table from SQL Server. There are no parameters or select experts. The report has been written to group by the patient's SSN. I then have a formula written that hides all of the patients that only appear once under that SSN. Basically, the report is only displaying patients with duplicate SSN. The report works fine inside of Crystal Reports 2008. There is approximately 137,000 rows and after the formula to only show duplicates, it shows about 900 records. This report takes only 6 seconds to run inside of Crystal Reports 2008. However, when I upload the report onto Crystal Reports Server 2008, the report starts to load and then I get a message from Internet Explorer that says  "Stop Running this Script." If I continue to let the script run, Internet Explorer grows to use 3.6GB of memory and the report never loads. I am not sure why this is the only report that is having a problem. Is there some maximum number of groups that Crystal has?

    I have checked the following directories and I haven't been able to see any errors related to my problem. I checked C:\Windows\system32\logfiles and C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\logging. However, if I schedule the report, it works just fine. I just can't run the report on demand without receving the "Stop Running Scripts" error.

  • Run a report developed on Crystal Reports XI from java

    Hi,
    I am trying to run a report developed on Crystal reports XI from my Java Web Project.
    I used the configuration specified in:
    http://businessobjects.com/pdf/dev_zone/crxi_java_startup_guide.pdf
    but I am getting the error:
    "com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: There is no server specified.---- Error code:-2147217390 Error code name:serverNotFound"
    when the code reaches the line: oReportClientDocument.open(reportName, 0)
    I am using Eclipse as SDK and Tomcat as Webserver.
    Thanks for the help.

    can i use it In J2SE
    if yes where i download it.also some link for reading

  • How run stored procedure in Crystal report?

    I have table from query in report, but first I need to run stored procedure in report.
    How I need to do it?

    previous post not correct
      this is correct
    When I need to run my report
    1) I need to run storeed procedure ( the stored procedure will update some tables)
    I just used Add Command and added stored procedure in Database Fields, but I think the procedure doesn't work in report. Maybe I need add new commant and write there:
    exec ProcedureName par1 par2
    or
    exec ProcedureName (par1={?parameter1} par2={?parameter2})
    It's doesn't work. What I need to do?
    2) I use some query in report
    ex.
    select t1.col1, t2.col2, t6.col3 t1.col7 t4.col1
    from t1, t2, t6, t4, r4, ju, hh
    where hh.col11={?parameter1}
    and ju.col3=6
    and r4.col3={?parameter2}
    group by .....
    order by ......
    How I need to create me report? What I need to do first?
    If parameter in stored procedure par1={?parameter1} in query
    and par2={?parameter2}

  • Run a report as output format "MS Word" under Crystal Report Server 11 R2

    May I confirm any patches I can download to fix the problem ?
    The problem is if I set the output format as MS Word 2003/2007 instead of crystal report when "Schedule" a report in Crystal Report Server. I found a problem all reports cannot be show on the browser (with error message "Error on page." at the bottom of browser). I need quit the infoview and login again.
    Thanks for your kindly help

    Hello Wallace,
    I recommend to post this query to the [BusinessObjects Enterprise Administration|BI Platform; forum.
    This forum is dedicated to topics related to administration and configuration of BusinessObjects Enterprise, BusinessObjects Edge, and Crystal Reports Server.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all BOE Administration queries remain in one place and thus can be easily searched in one place.
    Best regards,
    Falk

  • Can not run complex report with ReportClientDocument using POJO beans.

    Hi All,
    Any help would be very appreciated I have been stack on this issue for the last 4 hours.
    My report has parameters, a ResultSet and subreports that themselves have both parameters and ResultSet.
    The report runs well in Crystal Report Designer but not on my application with ReportClientDocument API.
    The excpeiton I am getting is:
    ======================================================================
    Caused by: java.lang.NullPointerException
    16:22:56,796 INFO  [STDOUT]      at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.do(Unknown Source)
    16:22:56,796 INFO  [STDOUT]      at com.crystaldecisions.sdk.occa.report.application.bs.a(Unknown Source)
    16:22:56,796 INFO  [STDOUT]      at com.crystaldecisions.sdk.occa.report.application.bs.byte(Unknown Source)
    16:22:56,796 INFO  [STDOUT]      at com.crystaldecisions.sdk.occa.report.application.a3.if(Unknown Source)
    16:22:56,796 INFO  [STDOUT]      at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
    16:22:56,796 INFO  [STDOUT]      at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
    16:22:56,796 INFO  [STDOUT]      at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
    16:22:56,796 INFO  [STDOUT]      at com.crystaldecisions.proxy.remoteagent.r.else(Unknown Source)
    16:22:56,796 INFO  [STDOUT]      at com.crystaldecisions.proxy.remoteagent.r.for(Unknown Source)
    16:22:56,796 INFO  [STDOUT]      at com.crystaldecisions.proxy.remoteagent.h.for(Unknown Source)
    16:22:56,796 INFO  [STDOUT]      at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
    16:22:56,796 INFO  [STDOUT]      at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
    16:22:56,796 INFO  [STDOUT]      at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setDataSource(Unknown Source)
    16:22:56,796 INFO  [STDOUT]      at com.tramada.documents.businessobjects.BODocumentProvider.generateDocument(BODocumentProvider.java:178)
    16:22:56,796 INFO  [STDOUT]      at com.tramada.documents.service.impl.DocumentServiceImpl.generateDocumentContent(DocumentServiceImpl.java:125)
    16:22:56,796 INFO  [STDOUT]      ... 58 more
    This is my class that is trying to do the work.:
    ======================================================================
    BODocumentProvider.java Created on 19/05/2008
    This software is the confidential and proprietary information of Tramada
    Systems Pty Limited.
    package com.tramada.documents.businessobjects;
    import java.io.ByteArrayInputStream;
    import java.util.List;
    import java.util.Locale;
    import com.businessobjects.samples.pojo.POJOResultSetFactory;
    import com.crystaldecisions.sdk.framework.CrystalEnterprise;
    import com.crystaldecisions.sdk.framework.IEnterpriseSession;
    import com.crystaldecisions.sdk.occa.infostore.IInfoObject;
    import com.crystaldecisions.sdk.occa.infostore.IInfoObjects;
    import com.crystaldecisions.sdk.occa.infostore.IInfoStore;
    import com.crystaldecisions.sdk.occa.managedreports.IReportAppFactory;
    import com.crystaldecisions.sdk.occa.report.application.ISubreportClientDocument;
    import com.crystaldecisions.sdk.occa.report.application.ParameterFieldController;
    import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument;
    import com.crystaldecisions.sdk.occa.report.application.SubreportController;
    import com.crystaldecisions.sdk.occa.report.data.Fields;
    import com.crystaldecisions.sdk.occa.report.data.IField;
    import com.crystaldecisions.sdk.occa.report.data.ITable;
    import com.crystaldecisions.sdk.occa.report.data.Tables;
    import com.crystaldecisions.sdk.occa.report.exportoptions.ReportExportFormat;
    import com.crystaldecisions.sdk.occa.report.lib.IStrings;
    import com.tramada.core.utils.SoftMap;
    import com.tramada.documents.DocumentDataProvider;
    import com.tramada.documents.DocumentDescriptor;
    import com.tramada.documents.DocumentFormat;
    import com.tramada.documents.DocumentProvider;
    import com.tramada.documents.SubDocumentDescriptor;
    import com.tramada.documents.businessobjects.model.Template;
    import com.tramada.documents.model.DocumentContent;
    import com.tramada.persistence.home.GenericHome;
    Business Objects specific Document Provider.
    public class BODocumentProvider implements DocumentProvider {
        private static final String BO_AUTH_TYPE = "secEnterprise";
        private boolean connect;
        private String userName;
        private String userPassword;
        private String boURL;
        private String documentsFolder;
        private GenericHome home;
    Local cache. Keeps track of document source for better performance.
        private SoftMap<String, ReportClientDocument> cachedSources = new SoftMap<String, ReportClientDocument>();
        // SETTERS & GETTERS
        // SETTERS & GETTERS
        public GenericHome getHome() {
            return home;
        public void setHome(GenericHome home) {
            this.home = home;
        public boolean getConnect() {
            return connect;
        public void setConnect(boolean connect) {
            this.connect = connect;
        public String getBoURL() {
            return boURL;
        public void setBoURL(String boURL) {
            this.boURL = boURL;
        public String getUserName() {
            return userName;
        public void setUserName(String userName) {
            this.userName = userName;
        public String getUserPassword() {
            return userPassword;
        public void setUserPassword(String userPassword) {
            this.userPassword = userPassword;
        public String getDocumentsFolder() {
            return documentsFolder;
        public void setDocumentsFolder(String documentsFolder) {
            this.documentsFolder = documentsFolder;
        // PUBLIC INTERFACE
    Generates a document given its descriptor.
    @param descriptor
               valid document descriptor
    @return Document (generated document).
        public DocumentContent generateDocument(DocumentDescriptor descriptor, DocumentFormat format) throws Exception {
            if (descriptor == null) {
                throw new IllegalArgumentException("descriptor==null");
            if (format == null) {
                throw new IllegalArgumentException("format==null");
            // get the document source.
            // Can not use setDataSource() error code 2147483648?
            ReportClientDocument document = getDocument(descriptor.getDocumentName());
            ParameterFieldController parameterController = document.getDataDefController().getParameterFieldController();
            // insert the main document parameters and there values
            populateParameters(document.getDataDefController().getDataDefinition().getParameterFields(),
                    parameterController, descriptor, "");
            // insert into the main document all the required data.
            Tables tables = document.getDatabaseController().getDatabase().getTables();
            for (int i = 0; i < tables.size(); i++) {
                ITable table = tables.getTable(i);
                String tableAlias = table.getAlias();
                DocumentDataProvider provider = descriptor.getDocumentDataProvider(tableAlias);
                POJOResultSetFactory factory = new POJOResultSetFactory(provider.getDataType());
                document.getDatabaseController().setDataSource(factory.createResultSet(provider.getData()), tableAlias,
                        tableAlias);
            // go through all the sub-documents and do the same thing as for the
            // main document.
            SubreportController subReportController = document.getSubreportController();
            IStrings names = subReportController.getSubreportNames();
            for (int i = 0; i < names.size(); i++) {
                String subDocumentName = (String) names.get(i);
                SubDocumentDescriptor subDescriptor = descriptor.getSubDocument(subDocumentName);
                // get the actual sub document.
                ISubreportClientDocument subDocument = subReportController.getSubreport(subDocumentName);
                // insert the subdocument parameters.
                populateParameters(subDocument.getDataDefController().getDataDefinition().getParameterFields(),
                        parameterController, subDescriptor, subDocumentName);
                // insert into the main document all the required data.
                Tables subTables = subDocument.getDatabaseController().getDatabase().getTables();
                for (int j = 0; j < subTables.size(); j++) {
                    ITable subTable = subTables.getTable(j);
                    String tableAlias = subTable.getAlias();
                    DocumentDataProvider subProvider = subDescriptor.getDocumentDataProvider(tableAlias);
                    POJOResultSetFactory subFactory = new POJOResultSetFactory(subProvider.getDataType());
                    subDocument.getDatabaseController().setDataSource(subFactory.createResultSet(subProvider.getData()),
                            tableAlias, tableAlias);
            // generate the report in the specified format
            ByteArrayInputStream bais = (ByteArrayInputStream) document.getPrintOutputController().export(
                    getReportFormat(format));
            byte[] content = new byte[bais.available()];
            bais.read(content);
            return (new DocumentContent(content));
    Refreshes the connector and all its cached document sources.
        public void refresh() throws Exception {
            cachedSources.clear();
        // PRIVATE ROUTINES
    Populates the document parameters with there values.
        private void populateParameters(Fields parameters, ParameterFieldController controller,
                DocumentDescriptor descriptor, String documentName) throws Exception {
            for (int i = 0; i < parameters.size(); i++) {
                IField parameter = parameters.getField(i);
                String parameterName = parameter.getName();
                if (!descriptor.getParameters().containsKey(parameterName)) {
                    throw new IllegalStateException("missing parameter entry for '" + parameterName + "'");
                Object value = descriptor.getParameter(parameterName);
                if (value != null) {
                    controller.setCurrentValue(documentName, parameterName, value);
    Retrieves the document source. If the source is not cached get it from
    BO. First get the template name that is stored on BO.
        private ReportClientDocument getDocument(String documentName) throws Exception {
            ReportClientDocument source = cachedSources.get(documentName);
            if (source == null) {
                String templateName = getTemplateName(documentName);
                if (userName == null) {
                    throw new IllegalArgumentException("user-name==null");
                if (userPassword == null) {
                    throw new IllegalArgumentException("user-password==null");
                if (boURL == null) {
                    throw new IllegalArgumentException("boURL==null");
                if (documentsFolder == null) {
                    throw new IllegalArgumentException("documents-folder==null");
                // login to BO
                IEnterpriseSession enterpriseSession = CrystalEnterprise.getSessionMgr().logon(userName, userPassword,
                        boURL, BO_AUTH_TYPE);
                IInfoStore iStore = (IInfoStore) enterpriseSession.getService("InfoStore");
                // get the application folder.
                IInfoObjects folders = iStore.query("Select SI_ID From CI_INFOOBJECTS Where SI_PROGID='CrystalEnterprise.Folder' And SI_NAME = '"
                        + documentsFolder + "'");
                if (folders.size() != 1) {
                    throw new IllegalStateException("documents folder '" + documentsFolder + "' not found on BO Server '"
                            + boURL + "'.");
                IInfoObject folder = (IInfoObject) folders.get(0);
                // get the document identified by the template name.
                IInfoObjects templates = iStore.query("select SI_ID, SI_NAME From CI_INFOOBJECTS "
                        + "where SI_PROGID = 'CrystalEnterprise.Report' " + "And SI_INSTANCE_OBJECT = 0 "
                        + "And SI_PARENT_FOLDER = " + folder.getID() + " And SI_NAME= '" + templateName + "'");
                if (templates.size() != 1) {
                    throw new IllegalStateException("template with name '" + templateName + "' not found in folder '"
                            + documentsFolder + "'on BO Server '" + boURL + "'.");
                source = ((IReportAppFactory) enterpriseSession.getService("RASReportFactory")).openDocument(
                        ((IInfoObject) templates.get(0)).getID(), 0, Locale.getDefault());
                cachedSources.put(documentName, source);
            return (source);
    Returns the associated template name for the given document descriptor.
        @SuppressWarnings("unchecked")
        private String getTemplateName(String documentName) {
            Template example = new Template();
            example.setDocumentName(documentName);
            List<Template> templates = (List<Template>) home.findByExampleExcludingAssociations(example);
            if (templates == null || templates.size() != 1) {
                throw new IllegalStateException("no template defined for document name '" + documentName + "'");
            return (templates.get(0).getTemplateName());
    Get the equivalent BO format for the given document format.
    @param format
               document format.
    @return ReportExportFormat
        private ReportExportFormat getReportFormat(DocumentFormat format) {
            if (format.equals(DocumentFormat.PDF)) {
                return (ReportExportFormat.PDF);
            } else if (format.equals(DocumentFormat.WORD)) {
                return (ReportExportFormat.MSWord);
            } else if (format.equals(DocumentFormat.EXCEL)) {
                return (ReportExportFormat.MSExcel);
            return (ReportExportFormat.MSWord);
    Best Regards
    Khalef  Bessaih

    Hello,
    If I understand correctly, you create a local report which choose report from Report Server. You have two query parameters in the report which are returned by stored procedure. Currently, you cannot get default values for these parameters when run the report.
    Based on my test, if we haven’t configure these parameter with Available Values, we can reproduce the same issue. Also, caching issue may cause the same issue. If the issue is persist, please delete the corresponding report in the report server. Then, redeploy
    it to check.
    There is a similar issue, you can refer to it.
    http://social.msdn.microsoft.com/Forums/en-US/6a548d65-35d0-4a3e-8b64-3b7b655c76ee/ssrs-2008-report-parameter-default-value-doesnt-work-when-deployed
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Open ECC report in Crystal Reports

    Hi,
    Question, hope you have some info on this...
    I want to try & open a custom report which is built in an ECC system (report is currently run as a "Yxxx" transaction) in Crystal Reports. Purpose is to further edit and format the report using Crystal Reports functions.
    Does anyone know what path to follow here? Do I have to set up a new connection for the given source system?
    Thanks for any tips advice.
    Ps. I have Crystal Reports 2008 and also the BI Integration Kit (not sure if this is used / required).
    Thanks,
    Willem

    There are transports that the SAP Integration Kit delivered.  you may have already installed this on your BW, but they would need to be installed on ECC if you want to query there.  Once these are installed, Crystal should be able to see an SAP - Table, Cluster, Function  Data Connection allowing you to connect to your ECC.
    You should review the SAP Integration Kit doc - it spells out authorizations required, how to handle security, etc.

Maybe you are looking for

  • Smart form background logo.

    Hi experts, i am facing a problem with smart form to view our company logo at back ground of my out put, i can do it as alogo in form but where as in background it was not getting and could u please help in this regard, i had done through OAER , but

  • Disable role assignment at task level

    Hi Experts, We have a requirement where role should be assigned at task level only and not at sub task level.Any configuration for this ? if not, How to achieve this by development? shashank

  • Where ... in clause with parameter

    Hi, I'm having a small problem with my where clause. I have the following select statement select * from emp where empno in (:par) I want to set a comma separated list as :par, something like '7839,7698,7782'. But this is not working. How do I get th

  • Magic Mouse randomly "micro scrolls" when moving

    I just bought a magic mouse to replace an older might mouse and it's exhibiting a new odd phenomenon. when moving around in web pages or in Mail, it occasionally scrolls a bit (~5 lines of text worth) in a window. when it does this i don't have any f

  • When I go to my outlook 2007 I get a message that says my MobileMe services has quit running

    Got the new IPAD Air trying to link calender to my Outlook 2007 calender through Cloud. When trying to open outlook to get e-mail on my PC get a message that my MobileMe services are not working.  After poping up 2 time and I close each one the mail