Print Page | Close Window

CR XI and dynamic images

Printed From: Crystal Reports Book
Category: Crystal Reports .NET 2003
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=5918
Printed Date: 04 May 2025 at 8:35am


Topic: CR XI and dynamic images
Posted By: Jdomkus
Subject: CR XI and dynamic images
Date Posted: 29 Mar 2009 at 12:13pm
I am trying to load a dynamic image from my c:\id directory with the link in a database field using vs 2008 and vb (Web page).
 
When I run the report in the crystal designer everything works fine. But when I trying running it in debug mode from the vs 2008 studio, the default image keeps coming up. which tells me the image is not being found but why?
 
The report is nothing special with one parameter field for the id number which pulls all the data from the database correctly. I have even displayed the database filed for the image on the report and it appears to be correct.
 
Is it a permissions issue with IIS
 
Thanks in advance, I have been trying for three days to figure this out.



Replies:
Posted By: hilfy
Date Posted: 01 Apr 2009 at 2:53pm
Yes, it is a permissions issue.  Either the ASP.NET local user (ASPNET) or the "Internet Guest Account" (usually IUSR_<computer name>), I'm not sure which, needs to have access to the folder where the images are located.  For websites, sometimes it's easier to create a virtual directory in IIS for the folder that contains the images and work from there.  If you create the virtual directory under you application directory, you should be able to just strip off the drive letter in order to point to it.
 
-Dell


-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics


Posted By: Jdomkus
Date Posted: 02 Apr 2009 at 4:29pm
Thanks for your response, but the issue was I was trying to use Crystal Reports XI in visual studio 2008, but visual studio does not use the 11.0 assemblies only the 10.5.
 
Since dynamic images is new in 11.0, that is why it was not working
 
We need to get CR 2008 in order for it to tie in to Visual studio 2008 and use the new features.


Posted By: joelklein
Date Posted: 18 May 2009 at 11:49am
I am putting in dynamic images and I am getting this error
 
Event Type: Information
Event Source: Application Popup
Event Category: None
Event ID: 26
Date:  5/18/2009
Time:  2:40:15 PM
User:  N/A
Computer: JAYNTSVR5
Description:
Application popup: Crystal Reports - [Inventory Graphics Report.rpt]: crw32.exe - Application Error : The exception Integer division by zero.
 (0xc0000094) occurred in the application at location 0x2c03a410.
Click on OK to terminate the program
Click on CANCEL to debug the program
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp - http://go.microsoft.com/fwlink/events.asp .



Print Page | Close Window