Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loading Crystal Report Viewer (New to Web Forms)

Status
Not open for further replies.

JPdev

Programmer
Mar 30, 2004
8
GB
Hello,

I'm trying to set up a crystal report viewer in a web form using vb.net/asp.net. I'm finding that the following line

CrystalReportViewer1.ReportSource = "C:\\TRAUMA_1.rpt"

followed by

CrystalReportViewer1.Refresh()

Is failing with...
Object reference not set to an instance of an object.
etc...

Does anyone have any tips on how to setup a simple Crystal Report viewer in a web form. I've done this before in Windows Forms and not had trouble?

 
Generally, you need a Report Object ... not the name of a report file ... as your report source.

This however is the VB5/6 forum and you should probably check out forum796 (VB.Net) for an answer better suited to your development platform.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top