reset_image_prefix. SQL does not work

Hello

My DB has two instances with two different versions of the top charge. One is the version 4.1.1 (works well) and I decided to upgrade the other 4.1.1 to 4.2. I created a new location in the httpd.conf file entry in my case of OSH to point to the new instance 4.2 referencing a new Alias image on the server. When I installed APEX 4.2 I showed the images the New Alias directory setting "i42' but it does not work. Applications always refer to is

I ran the script reset_image_prefix.sql with /i42/ as an input parameter, but the applications are always reference/i /.

There was a similar discussion in October 2012 and Patrick Wolf wrote on bug # 14785456.

But the BUG seems to be fixed?

After executeing the script Iget:

SQL > select text from dba_source where owner = 'APEX_040200' and lower (name) = "wwv_flow_image_prefix";

TEXT

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

package wwv_flow_image_prefix

is

constant g_image_prefix VARCHAR2 (255): = ' / i42 / ";

end wwv_flow_image_prefix;

4 selected lines.

Is there a solution?

Kind regards

Carola

Hi Carola,

What exact version of APEX 4.2 do you use? Are you using the latest 4.2.2? Because it includes the hotfix that you referenced. After installation of this version or the patch installed, it will automatically erase all the prefixes image-level asks if they are identical to the current instance image prefix. So in your case, you should set the prefix image back to / i /, install the hotfix and then reset_image_prefix again to set the parameter instance/i42.

Joel has some useful information on this blog (YABAOAE) yet another Blog about Oracle Application Express: prefix of Image Exchange in Oracle Application Express 4.2.2

Some background info on reset_image_prefix.sql. Who has never changed the image prefix used in applications, only the prefix of image for our application Builder.

Concerning

Patrick

Member of the APEX development team

My Blog: http://www.inside-oracle-apex.com

APEX Plug-Ins: http://apex.oracle.com/plugins

Twitter: http://www.twitter.com/patrickwolf

Post edited by: PatrickWolf

Tags: Database

Similar Questions

  • Why this SQL does not work?

    The following code does not work when I try to delete rows from a table of test. The test table has no unique or primary key on it and is defined as test (identification number). Can you explain to me why it doesn't work?


    delete from test a where a.rowid in (select b.rowid from test b where b.id = a.id and b.rowid != a.rowid);




    When I run the subquery (selection) with replacement of the actual values of a.rowid and the table queried a.id (IE.select b.rid from test2 b where b.id = 1 and b.rid != 'XXX'

    ), the subquery returns exactly as expected (that is to say, it gives the rowid is different from that which went from subquery). And as although I know the internal subquery must return the result for each row of the table in the outside circle delete statement, and only after that should execute the delete statement. For example, for the first row of the table in the external suppression, the delete statement must send the ID of the first row in the internal subquery and then wait the result which should return. And then runs the delete statement, in which case the subquery must return the rowid is different from that which went from subquery (ie.

    b.rowid != a.rowid

    ). Am I wrong? What is the error in this statement.


    P.S. The sql is also not working if we replace remove it with the update or select

    in this case, the subquery must return the rowid is different from that which went from subquery (IE.

    b.rowid != a.rowid

    ). Am I wrong? What is the error in this statement.

    You are right that this subquery should return other than past rowid thr. But you used the IN clause as well as below:

    where a.rowid in

    What States remove the line if rowid returned by the subquery contains the identifier for the row whose ID was passed. As the inner query is to return another rowid, therefore, no row is deleted.

    To remove duplicate lines, try the query (Replace tablename/columns with your) below:

    DELETE FROM emp A

    WHERE A.ROWID > ALL (SELECT B.ROWID

    PEM'S B

    WHERE A.empno = B.empno);

  • SQL does not work

    I posted this already, but I can't so I'm posting again so apologies...

    I downloaded Oracle Express. I used the utilities tab and downloaded a file. I can see the file with "select * from all_tables ' and I can't
    see that I am the owner. I have s/n privs, and using the object browser, I can see the data and and I have granted all privileges to the public.
    Although I can see the table of the dictionary with SQL, and object browser, I am the owner; but, SQL will not allow me
    describe the table
    Select from the table
    even remove the table, so I can recreate another way.

    All I get never the SQL tab or BACK SQL command line is "ORA-00942: table or view does not exist '- but it does not exist under my ownership and all privileges have been granted on the table. What's wrong? Thank you... Richard ([email protected])

    You need to learn how to CUT & PASTE

    Select * from 'Movie '.

    has provided previously you & you still ignore it.

  • Plu SQL does not work with suse 11

    Hello

    I am trying to oracle 11 g and when I try to run sqlplus it tell me:

    Error 6 initialization sqlplus
    SP1 file < lang > .msb not found message
    SP2-0750: you may need to set ORACLE_HOME in your Oracle software directory.

    After I run oraenv, I write the sid... but sqplus shows the same message.

    Any idea?

    Thank you

    user648940 wrote:
    Hello
    Any idea?
    Thank you

    Yes.
    Read this thread-> Re: SP2-0750

  • Form on SQL does not work

    Hello
    I'm trying to set up a form which will show only valid data for the current user.
    For example, on a single page I have a list of the employees who report to a Manager and configure an attribute of link on the name of the employee. When the User Manager click on the name of the employee, I want to create a branch to another page which allows the Manager to edit the details of the employee: name, address, education level, etc.

    However, whenever I click the link the employee details page arrives, but it a blank form. How can I make this form pre-filled with data from the employee record that was clicked on?

    Thanks for your help.
    -Reid

    In the same article with a text link: #USERNAME #, where you enter the name/value pairs, put P13_USERNAME as the name for the point 1 and #USERNAME # in the cell to the right of the value.

    Scott

  • I have a SSIS package that uses ODBC to connect to a progress database that does not work in SQL Agent

    I have a SSIS package that uses ODBC to connect to a Progress database.  It works fine in Visual Studio and it works very well in a batch file calling DTEXEC from the Windows Task Scheduler, but it does not work in the work of the SQL Agent.  It says that it cannot find the driver information.

    Hi Curt_DBA,

    The question you posted would be better suited in the MSDN Forums. I would recommend posting your query in the MSDN Forums (SQL Server Integration Services).

    MSDN Forum (SQL Server Integration Services)

    http://social.msdn.Microsoft.com/forums/en-SG/sqlintegrationservices/threads

    I hope this helps.

  • Case change keyboard shortcut does not work in the PL/SQL Editor

    I use the keyboard shortcut CTRL - SHIFT-"quite a bit to change the case of the code. I'm in the latest version of EA and this shortcut does not work for me in the PL/SQL Editor, but still does not work in SQL Editor. You do not know if this is normal or not, but miss me it.

    Unset for the Code Editor and spreadsheet and together for other category - then it will run in a SQL worksheet and an editor of proceedings

    The PPE of the cpu, if necessary, take a jstack and start a new thread.

  • Oracle Sql developer 2.1 does not work

    Hello
    Oracle Sql developer 2.1 does not work on my machine (Windows server 2003 pack 2 service) but works on xp and vista. On the other hand oracle datamodeller works very well.

    can someone help me?

    Thank you

    Who must have worked also. Do you all not basic ASCII characters in the path?

    K.

  • SQL Tokenizer based on regular expressions does not work

    I'm about 10 gr 2

    Suite SQL Tokenizer converts the string: str to help lines: as the delimiter-char delim (: str and: delim are parameters):

    Select the level, regexp_replace (regexp_substr (: in_str:: in_delimiter, '(.*?)' |: in_delimiter, 1, level),: in_delimiter, ") as token
    of the double
    connect regexp_instr (: in_str:: in_delimiter, '(.*?)' |: in_delimiter, 1, level) > 0
    order by level of CSA;

    When you use the pipe symbol "|" as the delimiter, it does not. the rows are processed, but the chips are null. Use another tank as a separator (for example ';') works very well.

    : str = "123; 456; A1; 67 X; 0; -8 "&: delim = ';' = > works very well"
    : str = "123". 456. A1 | 67 X | 0 | -8 "&: delim =" | "= > does not work"

    I think the bug is located in the regexp to the model parameter, is not it?
    Why does not the symbol of pipe as a delimiter?
    Can someone give me a clue to the use of the regexp pattern correct?

    THX
    Nuerni
    select level, rtrim(regexp_substr( :in_str || :in_delimiter, '(.*?)' || :in_delimiter, 1, level ),:in_delimiter ) as token
    from dual
    connect by regexp_instr( :in_str || :in_delimiter, '(.*?)' || :in_delimiter, 1, level ) > 0
    order by level asc ;
    

    use a rtrim instead of regexp_replace, then it works...

    Ravi Kumar

  • SQL query simple SQL Developer takes, the wizzard of XE does not work

    Hello everyone

    I wrote this simple query that developer SQL works well, but when I try to run a report based on this sql query, it tells me invalid sql statement. It's true, maybe it's not valid because this IF clause in there... but Developer SQL seems to be very tolerant or includes more...

    I wrote this is because obviously if there is no Boss, ie = 0 then I would get an error when it division by 0, so I put that 0 just for selecting the right


    If count (bosses) > 0
    Select company, zip code.
    sum (Boss/staff)
    assessment
    Group of company, zip code

    Thank you very much

    Alvaro

    Ok. This should work:

    Select company, zip code.
    -case when count (staff)! = 0 here end sum (Boss/staff)
    assessment
    Group of company, zip code

    If this does not work, could you please explain, how your table looks like?

  • Shortcut Ctrl-Qoute for Refacturing in the context of SQL-worksheet does not work

    Hello

    the shortcut ctrl-quote in the contextmenu for SQL-worksheet Refacturing does not work on my German keyboard. I am tired of all combinations... functionality works via the context menu, but it's too slow to call him 3 times to get the source code in lower case.

    ... Any help?

    Thanks, Jürgen

    Try redefining it in tools | Preferences | Accelarators.

  • Describe in SQL script does not work as you wish

    Hello

    Could you please help me determine why this script does not work.
    He said that the date is not set.

    Thanks in advance


    set p_day_sh = & data_sh
    set p_rowid_sh = & rowid_sh
    declare
    date of p_day_sh;
    p_rowid_sh varchar2 (18);
    Start

    If & p_day_sh is not null then
    trains t update
    Set t.offdate = to_date ('& p_day_sh ',' DD-MM-YYYY HH24:MI:SS')
    where t.rowid = '& p_rowid_sh';
    commit;
    end if;
    end;

    Hello

    In a command SET, if the string to the right of the = sign contains spaces, then it must be in quotes: in the case otherwise, only the first group of characters, white space will be affected.
    For example:

    define p_day_sh = &data_sh
    

    If & data_sh has this value:

    11-06-2009 06:25:09
    

    then the DEFINE command is

    define p_day_sh = 11-06-2009 06:25:09
    

    and & p_day_sh Gets the value of the part to the workspace:

    11-06-2009
    

    Either eliminate the space, Alex has proposed, or place the chain on the right side of the sign = in double - quote:

    define p_day_sh = "&data_sh"
    

    The double quotes will not change the meaning if & data_sh contains no white space.

  • APEX 4.0.1. does not work with IE8 or Firefox 3.6

    I've updated my brwser IE from 6 to 8: even the login page to find errors reporst APEX.
    The entire application does not work with Firefox.

    I do any customization for Firefox and IE8?

    Error messages (such as reported by IE8):



    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152 .NET CLR 3.5.30729;. InfoPath.2; .NET CLR 1.1.4322)
    Timestamp: Friday, October 22, 2010 07:49:27 UTC


    Message: Not terminated string constant
    Line: 8
    Char: 78
    Code: 0
    URI: http://127.0.0.1:8080/apex/f? p = 4550:1:2607772430187012


    Message: Invalid character
    Line: 1
    Char: 1
    Code: 0
    URI: file:///D:/apex4.01/apex/images/libraries/jquery/1.4.2/jquery-1.4.2.min.js


    Message: Invalid character
    Line: 1
    Char: 1
    Code: 0
    URI: file:///D:/apex4.01/apex/images/javascript/apex_4_0.js


    Message: Invalid character
    Line: 1
    Char: 1
    Code: 0
    URI: file:///D:/apex4.01/apex/images/javascript/apex_legacy_4_0.js


    Message: Invalid character
    Line: 1
    Char: 1
    Code: 0
    URI: file:///D:/apex4.01/apex/images/javascript/apex_widget_4_0.js


    Message: Invalid character
    Line: 1
    Char: 1
    Code: 0
    URI: file:///D:/apex4.01/apex/images/javascript/apex_dynamic_actions_4_0.js


    Message: Invalid character
    Line: 1
    Char: 1
    Code: 0
    URI: file:///D:/apex4.01/apex/images/libraries/jquery-ui/1.8/ui/minified/jquery-ui-1.8.custom.min.js


    Message: Invalid character
    Line: 1
    Char: 1
    Code: 0
    URI: file:///D:/apex4.01/apex/images/javascript/apex_builder_4_0.js


    Message: "apex" is not defined
    Online: 89
    Char: 1
    Code: 0
    URI: http://127.0.0.1:8080/apex/f? p = 4550:1:2607772430187012


    Message: Object EXPECTED
    Online: 46
    Char: 1
    Code: 0
    URI: http://127.0.0.1:8080/apex/f? p = 4550:1:2607772430187012


    Message: Object EXPECTED
    Online: 46
    Char: 1
    Code: 0
    URI: http://127.0.0.1:8080/apex/f? p = 4550:1:2607772430187012


    Message: Object EXPECTED
    Online: 46
    Char: 1
    Code: 0
    URI: http://127.0.0.1:8080/apex/f? p = 4550:1:2607772430187012


    Message: Object EXPECTED
    Online: 46
    Char: 1
    Code: 0
    URI: http://127.0.0.1:8080/apex/f? p = 4550:1:2607772430187012


    Message: Object EXPECTED
    Online: 46
    Char: 1
    Code: 0
    URI: http://127.0.0.1:8080/apex/f? p = 4550:1:2607772430187012


    Message: Object EXPECTED
    Online: 46
    Char: 1
    Code: 0
    URI: http://127.0.0.1:8080/apex/f? p = 4550:1:2607772430187012


    Message: Object EXPECTED
    Online: 46
    Char: 1
    Code: 0
    URI: http://127.0.0.1:8080/apex/f? p = 4550:1:2607772430187012


    Message: Object EXPECTED
    Online: 46
    Char: 1
    Code: 0
    URI: http://127.0.0.1:8080/apex/f? p = 4550:1:2607772430187012

    Hello

    Path of the image must be
    You have wrongly last set in the installation script

    You can reset the path of the image with the reset_image_prefix.sql script.
    Run the script as SYS. When he invites new path enter

    /i/
    

    After this you may need to download images again to DB with the apxldimg.sql script

    Kind regards
    Jari

  • Windows Server Update service does not work after the installation of KB2720211

    I have a Server 2008 SP1 32-bit Standard, which had the role of Server Update for the Windows software installed connected to a WSUS upstream server and everything worked, with 17 clients connected to him and get everything their approved patches.  It was a new server starting with WSUS added at this time 1 months ago.  He had to be upgraded to SP2 S2008 which I did and WSUS have continued to function.  After being on SP2, there was another 152 patches to be applied and after that WSUS does not work anymore.  It appears 1 patch that has been applied has been KB2720211 that seems to cause problems for a number of people.

    The problem is that the update service does not start.  An error message comes back that the service has not responded in a timely fashion and I can't find the log files anywhere on what it is.  Here is what has been done so far all that in the same issue:

    1 deleted WSUS and restarted and installed it again.

    2 Remove WSUS and Windows Internal Database, restarted and installed it again (using the download of KB972466).

    2.1 install SQL Management Studio and logged to an internal database SUSDB and checked it is not set to single user (I believe it is set for multiuser name but I'm going from memory)

    3. install the KB2720211.

    4. installation KB2734608

    5 remove WSUS and Windows Internal Database, restarted and installed it again (using the download of KB972466).

    I am looking for any information on how to solve what is the question, because there is nothing in the log files I can find and no event in the windows event viewer.  I am ready to start with the server however if there is something I can look at to possibly solve the problem, please let me know.

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • EvtOpenEventMetadataEnum does not work with MSSQLSERVER

    Why this code does not work? I'm running on Win 2008 R2 with MS SQL Server 2008 R2 installed. 0 = 0 accvio statement will not execute becase MSSQLSERVER event provider has no events to enum. When I opened EventViewer I see MSSQLSERVER events displays very well. What Miss me?

    Thanks for any help,

    SLDR

    (Stephen L.) Of Rudder)

    ============================================Code Below================================

    #include
    #include
    #include
    #include
    #include

    #pragma how (lib, "wevtapi.lib")

    int _tmain (int argc, _TCHAR * argv)
    {
    EVT_HANDLE hMetadata = NULL;
    EVT_HANDLE hEvents = NULL;
    EVT_HANDLE hEvent = NULL;
    DWORD dwLastError = 0;

    hMetadata = EvtOpenPublisherMetadata (NULL, "MSSQLSERVER", NULL, 0, 0 L);
    If (hMetadata == NULL) {}
    printf ("EvtOpenPublisherMetadata failed with %lu!\n", GetLastError() ");
    Return 1;
    }
    hEvents = EvtOpenEventMetadataEnum (hMetadata, 0);
    If (hEvents == NULL) {}
    printf ("EvtOpenEventMetadataEnum failed with %lu!\n", GetLastError() ");
    EvtClose (hMetadata);
    return 2;
    }
    While (true) {}
    hEvent = EvtNextEventMetadata (hEvents, 0);
    If (hEvent == NULL) {}
    dwLastError = GetLastError();
    If (dwLastError == ERROR_NO_MORE_ITEMS) {}
    break;
    }
    printf ("EvtNextEventMetadata failed with %lu!\n", dwLastError);
    EvtClose (hEvents);
    EvtClose (hMetadata);
    return 3;
    }
    * (int *) 0 = 0;
    EvtClose (hEvent);
    }
    EvtClose (hEvents);
    EvtClose (hMetadata);
    return 0;
    }

    Hello

     

    Thanks for the post.

    I suggest you to ask your question on the MSDN Forums.

    http://social.msdn.Microsoft.com/forums/en-us/categories

    I hope this helps.

Maybe you are looking for

  • new 8600 pics paper up to shootit on the back or jams

    I bought the all in one 8600 anymore. It did not work at all. Gives the message paper tray is empty. It is not the case. I tried the status bar 1/3, 1/2 tray / full line indicated... Have disconnected reconnected power. tried to copy, scan never gets

  • Problems with the iphoto calendar

    I am buying an iphoto calendar but when I go to connect to my apple ID account I get a message that says: "right now on this device seems to be incorrect. You can fix by going to settings... etc. ". I'm on my computer and the time and date is correct

  • Y460 speakers 'pop' noise

    My speakers Y460a products a noise every time before the sound from the speakers. Quite strange, it doesn't happen to the DC power. It won't happen while it is plugged. What is a Realteck driver problem? Or hardware problem? THX!

  • Deactivation of the system code 52741028

    In the bios menu it says to enter the administrative password, I've so after three unsuccessful attempts, he says "system disabled 52741028. How can I get around this?

  • Laptop HP 15-r202nq: windows 7 32 bit Drivers

    I need the driver for network controller for laptop HP 15-r202nq (Windows 7-32 bit): Hardware ID: PCI\VEN_10EC & DEV_B723 & SUBSYS_2231103C