Solved

REP-108: File error - 6i Report

Posted on 2006-11-27
4
2,259 Views
Last Modified: 2008-01-09
I am using Oracle reports 6i on Oracle10g database and getting error

“REP-108: File 'V:\ora10gias\reports\webreports\cw_report_logo_700pixel_wide.jpg' not found.


When running report on application server. Image is placed in the same directory where my rdf file is located.


Can someone please suggest some idea that I can use to get application server recognize image when running report from my web-site.

Thanks.
0
Comment
Question by:mohammadzahid
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 35

Expert Comment

by:Mark Geerlings
ID: 18025213
The two options that I am aware of for locating files for Forms6i and Reports 6i are either:
1. put them all in the same directory and make sure that it is the working (or "start in") directory for the forms and reports runtime executables
or:
2. add directories to the FORMS60_PATH or REPORTS0_PATH registry entries for the directories that you want Forms or Reports to search in for files (but be aware that there is a 254 byte limit - so if you have multiple, long directory names this could be a problem.)
0
 
LVL 11

Author Comment

by:mohammadzahid
ID: 18025539
Hi markgeer,

Good to hear from you.

My environment is little different. I am developing, coding, linking a report (.rdf) file to an image file (residing on local drive) on a Windows XP machine. XP machine is connecting to Oracle 10g running on linux.

Problem is when I build/compile reports on windows xp image properties in .rdf file is pointing to an image directory on XP. Is there anyway I can define image directory at the runtime of the report?

Thanks.

0
 
LVL 35

Accepted Solution

by:
Mark Geerlings earned 500 total points
ID: 18027561
I'm not sure what is different about your environment.  The image file and the *.rdf either have to both be in the "working directory" for the reports runtime engine, or the image file has to be in a directory that is included in your REPORTS60_PATH.

If you deploy this *.rdf file to an application server (or to a different WindowsXP machine) you have to copy the image file there too along with the *.rdf (or *.rep) file.

Where the database is doesn't matter, and it doesn't matter if the database server runs Windows, Linux or UNIX.  Your issue is an Oracle Reports issue that is local to the client or the application server.
0
 
LVL 11

Author Comment

by:mohammadzahid
ID: 18029510
You are correct. I was able to compile my reports by defining REPORTS_PATH in user environment.  Thanks.

0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question