Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > .NET Framework 2.0
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 4th, 2006, 04:44 AM
Registered User
 
Join Date: Mar 2006
Location: Rawalpindi, Pakistan, Pakistan.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem in Crystal Report in VS.NET 2005


Hi everybody ,

Can somebody help me in the following problem.

I have converted ASP.NET 2003 project to ASP.NET 2005 it has converted all required files to 2005 format successfully , but it is not displaying crystal report in report viewer by throwing Exception "Unable to find the report in given manifest , rebuild the project and run again like this" . The code snippts is as below:

ReportClass oRpt = new Reports.rptXpressFollowUp();

oRpt.Load();

oRpt.SetDataSource(ds);

Session["oRpt"]=oRpt;

rptViewer.ReportSource = oRpt;

Also how i can create object of CrystalReport as i do in 2003 version like

new CrystalReport( ). In 2005 version .cs file of crystal report is missing. How can i overcome this problem.


Saeed Nawaz.
Sr. Software Engineer / Team Lead
Reply With Quote
  #2 (permalink)  
Old March 4th, 2006, 03:59 PM
Friend of Wrox
Points: 4,332, Level: 27
Points: 4,332, Level: 27 Points: 4,332, Level: 27 Points: 4,332, Level: 27
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2003
Location: , NJ, USA.
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

I think you have to recreate the pages for vs2005. I have some CRs and I use the CRViewer and CRReportSources controls. Configure the CRReportSource object. Then in the code behind:

CrystalReportSource1.ReportDocument.DataSourceConn ections.Item(0).SetConnection("<server>", "<database>", False)
CrystalReportSource1.ReportDocument.DataSourceConn ections.Item(0).SetLogon("UId", "PW")

Jim


Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deploye crystal report with VB.NET 2005 zrtv Crystal Reports 2 June 6th, 2009 08:09 AM
Crystal Report problem in ASP.Net aliirfan84 ASP.NET 2.0 Professional 0 July 11th, 2007 02:11 AM
Crystal Report Problem with ASP.Net 2.0 aliirfan84 ASP.NET 2.0 Professional 1 June 17th, 2007 01:39 AM
Facing problem using crystal report in VS 2005 dinesh_bali ASP.NET 2.0 Professional 0 May 5th, 2007 03:33 PM



All times are GMT -4. The time now is 12:36 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.