on 05-04-2007 5:13 AM
I am playing with the sample webdemo files under CMC in Crystal 10.
When I try viewing a report I was getting red X's for all my images. I traced the path to find I had spelled the virtual directory "crystalreportviewers" wrong. (this virtual path is a Crystal 9 path)
I fixed that and now I get all the button images but none of the report images like my company logo and the chart (graph). When I load the URL for those into the browser it doesn't find them until I change it to "crystalreportviewers10" (which is what it should be for CR10 reports.
My question is how and why are there 2 different paths being used in these reports and how do I fix it?????
Thanks
Hello,
The virtual directory being sought out for your chart and company logo files are driven by the SDK version you are using. The fact that it is seeking out CrystalReportViewers10 is expected.
Therefore if the toolbar images are not showing up I suspect that you are getting the virtual directory name right (suffixed with '10') but the actual physical files for the toolbar images do not exist in the path you are pointing the virtual directory to. This makes sense since the chart and logo images are temporary files generated on the fly and would not be subject to this issue.
Cheers, Dylan
<p><strong>Dylan Lopez - </strong>604.628.4467 </p><p>Previously: Microsoft .NET Resource in Developer Support @ Business Objects</p><p>Currently: Principal @ Inno Software Inc / Independent Contractor Group</p>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK but.....
All the image paths in the reports are looking in "crystalreportviewrs" which is a Crystal 9 virtual directory, yet I am working with Crystal 10 reports and Enterprise.
What I was saying before is that if I cut&paste the url from the image properties into the browser and change it to
"crystalreportviewrs10" it finds the dynamic images.
Why would the reports be looking in a Crystal 9 path?
How do I make sure the correct SDK is installed for CR10?
Thanks again
I see,
Based on that behavior I highly suspect that while you are attempting to use the CR10 SDK it is still loading the CR9 SDK. Here are two steps to help you isolate this.
1) Download this application to test to see what assemblies (DLLs) are being loaded by your application.
WARNING: Watch out for "%20" be inserted where this URL breaks if you copy/paste it...
(Alternatively you can find it by typing "modules.zip" in the support page - it is usually the 2nd hit.)
Run your application, then open the modules.exe and click the "binoculars" icon. This will give you a scan of what DLLs are loaded. I bet you'll see 9.x versions.
Having confirmed this...
2) You'll need to check your application references and look at the control tags that end up in .aspx page that your Crystal Report viewer is on. (This assuming you are using .NET) Another test is to make a new test application with only one page with a newly pasted viewer on it. Run modules to see if this loads the version 10 DLLs.
Cheers, Dylan
<p><strong>Dylan Lopez - </strong>604.628.4467 - dylan.lopez@inno.ca</p><p>Previously: Microsoft .NET Resource in Developer Support @ Business Objects</p><p>Currently: Principal @ Inno Software Inc / Independent Contractor Group</p>
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.