on 02-19-2011 11:00 PM
Hello,
I have created a report on crystal 2008.
I used the preview to verify that I got the wanted design.
Then, when I run it through the code, using the viewer, the outcome is different. For example - a running total field which is doing "sum" in the design mode, is now doing "count" when the report is showed through the viewer.
I am using VS2005 and crystal reports 2008, dlls are of version 10.2.3600.0. runtime verstion 2.0.50727
Any suggestion would be appreciated!
Thanks,
Shmulik.
Hello,
If you are using CR 2008 then you are not using that version at runtime. Remove all of your 10.2 assemblies and replace them with the 12.0.1100.0 and/or 12.0.2000.0 assemblies and try again.
CR 10.2 which is the basic version of Cr included with .NET and based on CR 10, CR 2008 is version 12 and therefore CR 10 is not aware of new functionality and features CR 2008 has.
Thank you
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
The Preview in the .NET IDE is using the ActiveX viewer, not distributable, when you are viewing at runtime you are using the CR.Windows.Forms viewer which is different.
It doesn't make sense why the type is changing.
Do as Adam suggests and the preview the exported report with saved data in the app, then hit the refresh button, log on and then compare to see if you have the same results.
Thank you
Don
Hi there again Don and Adam,
Thanks for the tip with saving it as .rpt - wasn't aware to the fact that I can do that. Anyway, I did it and the new report is different from the original - the running total field was changed from "sum" to "count". I need to take you one step backward to Don's first tip since I'm using another computer which doesn't have the 12.0.200.0 dlls. I tried to reinstall crystal reports 2008 and also the crystal reports runtime sp3 but the right dlls won't show up in the references' list. Any idea about that?
Thanks again for your tips,
Shmulik.
Hi Don,
I installed the sp3 full build but still can't see the right references in the references list.
I d/l the installation pack from this link:
Should I d/l and install the fix packs as well?
Should I try to uninstall the whole crystal installations and install it again from the beginning?
Please advise...
Thanks,
Shmulik.
Hi Don,
I'm using VS2005 team edition for software develops version 8.0.50727.42.
.net framework version 2.0.50727 SP2.
In the folder C:\Program Files\Business Objects\Common\4.0\managed I have 6 dlls:
CrystalDecisions.Enterprise.Desktop.report.dll
CrystalDecisions.Enterprise.Framework.dll
CrystalDecisions.Enterprise.InfoStore.dll
CrystalDecisions.Enterprise.PluginManager.dll
FlashControlV71.dll
ShockwaveFlashObjects.dll
More over, I have folder there named "dotnet2" (C:\Program Files\Business Objects\Common\4.0\managed\dotnet2) which contains:
CrystalDecisions.CrystalReports.Design.dll
CrystalDecisions.CrystalReports.Engine.dll
CrystalDecisions.ReportSource.dll
CrystalDecisions.Shared.dll
CrystalDecisions.Web.dll
CrystalDecisions.Windows.Form.dll
(these are the dlls i actually need and looking for in the references list in VS2005 and can't find.)
there are few more dlls there and a folder named "en" which contains more dlls...
How can I add those dlls (in the dotnet2 folder) to the reference list in VS2005 under .NET?
Thanks for your ongoing help,
Shmulik.
Hi Don,
Back to square one - I added the path (C:\Program Files\Business Objects\Common\4.0\managed\dotnet2) to the references path and the dlls appeared in the .NET references list.
I added the 4 relevant dlls (Engine, ReportSource, Shared and Windows.Forms) instead of the older references so now I have only those in my project's references list, crystal dlls wise (all of them are version 12.0.2000.0).
Anyway, I tried to show the report after those changes and I'm getting the same results - in the viewer I'm getting the running total to do "count" although when I edit the report and preview it, either in crystal 2008 or vs2005 it does "sum".
This is really really really odd...
Regarding your other questions:
1. I didn't add the \windows\assemblies folder once I saw the dlls showing. Should I add it as well?
2. I didn't try to do repair install. Should I try it? Should I use the full installation pack of crystal 2008 sp3?
3. VS was installed before CR.
Hope you have some idea regarding this problem, I'm quite frustrated...
Thanks,
Shmulik.
Hi Shmulik,
No you don't need to add the assemblies to the reference path.
Yes do a repair install.
When you Add a reference and open the Reference wizard in .NET are you clicking on the .NET tab or manually browsing to the assembly folder?
This is very strange, I suggest you purchase a support case and get a Rep to see what is happening using WEBEX or NetViewer session.
Thank you
Don
null
Edited by: Shmulik Shicht on Feb 21, 2011 11:36 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.