Issue while loading crystal Report.

Hi ,
Crystal report is getting loaded properly in the VS Viewer for Crystal report when we preview the report but when the same report is being loaded through application then following errors are being displayed:
1) "Object reference not set to an instance of an object." -  - In the debug mode
2) "Load Report failed." - In the release mode.
The issue is not getting reproduced when we are viewing report directly in the VS-2012. Also there is no exception being raised in the code.
Crystal report version : VS13_0_5

You are using Service Pack 5, current SP is 9. I'd recommend updating your install to that - not that the error has anything to do with the SP, but you always want to be as up to date as possible(?).
If you Google "Object reference not set to an instance of an object.", you will get a lot of help. Usually the error is a programming issue.
Your best bet is to look at a few samples here:
Crystal Reports for .NET SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
Developer Help files are here:
SAP Crystal Reports .NET SDK Developer Guide
SAP Crystal Reports .NET API Guide
I'd also suggest reviewing the document Crystal Reports for Visual Studio 2005 Walkthroughs. No worries about the reference to VS 2005. Pretty well everything in that document applies to all subsequent versions of .NET and CR.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter

Similar Messages

  • Error while loading Crystal report

    Professionals'
    I have encountered an error while opening a crystal report 2008, I am using VB.NET 2005 with Business One. When I am running the source code it works fine. With ARD I am getting problem "Crystal report can not open". What should be the solution for that? I made ARD with all the required reports and added all DLL required for it.. Is it required to add any crystal report reference when creating ARD?
    Thanks.

    Hi,
    Are you checking the Addon in the Client or in the Working Machine....?
    if it is client Machine install the Crystal Runtime and Check it out....
    With Regards,
    Madhu

  • Problem while loading Crystal report

    Hi all
        I'm Harinathan. I'm developing vb.net application with crystal report.

    Good for you Nathan.
    Have a good day,
    Ludek

  • Issues while migrating crystal report 10.5 to Crystal 2011 64 bit version

    Hi
    We were using crystal report 10.5 and we have now we wanted to migrate to Crystal 2011. We haev migrated our .Net code  from .Net 1.1 to .Net 4.0. Now we are moving on to convert .Net application as a pure 64 bit componet. We DO NOT want to select the option ' Enable 32 bit application' IN IIS. So Our app will run as 64 bit component.I have upgraded Crystal with V 2011 and also installed Crystal report for Visual studio 2010. I have tried a POC to create a dummy report [ in Crystal 2011] with Db connection and it created successfully. BUT when i try to run the existing report  template it fails, with follwing error. Also the template when i opened for first time , prompted for whether u wanted to upgrade , i chose Yes BUT nothing helped.
    Does the crystal can successfully migrate to 32 bit to 64 bit? Or should we create new template in 64 bit and redo everything
    {"Database Connector Error: ' [Database Vendor Code: 8114 ]' Error in
    File temp_288e56fe-eca4-43aa-80d7-c89724874189 {3287A6AC-9092-4805-9D3C-7B49669B4D98}.rpt
    :Database Connector Error"} System.Exception any idea about how to migrate this old 32 template to 64 bit form. i have just reopened  the templates  using latest version but not helping

    Moved to .NET SDK forum
    Search here for runtime and install CR for VS 2010.
    There is no SDK install with CR for 2011, it's runtime if CR for VS 2010.
    Don

  • Database Error While Viewing Crystal Report In Infoview

    Hi,
    BO and Crystal Designer version is BO XI 3.1 SP2 FP2.6.
    Issue:
    While viewing crystal report for a particular user id in infoview, following error is coming:
    Error in File EPACertificate.rpt: Database Connector Error
    However, we are able to view the report in thick client Crystal Designer using same user id. This issue is occurring only for this user and rest of the users are able to view the report in Infoview and Crystal Designer.
    It would be great if any of you can provie a solution to this issue.
    Thanks in advance,
    Jaya

    closing it.

  • Invalid Key code Error while installing crystal report server 11

    While installing crystal report server 11,i am facing an erro which says Invalid Key code Error.I had raised this issue to SAP customer support and attaching the conversation that we had.PLEASE HELP me to resolve the issue.
    MAILS--Dear Mohit,
    Thanks for the patience.
    We have received the below update from the Licensing Team.
    You received your permanent key in respect of these licenses - the key is  for Crystal Reports Server XI.
    You did not purchase these licenses for Crystal Reports Server, but purchased it for Crystal Reports and a 5-named user license for Crystal Reports was included as a special offer.  The software included was version XIR2, but you elected to use version XI instead and received key .
    You would need to enroll the licenses in maintenance if you want to upgrade them.
    In case of any queries please create a ticket via the Service Market Place.
    Regards,
    Jessy
    Customer Interaction Center
    SAP Active Global Support
    Hello Jessy,
    The customer received their permanent key in respect of these licenses - the key is  for Crystal Reports Server XI.
    They did not purchase these licenses for Crystal Reports Server, they purchased Crystal Reports and a 5-named user license for Crystal Reports was included as a special offer.  The software included was version XIR2, but they elected to use version XI instead and they received key .
    They cannot decide to upgrade now - they must enrol these licenses in maintenance if they want to upgrade them.
    Kind regards,
    Rosemary
    From: BOSAPASIA
    Sent: 29 September 2009 05:49
    To: Savage, Rosemary
    Subject: FW: Crystal Reports Server Installation Issue
    Importance: High
    HI Rose ,
    Need your assistance on the below issue.
    Customer purchased Crystal Report Server XI R2 in 2005. When he is trying to install it now, he is getting an Invalid Key code Error.
    He has provided us the Scanned copies of the Key code and the registration number.Can you please help and check if he can be provided with a Keycode.
    Regards,
    Jessy
    CIC Team Lead
    Customer Interaction Center
    Global Support Centre India
    SAP Labs India Pvt Ltd
    Hi,
    Providing you with the required details to proceed further
    Registration Number-
    Registration Email Address-taxmantra.support
    And also please find attached the scanned copy of the Registration key we got for the Crystal report server.
    Dear Mohitk,
    Thank you for your information.
    I checked with the concerned colleague and received the below update:
    Please check from where you got this key code. If from a paper, please scan it to us. Please let them track to the original paper or email.
    If you have registered the key code, please provide us the registration number or registration email address so that we will try to check for you.
    If you did not register before, as the promotion is over so the key code could not be replaced.
    I request you to kindly check the same at your end and revert with the details.
    Moreover, there are two ways for Crystal Report customer to get support.
    One is customer with bundled product such like BOE and under maintenance. These customers will have an S-user ID and password to log a case in service market place via http://service.sap.com/message
    A learning map was provided, listed on left column.
    The other is customer with only Crystal report product, the support is via SDN.
    http://service.sap.com =>Crystal Reports and Xcelsius Support=>Crystal Reports and Xcelsius Forums
    Customers can first check whether other customer has got the same issue and find the reply from our engineers.
    You may also post your own thread for support.
    Anything else I could help, please do not hesitate to contact again.
    Hi,
    I am providing you with the details required to resolve the issue related to Crystal report installation,for reference of the issue please refer the mail below.
    Please find attached the Scanned Document  containing the details as per the details required by you.
    Hope to see a quick resolution for the issue.
    Dear Mohit,
    Thank you for your e-mail.
    As discussed, I understand that youu2019ve procured Crystal Reports Server 11 in 2006. However youu2019re facing issues with key codes while reinstalling the same. We request you to kindly provide us with below details for further assistance.
    Your customer number:
    Your customer name and address:
    Purchase order number:
    Any other products purchased along with Crystal Reports Server 11
    Any S-User Id:
    Any old case ID:
    Please feel free to contact us if any further queries.
    Hi,
    I am raising this concern on behalf on Taxmantra project (Tata Consultancy Services noida).
    We have bought licensed Crystal Reports Server 11 near by 2006.We are trying to install the crystal server but while installing ,we have encountered with an error message that:-
    "The product key code you have entered is incorrect"
    We are facing the same issue in 2006,I am attaching with this email the conversations that was held in 2006 to get the correct key code.
    Please help us to resolve the issue as early as possible.
    My contact number:
    If you need any further information do let me know

    Ajit,
      By design, the product is not able to be installed under the superuser account.
    1.  Create a new user and specify a home directory for the user without a quota set.
    2.  Copy or move the installation files to a directory that the new user can read.  I suggest you move the installation files directly into the new user's home directory.
    3.  Logon as the new user (or su - newuser)
    4.  run the installation shell script using that new user's account.
    NOTE:  Ensure the system meets the requirements from the supported platforms documents.
    .Tony

  • Error While running crystal report

    Dear All,
    i have some crystal reports in SAP.while opening any crystal report its through some error like  "Error While running crystal report ".
    Kindly suggested me how to do this .
    Thanks&Regards,
    P.Pratap

    Hi All,
    Thanks for your reply,
    already i close this Issue.
    they have one addon for crysatl report .so it show error like Error while Running crystal report
    thanks&Reagrds,
    P.Pratap

  • An error has occurred while loading the report

    Hello all,
    I'm trying to view a Crystal Report from my CRM application and I receive the follow error message, but only when trying to view it on a laptop:
    An error has occurred while loading the report. Please contact technical support.
    Has anyone else run into this problem?
    Thanks!

    Hello Eddie,
    please post some more information about your problem.
    What is the name of your CRM app?
    Who developed this app?
    Did it never work or do you get this error only now?
    Always or only sometimes only?
    In what versions and on what patchlevel are you working ?
    Thanks for some more info
    Falk

  • Help needed  while exporting crystal reports to HTML file format using java

    Help needed  while exporting crystal reports to HTML file format using java api(not using crystalviewer).i want to download the
    html file of the report
    thanks

    the ReportExportFormat class does not have HTML format, it has got to be XML. Export to HTML is available from CR Designer only.
    Edited by: Aasavari Bhave on Jan 24, 2012 11:37 AM

  • Performance issue while opening the report

    HI,
    I am working BO XI R3.1.there is performance issue while opening the report in BO Solris Server but  on window server it is compratively fast.
    we have few reports which contains 5 fixed prompt 7 optional prompt.
    out of 5 fixed prompt 3 prompt is static (it contains 3 -4 record only )which is coming from materlied view.
    we have already use many thing for improve performance in report like-
    1) Index Awareness
    2) Aggregate Awareness
    3) Array fatch size-250
    3) Aray bind time -32767
    4) Login time out -600
    the issue is that before refresh opening the report iteslf taking time 1.30 min on BO solris server but same report taking time in BO window server 45 sec. even we  import on others BO solris server it is taking same time as per old solris server(1.30 min).
    when we close the trace in solris server than it is taking 1.15  sec time.it should not be intial phase it is not hitting more on database.so why it is taking that much time while opening the report.
    could you please guide us where exectly problem is there and how we can improve performance for opening the report.In case the problem related to solris server so what would be and how can we rectify.
    Incase any further input require for the same feel free to ask me.

    Hi Kumar,
    If this is happening with all the reports then this issue seems to be due to firewall or security settings of Solaris OS.
    Please try to lower down the security level in solaris and test for the issue.
    Regards,
    Chaitanya Deshpande

  • Error 1305 while installing Crystal Reports 2008, JavaSDK

    While installing Crystal Reports from the original media on a new Lenovo Thinkpad running Windows XP Pro SP3 I get the following error while installing:
    Error 1305: Error reading from File: c:\program files\Business Objects\javasdk\jre\audio\soundbank.gm. Verify that the file exists and that you can access it.
    I have the option to retry or cancel, obviously cancel exits the installer. Retry just fails again. I have tried to access the file (which does exist) and I cannot because it is in use. I used Sysinternals process explorer to find out what has the file in use and it is msiexec.exe which is the Microsoft Installer service which is running in order to install CR2008.
    I have tried restarting, setting permissions on the file and folder, uninstalling and reinstalling Java VM from Sun. I even tried killing msiexec (which killed the install). I even tried taking out all reference to java in a custom install.
    I am at a loss on what to do next. Any help would be appreciated.
    -Michael

    I found that if I installed it from a copied local directory instead of the CD Rom that it worked

  • Getting Error while integrating Crystal reports with Java

    Hi All,
    I am getting below error while integrating crystal report with java
    [java] os.arch = x86
    [java] java.lang.NoSuchMethodError: com.crystaldecisions.Utilities.d.<init>
    (Ljava/awt/Image;I)V
    [java] at com.crystaldecisions.Utilities.af.try(Unknown Source)
    [java] at com.crystaldecisions.Utilities.af.a(Unknown Source)
    [java] at com.crystaldecisions.Utilities.af.<init>(Unknown Source)
    [java] at com.businessobjects.crystalreports.viewer.applet.g.a(Unknown
    Source)
    [java] at com.crystaldecisions.ReportViewer.ReportViewer.start(Unknown
    Source)
    [java] at ReportViewerFrame.<init>(ReportViewerFrame.java:51)
    [java] at JRCViewReport.launchApplication(JRCViewReport.java:29)
    [java] at JRCViewReport$1.run(JRCViewReport.java:50)
    [java] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:
    178)
    [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
    [java] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDi
    spatchThread.java:190)
    [java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
    atchThread.java:144)
    [java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j
    ava:138)
    [java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j
    ava:130)
    [java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
    Any help can be appreciated
    Kalyan

    Hi All,
    For got to mention i am using crystal reports XI release 2 with JDK1.4.
    Kalyan

  • Unknown issue while loading .dbf file by sql loader

    Hi guys,
    I am having a unknown issue while loading .dbf file by sql loader.
    I need to load .dbf data into oracle table.for this I converted .dbf file by just changing its extension as .csv . file structure after changing .dbf to .csv --
    C_N_NUMBER,COMP_CODE,CPT_CODE,C_N_AMT,CM_NUMBER
    1810/4,LKM,30,45,683196
    1810/5,LKM,30,45,683197
    1810/6,LKM,30,45,683198
    1810/7,LKM,30,135,683200
    1810/8,LKM,30,90,683201
    1810/9,LKM,1,45,683246
    1810/9,LKM,2,90,683246
    1810/10,LKF,1,90,683286
    2810/13,LKJ,1,50.5,680313
    2810/14,LKJ,1,50,680316
    1910/1,LKQ,1,90,680344
    3910/2,LKF,1,238.12,680368
    3910/3,LKF,1,45,680382
    3910/4,LKF,1,45,680395
    7910/5,LKS,1,45,680397
    7910/6,LKS,1,90,680400
    7910/7,LKS,1,45,680401
    7910/8,LKS,1,238.12,680414
    7910/9,LKS,1,193.12,680415
    7910/10,LKS,1,45,680490
    then I am loading it by sql loader.but I am getting always error below ...
    Record 1: Rejected - Error on table C_N_DETL_TAB, column CPT_CODE.
    ORA-01438: value larger than specified precision allowed for this column
    Record 2: Rejected - Error on table C_N_DETL_TAB, column CPT_CODE.
    ORA-01438: value larger than specified precision allowed for this column
    table structure-
    create table C_N_DETL_tab
    "C_N_NUMBER" VARCHAR2(13),
    "COMP_CODE" VARCHAR2(3),
    "CPT_CODE" NUMBER(4),
    "C_N_AMT" NUMBER(20,18),
    "CM_NUMBER" NUMBER(7)
    control file-
    options(skip=1)
    load data
    infile '/softdump/pc/C_N_DETL.csv'
    badfile '/softdump/pc/C_N_DETL.bad'
    discardfile '/softdump/pc/C_N_DETL.dsc'
    into table C_N_DETL_tab
    truncate
    FIELDS TERMINATED BY ","
    OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    C_N_NUMBER CHAR,
    COMP_CODE CHAR,
    CPT_CODE INTEGER,
    C_N_AMT INTEGER,
    CM_NUMBER INTEGER
    but guys when I am increasing size of all columns of tabel upto its max value then data is loaded but when I am checking column max length after data loaded then its very less..
    changed table structure-
    create table C_N_DETL_tab
    "C_N_NUMBER" VARCHAR2(130),
    "COMP_CODE" VARCHAR2(30),
    "CPT_CODE" NUMBER(32), ---- max value of number
    "C_N_AMT" NUMBER(32,18), ---- max value of number
    "CM_NUMBER" NUMBER(32) ---- max value of number
    now i ma running ...
    sqlldr express/express control=C_N_DETL.ctl log=C_N_DETL.log
    o/p-
    Table C_N_DETL_TAB, loaded from every logical record.
    Insert option in effect for this table: TRUNCATE
    TRAILING NULLCOLS option in effect
    Column Name Position Len Term Encl Datatype
    ---------- ---- ---- C_N_NUMBER FIRST * , O(") CHARACTER
    COMP_CODE NEXT * , O(") CHARACTER
    CPT_CODE NEXT 4 INTEGER
    C_N_AMT NEXT 4 INTEGER
    CM_NUMBER NEXT 4 INTEGER
    Table C_N_DETL_TAB:
    20 Rows successfully loaded.
    0 Rows not loaded due to data errors.
    0 Rows not loaded because all WHEN clauses were failed.
    0 Rows not loaded because all fields were null.
    select max(length( CPT_CODE))from C_N_DETL_tab ---> 9
    can u tell me why I need to increase size of table columns upto max value?although length of data is soo much less.
    kindly check it..thnx in advance...
    rgds,
    pc

    No database version of course. Unimportant.
    If I recall correctly, it is 'integer external ' and you would best double quoting the alphanumerics (which you didn't ).
    Try changing integer in integer external in the ctl file.
    Sybrand Bakker
    Senior Oracle DBA

  • Needs a solution for loading Crystal Report

    Hi.....
    I have already desiged & loaded crystal reports through SAP B1 Main Menu.
    But I need help (Code in C#.Net) for loading a crystal report template(already created) for a System form (eg; A/R Invoice) immediately after the form load by a menu click(means through UI interface)
    and report generated by identifying the Forms Document Number.

    HI...
    See  this following link
    https://www.sdn.sap.com/irj/sdn/businessone?rid=/webcontent/uuid/807d22cb-cb1d-2b10-8794-fb76d7feca88#section2
    Regards
    Billa 2007

  • Special character issue while loading data from SAP HR through VDS

    Hello,
    We have a special character issue, while loading data from SAP HR to IdM, using a VDS and following the standard documentation: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e09fa547-f7c9-2b10-3d9e-da93fd15dca1?quicklink=index&overridelayout=true
    French accent like (é,à,è,ù), are correctly loaded but Turkish special ones (like : Ş, İ, ł ) are transformed into u201C#u201D in Idm.
    The question is : does someone know any special setting to do in the VDS or in IdM for special characters to solve this issue??
    Our SAP HR version is ECC6.0 (ABA/BASIS7.0 SP21, SAP_HR6.0 SP54) and we are using a VDS 7.1 SP5 and SAP NW IdM 7.1 SP5 Patch1 on oracle 10.2.
    Thanks

    We are importing directly to the HR staging area, using the transactions/programs "HRLDAP_MAP", "LDAP" and "/RPLDAP_EXTRACT", then we have a job which extract data from the staging area to a CSV file.
    So before the import, the character appears correctly in SAP HR, but by the time it comes through the VDS to the IDM's temporary table, it becomes "#".
    Yes, our data is coming from a Unicode system.
    So, could it be a java parameter to change / add in the VDS??
    Regards.

Maybe you are looking for

  • Help: iphone 4 does not sync with Outlook 2007 ANYMORE

    It used to, but not anymore :-( I have an iphone 4 and work with Microsoft Outlook 2007. In the beginning all worked perfect and I could sync my calendar from outlook with my iphone. Then one day it stopped working and I don't know why or what has ha

  • Create table based on previous desc

    hey, i'm trying to create a few tables based on a desc i recieved Name Type Nullable Default Comments SUBSCR_NO NUMBER(10) SUBSCR_NO_RESETS NUMBER(6) is there an automatic way to do it or iether i have to use the create table command and modfy it acc

  • Iphone 3g error when updating to  iphone 4.0

    This is my third attempt at adding the above, after approx 40 mins of backing up my Iphone I get the following error message Iphone 4.0 cannot be installed (error-402653138). Continuing this will cause you to lose all data on this phone - Does anyone

  • About the use of the developer key

    I am a newbie to Flash :[ I am trying to create a multi-player game and I found a VideoPhone sample that each client must have a key. But in this forum, I found a MMORPG that do not need any key for login. How can I do to implement this?

  • Problem to update delivery block (sales order header level)

    hi all, after few tries, we got message "Field 'LIFSK' cannot be changed, VBAKKOM 0001279765 ready for input". this message come when we try to update the delivery block with some value when the delivery block in the sales document is blank (no block