Print Page | Close Window

VS2003 - Cannot 'see' report

Printed From: Crystal Reports Book
Category: Crystal Reports .NET 2003
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=1412
Printed Date: 03 May 2024 at 2:34am


Topic: VS2003 - Cannot 'see' report
Posted By: Shauny-pie
Subject: VS2003 - Cannot 'see' report
Date Posted: 01 Oct 2007 at 2:17am
Hi.  I am working on one of our older projects based on VS2003/ASP.NET/C#, and as such I need to create a few reports within this web-site.
 
Whenever I try a 'demo' project with an aspx file, I can add in a report and the ReportDocument object picks it up and gives all the strongly types optione etc.
 
However, in my existing project, I add my report in but the ReportDocument cannot see it - it just gives untyped ReportDocument as the option.  I have tried changing the namespace in the C# default generated code to match the projects default namespace but that had no effect!
 
Please can someone advise on:
i)  why it cannot see the report (added a number of ways and even one created within V2300, but still cannot see it)
ii) Any way to get the ReportDocument bound to my crystal report in the project?
 
Any help or advice would be greatly appreciated, and I will buy the first few beers Wink
 



Replies:
Posted By: BrianBischof
Date Posted: 01 Oct 2007 at 10:08am
Are you doing everything in VS 2003 or some in 2003 and some in 2005? VS 2005 ASP.NET doesn't do typed reports anymore. But the VS 2003 has no problem with them. So I'm surprised if you are getting this problem in 2003.

-------------
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>


Posted By: Shauny-pie
Date Posted: 02 Oct 2007 at 12:51am
Hi,  Thanks for the reply.
 
No this is all being done is VS2003.  When I import an existing report (Crystal 10) with a default web-site (i.e. from scratch) it can see the report fine, but when I add a new web-form into an existing project with the same report included in the project it can't see it.  Even if I create a mew report with the internal Crystal designer it still cannot see it!
 
This si ok though, I think I can do this in code rather than with the design tray etc.  I will give it a go.
 
Shauny.



Print Page | Close Window