Click here to Skip to main content
13,042,166 members (92,432 online)
Click here to Skip to main content
Add your own
alternative version


12 bookmarked
Posted 23 Apr 2004

Solving the problem of 'Object Instance not created' in while using Crystal Reports

, 28 May 2007
Rate this:
Please Sign up or sign in to vote.
Solving the problem of 'Object Instance not created' in while using Crystal Report


It is easy to use crystal report in VB.NET or C#.Net. But when using Crystal Report in ASP.Net some problems can occur. One of the problems is the error Object Reference not set.......

Why this happens

This happens because you had not set virtual directory for the Crystal Report viewer, so the viewer can not be initialised.


The solution for this is simple just create a Virtual directory Named CrystalReportWebFormViewer which is pointing to <Visual Studio installled folder>\Crystal Reports\Viewers (Usually it is C:\Program Files\Microsoft Visual Studio .NET\Crystal Reports\Viewers). Now refresh, and your report will run properly.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Praveen Venu
Web Developer
India India 3.5 Yrs experiance in VB.Net,C#.Net and ASP.Net, Ajax and SQL Server
Working with Courtport LLC as a Project Leader now

You may also be interested in...

Comments and Discussions

Generalabout calendar in Pin
nirav9915-Feb-05 20:03
membernirav9915-Feb-05 20:03 
GeneralWOW Pin
Jubjub25-Apr-04 18:22
memberJubjub25-Apr-04 18:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170713.1 | Last Updated 29 May 2007
Article Copyright 2004 by Praveen Venu
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid