| Author |
Message |
shireen
Newbie
Joined: 03 Sep 2012
Location: India
Online Status: Offline
Posts: 4
|

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 Logged |
|
|
|
hilfy
Admin Group
Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
|

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 Logged |
|
shireen
Newbie
Joined: 03 Sep 2012
Location: India
Online Status: Offline
Posts: 4
|

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 Logged |
|
hilfy
Admin Group
Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
|

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 Logged |
|
shireen
Newbie
Joined: 03 Sep 2012
Location: India
Online Status: Offline
Posts: 4
|

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 Logged |
|
hilfy
Admin Group
Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
|

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 Logged |
|
shireen
Newbie
Joined: 03 Sep 2012
Location: India
Online Status: Offline
Posts: 4
|

Posted: 09 Sep 2012 at 9:36pm |
|
i comment out the line then also its not working
|
IP Logged |
|
|
|