Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

chart graphics not displaying

Status
Not open for further replies.

Trainingjason

Instructor
Dec 6, 2001
127
GB
Hi

I have installed win xp professional as a web server, along with vb.net and separately cr9. I have used the sample reports from vb.net, and loaded them into the the correct web directory. Unfortunately the charts are not displaying, also drill down icons are not displayed. Whilst other features from the report are displayed. Any thoughts appreciated

Jason
 
No, any graphics via the web including icons does not show.

Sorry about the delay
 
This seems to be a common problem (looking at past threads) - we are encountering a similar problem with RAS - reports run fine in the designer, however when web-enabled via RAS no images (BMP's etc.) or charts display - everything else seems to work correctly.

Peter Shirley
 
I have spoke to someone who thought I may have IIS virtual directories set up wrong, but I am a little unsure how to check and what to check for.
 
Response from Crystal (Business Objects):

At first glance, it appears that if this only occurs on reports with graphs or pictures, then the PNG files that are put in temporary directories for your IIS to access are not accessible. Normally, RAS will place temporary
reports and pictures associated with those reports in C:\Winnt\Temp by default. Check the allowed users and their permissions on this directory. Take a look at the PNG
files in this directory and see if you can see the graph or picture that should be coming up in your report. If not, they might instead be stored under your profile's temporary directory. To add give your IUSR account access to this directory, right click on the C:\Winnt\Temp\ directory,
select 'Security' tab, and then click 'Add' to add the IUSR account. Under the 'look in' drop down box, select the local machine, and then select the IUSR_PARV<<machinename>> account to the directory to access. Then click 'OK', after that you can give this account read access to this directory.

Peter Shirley
 
I resolved it by looking at the html files, i found the image folder and icons under the viewers folder

C:\Program Files\Microsoft Visual Studio .NET 2003\Crystal Reports\Viewers

I copied the structure to the even though I had created an asp.net application, and it picked up the graphics.

Not sure if I also did a red herring, but I went to the references for crystal reports and changed a property.

But thank you for all your help
 
Below is some help the problem with RAS.
Also when working with RAS, you may need to open up RAS under Control Panel\Administrator Tools\Services and fix the log on info. I had to do that but I don't remember what problem it solved....

Why do the toolbar images not appear, and how can this be resolved?

Solution

The images do not appear because the CrystalReportViewer is unable to locate the 'crystalreportviewers10' folder in which they are located.

To resolve this behavior, in the Java Web Application Server's 'web.xml' file, set the value of the 'crystal_image_uri' parameter to the path to the 'crystalreportviewers10' folder. The viewer creates a reference to the 'crystalreportviewers10' folder based on the location of the Java Server Pages (JSP) file in which it is contained.

For example, if the JSP file were in the 'Reports' sub-folder (with 'WebApp1' being the root folder) of the web application, the value of the 'crystal_image_uri' parameter would be set in the 'web.xml' file as follows:

<context-param>
<param-name>crystal_image_uri</param-name>
<param-value>\WebApp1\Reports\crystalreportviewers10</param-value>
</context-param>

 
What I forgot to mention, in vb have a look at the html code, there is another folder you need to create which the image files are put in

j
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top