Crystal report when created using sybase oledb, gives no appender error

I have a .net 3.5 application which uses Sybase Oledb to export crystal report 2008 to some file format.
While calling the function ExportToDisk, the console shows error as:-
"log4plus:error no appenders could be found for logger <com.sybase.dataaccess.oledb.iunknown.queryinterface>.
log4plus:error please initialize the log4c plus system properly"
This is not any exception I think, because it does not get caught into Catch block when i tried.
What is the reason this message is shown?
The code is as follows:-
ReportDocument reportDocument = new ReportDocument();
reportDocument.Load(reportFileName);
                foreach (CrystalDecisions.Shared.IConnectionInfo reportConnectionInfo in reportDocument.DataSourceConnections)
                    reportConnectionInfo.SetConnection("10.253.59.214,5000", "OPS_UTUPG_Adp3", "ops_sa", "TstUsr#1");
//Function to set parameters of crystal report.
                SetParameters(reportDocument);
                string exportFile = @"C:\temp\ExportedReport.doc";
                reportDocument.ExportToDisk(ExportFormatType.WordForWindows, exportFile);

Hi,
Since your question relates to .Net with CR, you can repost it under ".NET Development - Crystal Reports" forum.

Similar Messages

  • Crystal Reports when connecting to SAP ERP gives Logon Failed error

    Hello Friends,
    We are trying to implement the SAP Best Practices Crystal Reports and Xcleisus Dashboards for ERP. We are using BI 4.0 SP2, Crystal Reports 2011 SP2 and SAP ECC 6.0 FP 5.
    We have done all configurations at the SAP end and successfully adpated a couple of Crystal Reports and they work fine.
    My client machine crashed and I had to reinstall my Windows and all Client Tools. After the installation, when I tried to adapt a few more reports, I face the below problem:
    After opeing the Crystal Report, when trying to Set the DataSource location, I select Create New Connection and select SAP Infosets. The SAP logon popup comes and I select the ECC system and enter the logon credentials for SAP ECC, I get an error message saying
    Logon Failed.
    Details: some square boxes.
    The error doesnt really make any sense. Unfortunately, I am not able to test this scenario in any other machine as I am the only developer here. I am almost sure this is because of some configuration set up in my client machine,
    Can some please help?
    Thanks in advance!

    Hello,
    I recommend looking at a couple of things:
    1) Do you have the latest Crystal transports installed with ECC?  SP 2 has new transports.  Check this subdirectory
    Crystal Reports 2011\DATA_UNITS\CrystalReports\Collaterals\Add-Ons\SAP\Transports\unicode_compatible\cofiles
    Use STMS to see if transports are installed
    2) Are you using 3.1 ?  Do you have the Integration Kit installed on ECC and client side?
    Tammy

  • Using strored procedure as datasource in CR when provider is Sybase OLEDB

    Hi,
    I have created a crystal report in CR 2008 which has SQLOLEDB provider, as a stored procedure is the data source of crystal report.
    Now I want to convert this report to use in sybase. If i use Sybase OLEDB provider for this, and i say UPDATE while setting data source, it gives me error as "object cannot be opened or accessed" followed by "Unknown database connector" errors.
    Why does it do that? Moreover when i go to 'Database expert' and add the SP on Sybase database to 'Selected tables' list, its added to the datasorce, but when i click to expand the ( the + sign in Field explorer -> database fields->SPName) data fileds of SP it does not show the fields in it.
    Where as for SQLOLEDB, it shows the fiields which are returned by SP when i expand the data fields
    Let me know, if this should be redirected to some other forum.

    Moved to DB connectivity forum.
    I don't believe CR has ever supported OLE DB to Sybase. Try setting location using ODBC, set up a System DSN first of course.
    You should also search the Knowledge Base system on how to write a stored procedure. CR requires a Cursor to hold the data, if not then it won't show up in CR database expert. Also, CR will only get the data from the last SELECT statement in the SP.
    Once you get the SP to show in ODBC then try OLE DB, it should work....
    Thank you
    Don

  • How to use dynamic parameter when a report is created using Stored Procedures

    Hi all,
    any one have the idea of how to use dynamic parameter in crystal report XI R2
    when report is created using Stored Procedure.
    Regards
    shashi kant chauhan

    Hi
    You can create an SQL command in Database Expert > Expand your datasource > Add command
    Then enter the SQL query that will create the list of values to supply to the user
    eg select field1,field2 from table
    Then edit the parameter of the report.  These will be the SP parameters adn can be seen in field explorer.
    Change the parameter type to Dynamic
    Under the word Value click on Click here to add item
    Scroll down to your Command and select one of the values that you want to appear in the list
    e.g field1
    Then click on the Parameters field - this is essential to create the param
    You can edit other options as required
    That should do it for you.
    I must say that i use CR 2008 connected to Oracle 10g SP, but i reckon this will work for SQL DB and CR XI as well
    Best of luck

  • Empty report returned from WEBI and Crystal report when using external hier

    Hi,
    WEBI and Crystal report build from BEX query returned empty report when we used external hierarchy 0PROFIT_CTR.  In BEX we don't have any problems with it.
    No authority check is perfomed on the hierarchy when we start the report in WEBI/Crystal. Only check on the hierarchy is performed when the root authorization is assigned to the user

    We using BO4  SP12

  • Crystal report from JSP using the JRC

    Hi, I am trying to call crystal report from JSP using the JRC.
    But i am getting the Error as 'Logon Failed'. my web.xml entry is
    <env-entry>
    <env-entry-name>jdbc/Test</env-entry-name>
    <env-entry-value>!oracle.jdbc.driver.OracleDriver!jdbc:oracle:thin:{userid}/{password}@//10.0.0.1:1521/TestDB</env-entry-value>
    <env-entry-type>java.lang.String</env-entry-type>
    </env-entry>
    i am setting the userid and password in the code. Please see the below code for your reference. Please help me to solve the issue.
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@ page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
    <%@ page import="com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSourceFactory2" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource" %>
    <%@ page import="com.crystaldecisions.reports.reportengineinterface.JPEReportSource" %>
    <html>
    <head>
    <title>Crystal Report with Database Logon information</title> </head>
    <body bgcolor="#ffffff">
    <%
    try
    String report = "/TEMPLATE.rpt";
    IReportSourceFactory2 rptSrcFactory = new JPEReportSourceFactory();
    JPEReportSource reportSource = (JPEReportSource) rptSrcFactory.createReportSource(report, request.getLocale());
    CrystalReportViewer viewer = new CrystalReportViewer();
    viewer.setReportSource(reportSource);
    viewer.setHasRefreshButton(true);
    IConnectionInfo newConnInfo = new ConnectionInfo();
    newConnInfo.setUserName("TEST");
    newConnInfo.setPassword("TEST");
    ConnectionInfos newConnInfos = new ConnectionInfos();
    newConnInfos.add(newConnInfo);
    viewer.setDatabaseLogonInfos(newConnInfos);
    viewer.setEnableLogonPrompt(false);
    viewer.setOwnPage(true);
    viewer.setOwnForm(true);
    out.println("Connection Information: "+viewer.getDatabaseLogonInfos().getConnectionInfo(0).getAttributes().toString());
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(),null);
    viewer.dispose();
    catch(Exception e)
    throw new JspException( e);
    %>
    </body>
    </html>

    I never really had much luck with this approach.
    Mind you I was using Crystal Reports 10, and as far as I recall it didn't allow setting/changing of database at this level.
    Things to check
    - can you create a database connection on your page with this URL/username/password?
    - what server are you using? Tomcat? WebLogic?
    I found this in your other post:
    Connection Information: {Server Name=ee6rpt, Connection String=DSN=s(ee6rpt);User ID=s(ee62test);Password=;UseDSNProperties=b(false), Database Name=, Database DLL=crdb_odbc.dll}That would indicate it is using odbc to connect to the database (crdb_odbc.dll). ODBC is a bad idea with java.
    The way I have got it to work for me (after much trial and error) was to in Crystal Reports to connect using the Oracle Driver, and specifying a tnsname - eg define REPORT_DS in tnsnames.ora.
    When running through the JRC, it looked for a JNDI datasource under that same name "REPORT_DS".
    Don't know if that will help you or not.
    Good luck,
    evnafets

  • Unable to print crystal report over web using ActiveX Control

    Post Author: jimmyp
    CA Forum: General
    We have a problem with printing crystal report over web using ActiveX Control.  When clicking print button, it only shows a blank dialog web crystal viewer page without any error.  The page just simply hangs.  We installed the PrintControl DLL and enable all the security setting for ActiveX Control for IE.  It still does not print.  Does anyone know why?  
    Environment.
    Bundle Crystal Report v10
    Asp.net 2.0
    IE 6.0 or higher.
    Appreciate for your help.
    Jimmy

    Post Author: Ian Kulmatycki
    CA Forum: General
    A team member here found this, I haven't read it, I'm not sure if our problems are related to this, but hopefully it helps someone:
    -ian
    When Secure Sockets Layer (SSL) is enabled, using the ActiveX control to print reports from a Crystal 10 DHTML viewer results in the following error message:
    "A communication error occurred, printing will be stopped."
    How can this error message be resolved?
    Resolution
    This is a known issue with Crystal Reports 10 and Crystal Enterprise 10 viewers and has been tracked. The Track ID is ADAPT00282199.
    This error occurs due to the receiving application performing a case-sensitive check for the HTTPS request header value "ON". When a sender application sends the value as "on" in lower case, the error occurs. The update below changes the receiving application to be case-insensitive.
    Hot Fixes or Service Packs address this issue as indicated below. With the updates, this issue is resolved.
    Unless indicated otherwise, Weekly Hot Fix updates from our FTP site have only been tested with English versions of products.
    For Crystal Reports 10 and Crystal Enterprise 10, the update for this issue is included in the Crystal 10 Viewers Weekly Hot Fix (WHF). This is available in English only at the following location:
    ftp://ftp.crystaldecisions.com/outgoing/EHF/viewers10win_en.zip
    This issue is addressed in the following components (and later versions):
    PageObjectModel.dll, version 10.0.5.785, dated 8/25/2004
    ReportRenderer.dll, version 10.0.5.785, dated 8/25/2004
    WebReporting.dll, version 10.0.5.785, dated 8/25/2004

  • Crystal report in JSP using activeX viewer

    Hi,I'm trying to integrate JSP and crystal report.
    can you give me a sample code to display crystal report in JSP using activeX viewer(not pure HTML)
    I'm using crystal report 9,there are ASP sample come with CR9,but no JSP.also I don't want use Crystal Enterprise9 even I know the URL reporting may be the eaier way.

    Hi,I'm trying to integrate JSP and crystal report.
    can you give me a sample code to display crystal
    report in JSP using activeX viewer(not pure HTML)
    I'm using crystal report 9,there are ASP sample come
    with CR9,but no JSP.also I don't want use Crystal
    Enterprise9 even I know the URL reporting may be the
    eaier way.Hi, did u manage to get the ActiveX Viewer up with JSP? I'm also trying to do the same thing. If you could, pls kindly email me the basic source codes to [email protected]? Thanks

  • Rowlevel secuirty in Crystal reports when integrated in Enterprise portal

    I have a very simple crystal report which is developed against ECC data using the Open Sql Driver.
    Do I have to included some kind of code/logic in the report design for the SAP row-level security that already exists on SAP server to pass to the Crystal reports when report is run from the portal.
    Please suggest me the possible solution for this.?

    Ingo,
    Your input previously was very helpful.
    I do have one more question for you.
    If a Crystal report is designed using Open Sql Driver against ECC tables and this report is published on to BO Enterprise and both the BO and the SAP Enterprise Portal are both integrated, row level security is also implemented on SAP server.
    Now, when SAP user logs into the SAP Enterprise Portal and try to run this crystal report will then the user receive a database logon pop window to enter the client#, SAP login ID and Pwd like we receive it in the Crystal Designer?
    If Yes, I believe there is nothing to be taken care of at the Crystal designer level to include some kind of Special fields like CurrentCEUserID and so. In this case the data fetched on to the report already includes Users row level security.
    If No, how to configure crystal reports to pull data based on the user and user's role....what kind of special fields have to be included in the record selection or in the data base pop window of the report...?
    Please provide your inputs...
    Madhu

  • Error Crystal report When viewed through SAP B1

    Dear Experts
    SAP B1 8.8 PL 16,SQL 2008
    I am facing error (Unable to retrive data from database)(Vendor code-156) while accessing Crystal report from client machine throgh SAP B1.I have imported Crystal report through manage layout.The crystal reported is in shared in SAP server B1 SHR folder.I am able to access data from crystal report when viewed otherwise.When accessed crsytal report through SAP b1 on SAP Server crystal report is working fine.
    Thanks & Regrds
    Saurabh Lamba

    Hi Saurabh Lamba,
    Go To Administration / System Initialisation / Authorisation / General Authorisation & Set Authorisation for user.
    If you have to Set Authorisation for user allready then follow this steps.
    1.Restore Database as Test Company.
    2.Export Report From Live Company.
    3.Import this Report in Test Company as different name.
    4.Export Report from Test Company have you Imported as deifferent name.
    5.Again Import this Report in Live company as different name
    I don't know what's the logic behind it.
    Thanks,
    Srujal Patel

  • When i use oracle vwp give this error (java.lang.IllegalArgumentException:

    sir i use oracle with vwp
    sir see my code this code goto catch (Exception e) section and give this code in textfield
    " java.lang.IllegalArgumentException: luser.username "
    when i use mysql that give right result but when use oracel that give me this error
    try {
    RowKey userRowKey = luserDataProvider.findFirst
    (new String[] { "luser.username" },
    new Object[] { textField4.getText()});
    if (userRowKey == null) {
    textField3.setText("11111");
    return null;
    } else {
    textField3.setText("22222");
    return null;
    catch (Exception e) {
    log("Cannot perform login for userid " + textField3.getText(), e);
    error("Cannot perform login for userid " + textField3.getText() + ": " + e);
    textField3.setText(e);
    return null;
    please give me idea how i get right result
    thank you

    please check Article-ID "Positions Hierarchy Edittor Shows Error Your Userarea Applet Has Caused A Runtime Exception [ID 1151488.1]" in MOS...
    HTH

  • HELP !  Crystal Report 2011 TRIAL -  Can't Open Program WITHOUT AN ERROR

    Server: windows 2008 R2
    1) Crystal Reports 2011 was installed using the Trial version.
    2) Added the trial key in the form - OK.
    3) Clicked to start Crystal Reports 2011 and a dialog box pops up:
    CRYSTAL REPORTS STOPPED WORKING
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Problem signature:
      Problem Event Name: APPCRASH
      Application Name: crw32.exe
      Application Version: 14.0.0.760
      Application Timestamp: 4d688f61
      Fault Module Name: crw32.exe
      Fault Module Version: 14.0.0.760
      Fault Module Timestamp: 4d688f61
      Exception Code: c0000005
      Exception Offset: 00028ada
      OS Version: 6.1.7600.2.0.0.16.7
      Locale ID: 1033
      Additional Information 1: 0a9e
      Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
      Additional Information 3: 0a9e
      Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    FROM EVENT LOG - MORE INFORMATION
    ~~~~~~~~~~~~~~~~
    EVENT LOG
    ~~~~~~~~~~~~~~~~
    CRYSTAL REPORTS 011 - 32 Bit
    Windows 2008 R2 Statndard
    64 bit, 16 GB ram
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Fault bucket 2445902896, type 1
    Event Name: APPCRASH
    Response: Not available
    Cab Id: 0
    Problem signature:
    P1: crw32.exe
    P2: 14.0.0.760
    P3: 4d688f61
    P4: crw32.exe
    P5: 14.0.0.760
    P6: 4d688f61
    P7: c0000005
    P8: 00028ada
    P9:
    P10:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Faulting application name: crw32.exe, version: 14.0.0.760, time stamp: 0x4d688f61
    Faulting module name: crw32.exe, version: 14.0.0.760, time stamp: 0x4d688f61
    Exception code: 0xc0000005
    Fault offset: 0x00028ada
    Faulting process id: 0x1be0
    Faulting application start time: 0x01cc367d04e5e87c
    Faulting application path: C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\crw32.exe
    Faulting module path: C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\crw32.exe
    Report Id: 486fd25a-a270-11e0-b215-842b2b4c199e
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Attached files:
    C:\Users\jyanagi\AppData\Local\Temp\WERF967.tmp.WERInternalMetadata.xml
    These files may be available here:
    C:\Users\jyanagi\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_crw32.exe_149624126266436fca64902e9d839546696c19_00630da2
    Analysis symbol:
    Rechecking for solution: 0
    Report Id: 486fd25a-a270-11e0-b215-842b2b4c199e
    Report Status: 0
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The description for Event ID 1904 from source HHCTRL cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    about:blank
    http://go.microsoft.com/fwlink?LinkID=45840
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    APPLICATION ERROR - EventID 1000
    Faulting application name: crw32.exe, version: 14.0.0.760, time stamp: 0x4d688f61
    Faulting module name: crw32.exe, version: 14.0.0.760, time stamp: 0x4d688f61
    Exception code: 0xc0000005
    Fault offset: 0x00028ada
    Faulting process id: 0x3644
    Faulting application start time: 0x01cc367c5f8cd8b8
    Faulting application path: C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\crw32.exe
    Faulting module path: C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\crw32.exe
    Report Id: a1c2265e-a26f-11e0-b215-842b2b4c199eGet Windows Live Mail to create your own photo e-mails

    Hi,
    Thanks for your reply.  I followed the other link and it didn't help my current situation.
    Is there a link for paid support .. all I need to do is the following for a client:
    1) Install Crystal report 2011 on a Microsoft 2008 Server R2.. my error message is above.
    Resolve the error on start up of Crystal reports..
    It's already been over 1 week .. and I can't seem to get a live person on SAP that can help me... once this is resolved I think I will be ok.
    I have CR XI on running on another server with no issues.. I don't know if the above is due to a service pack issue, security issue on installation, ...  its a production server so I just want to resolve this quick.
    Any help you can give me on getting alive person that I can talk to will be greatly appreciated.
    Thank you.
    Edited by: Mitsuokbs on Jul 1, 2011 10:38 AM

  • I am importing videos from my canon sl1 to my macbook when i use iphoto is says "iPhoto cannot import your photos because there was a problem downloading an image." and when i use image capture it says "An error occured while importing. The item 'MVI_1040

    I am importing videos from my canon sl1 to my macbook air when i use iphoto is says "iPhoto cannot import your photos because there was a problem downloading an image." and when i use image capture it says "An error occured while importing. The item ‘MVI_1040'' Thanks in advance

    Can you access the images on the phone with Image Capture (in the Applications Folder) ?

  • Using Crystal Report to create reports from ABAP

    Hello,
    We are currently using Jetform as the designer for our outputs like Invoice, Order confirmation, etc.....
    We would like to switch to Crystal instead, but don't really know where to start from.
    - We already have crystal on our B/W instance
    - The additional need for Crystal is in R/3, and would be triggered trough ABAPs.
    What I am looking for. I guess, is the equivalent to when:
    we call up smartforms from ABAP using the generated function modules
    we call up sapscript from ABAP using the predefine function call (write_form open_form close_form, etc)
    we call up Jetform using special control code along with the data, sent to a jetform configured printer
    => What kind of call would we then make to send data to Crystal Reports place holder and print them?
    => What kind basis set-up is needed to have to comunication between Crystal and SAP established?
    Thank you in advance for yours hints

    Hi,
    You will likely be able to access the tables directly using the Opensql driver using Crystal Reports.  I don't understand why you are assuming that an Infoset is necessary.  Can you point me to the documentation that states that an Infoset is necessary?
    In any case, if you want to create an Infoset, this is done in SQ02.  You need to make sure that you belong to a user group in order for Crystal Report to see the infoset.

  • Q: Added benefit of Crystal Reports when using WebI?

    Hi Experts,
    I have a question regarding added benefit of Crystal Reports if we already have WebI.
    Seem to me that it is possible to customize the design quite much in WebI, and as I understand it the publishing/publication is the same for WebI and CR.
    Thank you in advance,
    Best regards,
    Mikael

    Hi Mikael,
    Please refer the link provided below,
    http://www.forumtopics.com/busobj/viewtopic.php?p=219787
    Hope this helps you.
    Regards,
    Abhijeet T.

Maybe you are looking for

  • Account 555555 requires an assignment to a CO object

    I am receiving following error in posting: account 555555 requires an assignment to a CO object please help

  • Disable image preview in your stream Twitter 10.2.2.14

    I just updated to the lates version and now images show by default in your Twitter stream. Previously it was only a link which was much better. I couldn't find any setting option to disable the preview like you can in the Android App. Has anyone seen

  • All Photos option not working

    I imported my aperture library of about 200GB. The problem is not that the photos are not in the new library, but I must know when they were taken in order to find them. So for instance, I'm looking through the photos for a specific photo but can't f

  • Adobe Reader 9/XP Pro   Access Denied Error

    When I try to open a pdf file that is encrypted I get an error that reads "There was an error opening this document. Access denied. I run XP Pro w/ sp3.

  • CPPO Guide

    Hi, We have completed a fresh installaion of EP7 on our production server. We need to adopt the best practise in taking backups. Is CPPO the best way forward? Can anyone give me the exact link for me to download the guide for CPPO for the 2004s (EP7)