ORA-20001: Image prefix must end in '/' when running RESET_IMAGE_PREFIX.SQL SCRIPT (Doc ID 1626487.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Application Express (formerly HTML DB) - Version 4.2.3 to 4.2.4 [Release 4]
Information in this document applies to any platform.

Symptoms


When running the RESET_IMAGE_PREFIX.SQL SCRIPT to change the virtual image name at database it gives errors

The issue can be reproduced at will with the following steps:
1. Connect into the database as SYS
2. Change directory to <apex4.2_directory>/utilities

3. Ejecute the Query and Enter the new virtual image name

SQL> @reset_image_prefix.sql
 
Enter the Application Express image prefix [/i/] /k/

4.- Observer this Result/Errors
 ...Changing Application Express image prefix
 
NEW_IMAGE_PREFIX
---------------------
/k/reset_image_prefix
 
PL/SQL procedure successfully completed.
 
begin
*
ERROR at line 1:
ORA-20001: Image prefix must end in '/'
ORA-6512: at line 3

 

Changes

 Recent upgrade to Apex 4.2.X

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms