on 12-04-2009 7:14 AM
I used Crystal report 10.5(VS 2008 base crytal report -- CRRedist2008_x86.msi), i developed one c# winform program(i used .net 2.0), It will call a Crystal report file, and view the report result.
At VS 2008 IDE, i can see the toolbar images at winform, but after i build the solution and exectue the exe file, the images are missing. when i move mouse to the toolbar, i know the function still are there, such as export, print etc, they work well, but just images are not displaying.
The reportViewer properties has no problem, i set to enable and display true.
PS: 1. it's NOT a web application, just window application.
2. My OS is windows XP SP3,
3. The tool images could dispaly at ista and Window 7.
Thanks,
Bingfu
Prosource Development.
See [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50aa68c0-82dd-2b10-42bf-e5502b45cd3a] article.
As an FYI, for dynamic image issue see [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0437ea8-97d2-2b10-2795-c202a76a5e80] article.
Ludek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Ludek!
I went through the document which you referred. I'm sorry i did not resolve the problem yet.
My application is a window application instead of an asp.net deployment. here is how did I develope my project.
I installed CRRedist2008_x86.msi and .net Framework 2.0 as precondition, and then i used CR 10.5 which is in CRRedist2008_x86.msi ; as reference in the project. At developing phrase, i could see the image, but when i build and run project, i did not see the toolbar images(no red X, too). At same time, the functions(such as export, print) buttons work well.
I'd like to send you a screenshot, but i don't know how to paste it here.
Thanks,
Bingfu
Hmm. This is a weird one. Never heard of anything like this with a win app. May be a video driver(?). Are you deploying to some laptop? Have you tried this on another computer that has XP? Would love to see an image. You'll have to figure out a place to post it for me as this system does not accept attachments.
Ludek
Hi, Ludek
I run the program at my laptop(Lenovo Thinkpad R400), windows XP sp3, my workmates run the program at the desktop(Dell Dimension 4600), my customer machine is a desktop,too (i don't know the its brand). Both these machines operation system are window xp.
I put the screen shot here, please take a look,
http://www.sdn.sap.com/irj/scn/weblogs?blog=/cs/junior/view/wlg/17019
Thank you very much! Ludek.
Bingfu
Edited by: Bingfu on Dec 8, 2009 2:41 AM
Hi, Ludek
The working computers are windows Vista and WIndows 7, i tried at Window vista to change its Color Quality, Screen resolution, DPI setting, set Hardware acceleration to null. Vista still could display toolbar image. Also i tried at XP sp3, it still could not display tool bar images.
I'm worring is it related to GDI, do you have idea of this?
Thanks,
Bingfu
Never, ever heard of this issue. Nor has anyone else here. What happens if you try one of our sample apps from here;
https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
The "Simplepreview" app would be best to try.
Have you tried this on other XP computers?
Ludek
Hi, Ludek
The problem disappears when i changed the Crystal report dll.
Originally, I used the crviewer.dll.dll and craxddrt.dll under Program Files\Business Objects\Common\2.8\bin
Today, I removed old ActiveX CrystalActiveXReportViewerLib105 etc references, i start to use CrystalDecisions.CrystalReports.Engine.dll, CrystalDecisions.ReportSource.dll, CrystalDecisions.Windows.Forms.dll and CrystalDecisions.Shared.dll after i read the example which you provided.
Fortunately, i could see crystal report toolbar images, and it works at all XP machines and Vista,too.
I thought the problem may be in ActiveX Crystal report viewer, without ActiveX, CrystalDecisions report viewer works well.
Ludek, thank you again!
Thanks,
Bingfu
Oh, never occurred to me that you'd be using craxddrt.dll. Craxddrt.dll is not licensed for use in .NET. See [this|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414700)ID0468837450DB00359707053703393347End?blog=/pub/wlg/15939] blog.
Ludek
Edited by: Ludek Uher on Dec 10, 2009 10:40 AM
Hi, Ludek
There is reason why i used craxddrt.dll. Our company is a Syspro reseller, so we did many programs around Syspro. As Syspro 6.0 used Crystal Report 11 runtime dll. So my program refered the Syspro CR 11 runtime dll. Then i used crviewer.dll version 11. So customers don't have to install any other CR runtime files. Acutally, they did work.
Later, I want to develope the programs which is independtent from Syspro environment or DLLs. So i chose to use Crystal report embeded in VS 2008, it's 10.5. I considered craxddrt.dll and crviewer.dll still work, mostly they did work, but just toolbar images has problem.
I'm sorry i did not mention the crviewer.dll which is under bin folder, i just knew it's not recommended to use from your blog.
Thanks,
Bingfu
Well, it's not only not recommended, it is against the licensing agreement.
For all who may be following this thread. It is not allowed to use the craxddrt.dll in a .NET application and if you are using it, you are in violation of the license. See [this|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414700)ID0468837450DB00359707053703393347End?blog=/pub/wlg/15939] blog for more details.
Ludek
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.