cancel
Showing results for 
Search instead for 
Did you mean: 

Issue while loading crystal Report.

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

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

Answers (0)