Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying a report on a web form -Part Two
Message
General information
Forum:
ASP.NET
Category:
Reporting
Miscellaneous
Thread ID:
00712484
Message ID:
00712501
Views:
8
Hi Mike,

Here are some articles that step you through the process of creating Crystal Reports in .NET. I'm thinking that you are just missing a "critical" step to get the report to display properly. The error that is generating tells me that some where in your code you are missing creating an object.

http://www.dotnetjunkies.com/tutorials.aspx?tutorialid=453

http://www.devx.com/codemag/articles/2002/JulyAug/CrystalReports/codemag-1.asp

http://www.dotnetextreme.com/articles/CrystalReports.asp

http://www.aspfree.com/authors/jitajay/crystalreport.aspx

http://www.aspalliance.com/articles/CR1.aspx


>Ok - I'm at the end of my rope with this report.
>I can see the report at design time.
>I have set the ReportSource to "C:\Inetpub\wwwroot\MyWeb\CrystalReport.rpt"
>After the call to InitializeComponent(), I added CrystalReportViewer1.DataBind()
>
>I get Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
>
>And a Stack Trace (that I'm sorry but I dont understand it)
>
>What in the world am I NOT doing.
>
>The CR Report expert adds several references that I have set the property of Copy Local = true
>
>Please help, I've spent all D*#^ day trying to make this simple thing work.
>
>Thanks In advance
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform