[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2445
  • Last Modified:

REP-108: File error - 6i Report

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
mohammadzahid
Asked:
mohammadzahid
  • 2
  • 2
1 Solution
 
Mark GeerlingsDatabase AdministratorCommented:
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
 
mohammadzahidAuthor Commented:
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
 
Mark GeerlingsDatabase AdministratorCommented:
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
 
mohammadzahidAuthor Commented:
You are correct. I was able to compile my reports by defining REPORTS_PATH in user environment.  Thanks.

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now