Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: crystall report 11 with crystal report viewer Post Reply Post New Topic
Author Message
shireen
Newbie
Newbie


Joined: 03 Sep 2012
Location: India
Online Status: Offline
Posts: 4
Quote shireen Replybullet Topic: crystall report 11 with crystal report viewer
     Posted: 03 Sep 2012 at 12:41am
Hello guys,
I am new to crystal report, i install crystal report 2011 on 64bit machine , i don't know about crystal report viewer , when i run that report through viewer a blank page is display so is there any comparability problem with viewer or any other reason .
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 04 Sep 2012 at 4:22am
There shouldn't be an issue with the viewer.  However, you MUST have 32-bit database client and, if you're using an ODBC connection it MUST be a 32-bit connection.  Crystal does not work with 64-bit data connections.
 
-Dell
IP IP Logged
shireen
Newbie
Newbie


Joined: 03 Sep 2012
Location: India
Online Status: Offline
Posts: 4
Quote shireen Replybullet Posted: 04 Sep 2012 at 5:53pm
If i run the report separately then its working when i am running the same report through crystal report viewer(asp .net code) then its showing blank page.
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 05 Sep 2012 at 3:12am
When you run the report separately, where are you running it?  Is it on the same machine as your asp.net code is running on?  What code are you using to load the report into the viewer?
 
-Dell
IP IP Logged
shireen
Newbie
Newbie


Joined: 03 Sep 2012
Location: India
Online Status: Offline
Posts: 4
Quote shireen Replybullet Posted: 05 Sep 2012 at 6:07pm
through asp .net code i am opening the crystal report, i am embedding the crystall report into asp .net ,normally when i doble click on report then its display correct and the same report i am using in asp .net its not working the code which i use is
ReportDocument Rd = new ReportDocument();
            Rd.Load(Server.MapPath("Report.rpt"));
            Rd.SetDataSource(DT);            Rd.SetDatabaseLogon("username", "pwd",@"server", "dbname");            CrystalReportViewer1.ReportSource = Rd; CrystalReportViewer1.DataBind();


this is working with crystall report 2010 but not with crystall report 2011
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 06 Sep 2012 at 4:09am
What type of DataSource is DT? 
Also, when I use ReportDocument and a DataSet, I've never had to call DataBind() on the viewer - I would try commenting out that line and see what happens.
 
-Dell
IP IP Logged
shireen
Newbie
Newbie


Joined: 03 Sep 2012
Location: India
Online Status: Offline
Posts: 4
Quote shireen Replybullet Posted: 09 Sep 2012 at 9:36pm
i comment out the line then also its not working
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum