10 7 Image file is not found when executing your application

Web Functions Wizard

10.7 Image file is not found when executing your application

When you execute your Web function application, you are receiving an error saying that an image cannot be found. When you check the Web Functions Wizard, the relating image file name is blank. It appears as if no file has been specified.

For example, in your finished application the Company Logo image cannot be found.

Solution

View your HTML source from the browser to see what file name is being used. If no file name has been specified, then a blank file name has been specified in the Wizard. You must enter a valid file name.

If an image has been entered, check that the image exists in the image location configured for LANSA for the Web server. Use the Image button to verify the Image exists.

This situation also occurs when you specify a file name for an image and then change the field to blanks. Once a name has been specified, the graphic variable is created. If you change the file name to blank, it does not delete the variable but stores the blank value. If you do not want the process specific image used, you must manually delete the associated graphic variable using the Web Function Editor.