Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Problem with ASP.NET crystal reports web site in VS 2005

Thread Tools

Problem with ASP.NET crystal reports web site in VS 2005

Posts: n/a

I created a ASP.NET crystal reports web site in VS 2005. I wanted to display
the data in a DataSet in the Crystal Reports viewer control. I am getting the
DataSet from another dll. The documentation says that I need to add a new
item - Crystal report, with a blank report in the project which will
automatically create a class say CrystalReport1 in my project (if the name of
the crystal report added is CrystalReport1.rpt). I should then use this class
- create a new instance and then SetDataSource on this object to the DataSet.
Then I need to set the ReportSource property of the Crystal Reports Viewer
control to this CrystalReport1 object.
The problem I am facing in VS2005 is that when I add a Crystal report item -
CrystalReport1.rpt - to the project, it is not creating the corresponding
class file CrystalReport1.cs. Because of this when I try to create an object
of CrystalReport1 its giving me an error that the type or namespace name
could not be found.

Does anybody know the solution to this problem?
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Deploying web site with Crystal Reports Scooby Dog ASP .Net 5 10-11-2012 06:46 PM
How to launch reports (done with Crystal Reports) from a Java application? Java 2 03-15-2006 08:40 PM
First time crystal report user - How do i create a crystal reports from web form? Learner ASP .Net 1 01-11-2006 08:20 PM
Problem with ASP.NET crystal reports web site in VS 2005 =?Utf-8?B?TW9uYWxp?= ASP .Net 0 11-24-2005 06:08 AM
Calling Crystal Reports in ASP.NET using the rptserver.asp given by Crystal Reports Peri ASP .Net 1 07-21-2005 12:56 PM