Skip to Content
author's profile photo Former Member
Former Member

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on May 09, 2014 at 02:35 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.