How can I finish the last step in the 2 Day Plus Appl Express Developer

Hi,
I try to follow doing the steps the Chapter 8 How to Upload and Download Files in an Application of the 2 Day Plus Application Express Developer, after I had finished
the input to Oracel XE (all steps in this chapter and the procedure in 'Downloading Documents from the Custom Table'), I open the "run Page 1 icon" , the procedure seems no running and cause the error 'Page cannot be found'.
I doubt the type is wrong or correct "#OWNER#.download_my_file?p_file=#ID#".
Are there any one can tell me ?
Regards,
Simon Wong
Message was edited by:
user505611

Simon,
here is the full example. Please follow the steps closely. Input exactly what is written in bold characters (without the line numbers though).
Here we go (in a dos command box):
C:\WINDOWS\system32>sqlplus system@xe
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Aug 13 12:48:24 2006
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
*** Show more detailed error information in the browser ***
SQL> exec dbms_epg.set_dad_attribute('APEX', 'error-style', 'DebugStyle');
PL/SQL procedure successfully completed.Now try to run the following url in the browser: http://127.0.0.1:8080/apex/hr.hello_world
This will give you the following error message:
hr.hello_world: PROCEDURE DOESN'T EXIST
  DAD name: apex
  PROCEDURE  : hr.hello_world
  URL        : http://XDB HTTP Server:8080/apex/hr.hello_world
  PARAMETERS :
  ===========Now continue with the sqlplus - session :
*** Switch session to user HR to create procedure hello world ***
SQL> alter session set current_schema=HR;
Session altered.
SQL> CREATE OR REPLACE procedure hello_world
2 is
3 begin
4 htp.p('hello world');
5 end;
6 /
Procedure created.
*** check to see whether the procedure was created properly ***
SQL>   desc hr.hello_world;
PROCEDURE hr.hello_world
*** grant execute on procedure to account ANONYMOUS ***
SQL> begin
2 execute immediate 'grant execute on hello_world to anonymous';
3 end;
4 /
PL/SQL procedure successfully completed.
*** Switch to user FLOWS_020100 ***
SQL> alter session set current_schema=FLOWS_020100;
Session altered.
*** for testing, disable the security mechanism ***
SQL> CREATE OR REPLACE function wwv_flow_epg_include_mod_local(
2 procedure_name in varchar2)
3 return boolean
4 is
5 begin
6 return true;
7 end;
8 /
Function created.Running the url again should work now, the security mechanism is disabled.
If this works, we can enable the security mechanism again:
*** now create the function again, checking for the proper procedure name ***
SQL> CREATE OR REPLACE function wwv_flow_epg_include_mod_local(
2 procedure_name in varchar2)
3 return boolean
4 is
5 begin
6 if upper(procedure_name) in ('HR.HELLO_WORLD') then
7 return true;
8 else
9 return false;
10 end if;
11 end;
12 /
Function created.
*** remove the debugging information ***
SQL> exec dbms_epg.delete_dad_attribute('APEX', 'error-style')
PL/SQL procedure successfully completed.You don't need to restart any services inbetween the outlined steps and you shouldn't have to change any security settings in your browser. It is all done in the database.
If it still doesn't work, please post your error messages from the browser here.
Regards,
~Dietmar.

Similar Messages

  • How to write the last step into the temporary XML file?

    Hi all,
    I'm running a sequence & writing the results of each step to a report file.
    When reviewing the report On-The-Fly I see azll the steps (including the last one), but in the temporary report file (ends with _00001.xml) has all the steps except the last one.
    anyone has an idea how can I "force" TestStand to write all the buffer to the file?
    thanks,
    Ido

    IdoZe,
    I was able to replicate your behavior you were seeing and spoke with our R&D team on this. On-the-fly reporting is not guaranteed to write every step, this would cause way too much writing to disk and would cause performance problems because of this. It instead writes according to when the DLL is set to write based on timers and other pieces of dll code.
    With what you are trying to do, it seems you are approaching it incorrectly. First of all, you are accessing and editing a temporary report, which is not recommended. Second, there are many better ways to do this instead of just adding a step to your main or even clean-up of your sequence. You could A) Override the PostUUT or PostUUTLoop callbacks or B) create a top level sequence that makes a sequence call to your sequence you want the report for. In the properties you would spawn a new execution for that sequence after the sequence call, you could wait for the sequence to complete and then read the XML in another step.
    You should always use the final report for this though, because editing the temporary report is a bad idea.
    Another idea is to modify the report generation to write the report correctly the first time you read it. It all depends on exactly what you are trying to do, but I would strongly suggest this last option if possible as it does not involve editing the report after it is written, which defeats the report generation's purpose.
    Brandon Vasquez | Software Engineer | Integration Services | National Instruments

  • My iPad gets stucked in the last step of the sync with the computer.

    When connecting the iPad to the computer the iTunes starts, reconizes my iPad and starts the sync of the iPad.
    It syncs the contacts, calendars, pictures, music, etc, but in the last step (7th; "finishing Sync") it stucks and stays for ever without finishing.
    I cannot load a previous backup because as soon as I connect the iPad to the computer the Sync process starts and no button is available.
    I've tried to load again iTunes to start from the begining but it is still saying the same, that the Sync process is finishing and is blocked there.
    Any help?
    Thanks a lot.

    Hi Demo,
    I've tried what you say but, if I'm doing it right, it doesn't work because after rebooting it goes again to syncing and stucks on the last step.
    Nevertheless let me check if I'm doing it right; When you say "Before you restore from the backup, quit iTunes, ...." you mean "Before" or "After" because I don't understand how I could reboot the iPad BEFORE I restore from the Backup if it is already restoring.
    Just let me write down the procedure to check that it is the right one:
    1- I launch iTunes (iPad not connected) and go to Edit>Preferences>Devices, and I check the box to Prevent the iPad to syncing automatically. I click OK.
    2- I quit itunes.
    3- I connect the iPad to the computer.
    4- I launch iTunes.
    5- I go to Restore from Backup
    6- Restore from Backup is finished
    7- I quit iTunes
    8- I disconnect the iPad from the PC
    9- I reboot my PC
    10- I reboot my iPad by holding down on the sleep and home buttons... iPad stars.
    11- I connect the iPad to my PC.
    12- I launch iTunes
    13- I click on sync button.
    If the procedure is right then my problem must be another one because when I do it and it starts syncing again the same problems comes back again and the syncing never stops at the last step.
    Thank you anyway for your time and support.
    Best regards,
    Francisco

  • How can I do this three steps in the same SQL?

    My question is how I can do this in the same issue?
    1. Today I do it in three steps. First I create a query, qryWC_ResultList.
    2. The query qryWC_ResultList is used in this SQL. Results are saved in tblAppendWC_Quantity
    3. Table tblWc updating of the data from tblAppendWC_Quantity
    qryWC_ResultList
    SELECT MATERIAL, Component From result_list
    WHERE INFO = 'UTime'
    AND SIGNUM = 'Test'
    AND Not Component Is Null
    GROUP BY MATERIAL, Component;
    tblAppendWC_Quantity
    Insert Into tblAppendWC_Quantity (Component, Qty, SIGNUM, Unit)
    SELECT Rtrim(Case when qryWC_ResultList.Component Like '4%' Or qryWC_ResultList.Component Like'5%' Then Substr(qryWC_ResultList.Component,1,4) Else qryWC_ResultList.Component End) AS Component,
    Sum(result_list.Qty) AS Qty, result_list.SIGNUM,
    Case when result_list.INFO Is Null then 'M' Else result_list.INFO End AS Unit
    FROM result_list, qryWC_ResultList
    WHERE  result_list.Component = qryWC_ResultList.Material
    And result_list.Qty > 0
    AND result_list.SIGNUM = 'Test'
    And result_list.INFO = 'UTime'
    GROUP BY Rtrim(Case when qryWC_ResultList.Component Like '4%' Or qryWC_ResultList.Component Like'5%' Then Substr(qryWC_ResultList.Component,1,4) Else qryWC_ResultList.Component End) ,
    Case when result_list.INFO Is Null Then 'M' Else result_list.INFO End, result_list.SIGNUM ;
    Update table tblWC
    UPDATE tblWC set
    tblWC.METERS = tblAppendWc_Quantity.Qty,
    tblWC.UNIT = tblAppendWc_Quantity.Unit
    where tblWC.SIGNUM = tblAppendWC_Quantity.SIGNUM
    AND tblWC.COMPONENT = tblAppendWC_Quantity.COMPONENT Edited by: user570142 on 2009-sep-25 06:17

    Den Kenny,
    Your example is exactly what I want. All temporary queries (views) should creates in the SQL.
    But I can't get it work. What is wrong with this?
    with qryWC_ResultList  as (SELECT distinct MATERIAL, Component From result_list
                  WHERE INFO = 'UTime'
                    AND SIGNUM = 'Test'
                    AND Not Component Is Null)
    ,tblAppendWC_Quantity as  (SELECT Rtrim(Case when qryWC_ResultList .Component Like '4%' Or qryWC_ResultList.Component Like'5%'
                        Then Substr(qryWC_ResultList.Component,1,4)
                        Else qryWC_ResultList.Component
                   End) AS Component
            ,Sum(result_list.Qty) AS Qty
            ,result_list.SIGNUM
            ,Case when result_list.INFO Is Null
                  then 'M'
                  Else result_list.INFO
             End AS Unit
        FROM result_list, qryWC_ResultList
       WHERE  result_list.Component = qryWC_ResultList.Material
         And result_list.Qty > 0
         AND result_list.SIGNUM = 'Test'
         And result_list.INFO = 'UTime'
       GROUP BY Rtrim(Case when qryWC_ResultList.Component Like '4%' Or qryWC_ResultList.Component Like'5%'
                           Then Substr(qryWC_ResultList.Component,1,4)
                           Else qryWC_ResultList.Component
                      End)
                ,Case when result_list.INFO Is Null
                     Then 'M'
                     Else result_list.INFO
                End
               ,result_list.SIGNUM)
    Select  tblAppendWc_Quantity.Qty, tblAppendWc_Quantity.Unit, tblAppendWC_Quantity.SIGNUM
    from tblAppendWC_Quantity
    update tblWC set tblWC.METERS = tblAppendWc_Quantity.Qty
                    ,tblWC.UNIT = tblAppendWc_Quantity.Unit
    where tblWC.SIGNUM = tblAppendWC_Quantity.SIGNUM
       AND tblWC.COMPONENT = tblAppendWC_Quantity.COMPONENT;

  • Help required in the last step of SAP Query

    Hi Experts,
    I have walked through all the steps of SAP Query except for the last one.Please tell what to do in the attached screen shot of SAP Query.
    Thanks and regards
    Rajeev Chhabra

    Hi Vinod
    My problem is that
    1.I am not getting the screen Basic List Line structure in the Tcode SQ01 can you tell me how to get that.
    2. In the last step of the SQ01 transaction code Can you please tell what to do on the screen Query layout design(Please give adetailed response)
    Thanks and regards
    Rajeev Chhabra
    Message was edited by: rajeev chhabra

  • Log-on freezes at the last step

    Hi,
    We use BPC 7.5 NetWeaver version SP08.
    We have noticed that occasionally some of our end users are experiencing the following problem:
    When they try to log on either through the Planning and Consolidation for Office Client or through the Planning and Consolidation Administration Client the log-on process freezes at the last step where the connection bar is shown i.e. after they input their credentials and press Next button.
    It should be stressed that this problem appears occasionally and only on specific end usersu2019 PCs.
    I would very much appreciate any help.
    Thank you in advance,
    Mike

    Hi Roberto,
    Thank you very much for your prompt response the issue seems to be very close to what is described in notes
    ·         1624426
    ·         1664394
    Unfortunately We have tried both notes i.e. our Administrator verified that port is 80 and we have tried to use the ‘DNS-hostname:80’ and the problem still occasionally appears (I stress occasional and from specific end user’s PCs).
    Any other ideas?
    Thank you in advance.
    Kind Regards
    Mike 

  • HT5022 Airport Utility 5.6 won't install.  Gets to the last step and fails.  Why?

    I have an older Airport Extreme so I need to install Airport Utility 5.6 as 6 does not recognize it.  The download goes fine and installation proceeds until the last step of the installation (cleaning up) when it fails.  I'm using Lion.  Suggestions? 

    Apple will not let you install AirPort Utility 5.6 on Lion 10.7.4 (or 10.7.5) if you have updated the operating system.
    You might want to study a workaround in this thread.
    https://discussions.apple.com/message/21397085#21397085
    This is not officially supported by Apple, so it may or may not work for you.....if you want to give it a try.

  • I just purchased Adobe Acrobat XI Pro, but installation didn't work. At the last step said that it'd fund an error. Any idea? How i can contact Adobe support? I have a new Macbook Pro Yosemitte ..

    I just purchased Adobe Acrobat XI Pro, but installation didn't work. At the last step said that it'd fund an error. Any idea? How i can contact Adobe support? I have a new Macbook Pro Yosemitte ..

    Hi Francis,
    Could you please let me know how have you been trying to install Acrobat?
    Please ensure that you are signed in as admin and antivirus software is disabled at the time when you install.
    Regards,
    Anubha

  • HT1925 When I try to uninstall apple updater I get a message that says " The feature you are trying to use is on a network resource that is unavailable." I dont understand this. How can I finish uninstalling the apple update program?

    When I try to uninstall apple updater I get a message that says " The feature you are trying to use is on a network resource that is unavailable." I dont understand this. How can I finish uninstalling the apple update program?

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any Apple Software Update entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install using an iTunesSetup.exe (or iTunes64Setup.exe) downloaded from the Apple Website:
    http://www.apple.com/itunes/download/
    Does it go through properly this time?

  • When i connect my ipod touch to the computer and it brings up itunes, and it starts syncing, it just stays on the last step(6) and I can't download anything else to my ipod.

    I connected my ipod touch to the computer.  When it brings up itunes and start to sync, it stalls at the last step (6).  This keeps me from being able to add other songs from my library to my ipod.  I'm very new at this and maybe just don't understand how it works. 

    Try here:
    iPhone, iPad, iPod touch: Disabling digital camera notification in Windows XP

  • When I try to use siri to book an appointment the last step when she says "do you want me to shedule that for you" I say yes and then she says "Sorry I can't do that, very frustrating. Do I have to turn on another setting or something?

    When I try to use siri to book an appointment the last step when she says "do you want me to shedule that for you" I say yes and then she says "Sorry I can't do that, very frustrating. Do I have to turn on another setting or something?

    Hello BassoonPlayer,
    Since you are using one of the the school's Macbooks, it is quite possible that the time and date are not properly set on the computer that you are using.  FaceTime will not work if you do not have the proper time zone set up for the location that you are in.  This past week, there were a two other Macbook users I've helped by simply telling them to set the Date/Time properly.  By the way, you described your problem very well, which makes it easier for us to help you.  Hope this solves your problem -- if not, post back and I can suggest other remedies.
    Wuz

  • HT204406 Itunes Match won't upload. I get error stating there was an error in the itunes store, please try again. I have tried again everyday for the last month and am still unable to use.  Any ideas on why Match can't complete the 1st step of the process

    Itunes Match won't upload. I get error stating there was an error in the itunes store, please try again. I have tried again everyday for the last month and am still unable to use.  Any ideas on why Match can't complete the 1st step of the process (Gathering information about your Itunes library)?

    JohnCullison wrote:
    For the last few weeks, the iTunes store has been displayed with empty graphic rectangles (with a blue box containing a white question mark centered in the rectangles), bits of text, and some buttons. The page extends quite a ways, including what I assume would be all the links to all the music...
    If all you are trying to do is buy music, you can easily buy MP3s at any online music download store (e.g. amazon.com) and add them to your iTunes library.

  • I'm importing more than 1800 photos, and it got stuck with 382 photos left to be imported. How can I finish the import completely?

    I'm importing more than 1800 photos, and it got stuck with 382 photos left to be imported. How can I finish the import completely?

    What version of iPhoto?
    Are these photos different in any way? Black and White, for instance?
    Regards
    TD

  • My iPod used to be signed in with my moms apple ID but now I have my own. When I opened IMessage it wanted me to sign in, but on the last step it said, "your email can't be verified since its already in use" please help I want to use IMessage.

    My iPod used to be signed in with my moms apple ID but now I have my own. When I opened IMessage it wanted me to sign in, but on the last step it said, "your email can't be verified since its already in use" please help I want to use IMessage.

    Hi Kanemelinda8833,
    Welcome to the Support Communities!
    The article below may be able to help you with this issue.
    Associating and verifying email addresses with your Apple ID
    http://support.apple.com/kb/HE68
    Also, make sure you have signed out of your Mom's Apple ID and are signed in with your own Apple ID on this device.
    Click on the link to see more details and screenshots. 
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    Sign out of your Apple ID on all iOS devices, in the following locations:
    Settings > Messages > Send & Receive. Tap your Apple ID, then tap Sign Out.
    Sign in to your Apple ID on your device.
    When activation is complete, your Apple ID and all verified email addresses should be visible in Settings > Messages > Receive At
    Cheers!
    Judy

  • I just downloaded a new version of OS7 to my iphone and when I try to sync with my mac book pro it will not finish and just spins around at the last step.  anyone help?

    I just downloaded a new version of OS7 to my iphone and when I try to sync with my mac book pro it will not finish and just spins around at the last step.  anyone help?

    It was telling you that you needed Mac OS 10.6.8 or later, not itunes 10.6.8
    Syncing with iTunes on a Mac or PC requires:
    Mac: OS X v10.6.8 or later"
    http://www.apple.com/iphone/specs.html

Maybe you are looking for