"Download Files"procedure not working in duplicate app/shows page not found

Hello,
I have created an application using the "Download files" procedure described in "How to Upload and Download Files in an Application" chapter of the APEX "Advanced Tutorials." It works just fine on the one server, however, when I exported the application and data from the working copy and imported it in APEX running from my laptop, I could upload files and generate a report with a link to click and download the files again but when I clicked on those links, I would get a "Page Not Found" error. It looks like it might not be going to the procedure and instead goes to a page like the following: "http://127.0.0.1:8080/apex/DBAPORTAL.download_image?p_id=1868612316946460." On the working copy on the other server, when the download link is clicked, you will get a dialog box asking if you would like to open or save the file.
Could anybody tell me why the procedure is not being called and goes to a non existent url while the origonal application works just fine on the other server?
I have granted APEX_PUBLIC_USER execute permissions to the procedure. I am wondering if there are any other permissions that I should be granting. Should I grant PUBLIC or ANONOMUSE permissions to use the "download_image" procedure?
I have forgotten to mention that on my laptop I am using database 11.1 and on the server I believe the database is 10g.
Hope to get an answer to this issue. I've asked a couple people already and they are stumped.
Thank you in advance.
Linda

Scott,
I have tried to follow the instructions commented out "RETURN FALSE;" and added procedure 'DOWNLOAD_IMAGE' to wwv_flow_epg_include_local.sql. But I'm confused. Should I be changing file "wwv_flow_epg_include_local.sql' or 'wwv_flow_epg_include_mod_local" package?
When I run "ALTER SESSION SET DBAPORTAL FLOWS_030100;" in sqlplus, how do I know what FLOWS_XXX I have? Is it FLOWS_030100 or FLOWS_030000? I have database 11.1 installed. What version of APEX do I have with this database? How do I find out?
Do I need to be in a perticular directory before I run the alter script? If so what folder?
How do I "Compile the function wwv_flow_epg_include_local.sql.?"
Needless to say, when I added the procedure to the file, and when I tried to alter it, I got the following error:
SQL> ALTER SESSION SET DBAPORTAL FLOWS_030100;
ALTER SESSION SET DBAPORTAL FLOWS_030100
ERROR at line 1:
ORA-02248: invalid option for ALTER SESSION
Please tell me what I am doing wrong.
Thanks
Linda

Similar Messages

  • My upgrade to Maverick is not working? Install App showing but nothing happens??

    Hi All.
    I've been trying to instaal Maverick on my Macbook pro but noting seems to be happening.
    Whilst in the app store you select install App nothing??.
    Thanks in advance,
    Andy

    It appears to have been due to a broken connection from a prior attempt to download earlier today.
    Can this be reset, cleared from history??.
    Otherwise no upgrade for me!!
    Thanks Andy

  • Hi my iPod touch gen 4 has stopped working properly and App Store will not load but Internet will, also you tube also won't load. Any ideas?

    Hi my iPod touch gen 4 has stopped working properly and App Store will not load but Internet will, also you tube also won't load. Any ideas? I should probaly also add that I have also recently tried to download a screen recorder from safari and a message keeps popping up and saying that it can't verify server, even for this website

    Reset the device:
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    If that doesn't help, tap Settings > General > Reset > Reset All Settings
    Files cannot be downloaded from Safari on an iPod touch.

  • Apple id not work for mac app store, what happen? It is available for others such as iTunes, my iPhone and iPad

    apple id not work for mac app store, what happen? It is available for others such as iTunes, my iPhone and iPad

    Try deleting the cache associated with the App Store..
    Quit the App Store if it's open.
    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type this exactly as you see it here:
    ~/Library/Caches/com.apple.appstore/Cache.db
    Click Go
    Move the Cache.db file to the Trash.
    Relaunch the App Store. See if that made a difference.

  • My "update all" buton will not work in the app store.  It gives me a message saying there is not enough storage to update.. I know i have storage left on the phone.  I even bought more icloud storage.  Any ideas??? Please help??? thanks

    My update all button will not work in the app store.  It keeps giving me a crazy message about not having enough storage to update apps.  Please help? I know i have storgage on icloud and on the phone itself.  Any ideas? Thanks

    Try deleting the old backup.
    Settings>iCloud>Storage & Backup>Manage Storage, tap the device name and on the resulting screen, scroll down and tap on Delete Backup.

  • Mail is not working. The app opens because I see a light on under "Mail" in the dock.

    Mail is not working. The app opens because I see a light on under "Mail" in the dock, and I see the menu at the top of my screen, but I don't see the app itself or any windows. It is like it is running in the background, but I can't see it. Everthing is subdued when I click on the choices up in the menu. I have tried "Force Quit" and then re-opening the mail app several times, and have rebooted my notebook twice. What is weird is that this started right after I changed my password in a browser (it is a gmail account). I went into the System Preferences on my MacBook and changed my password there as well, so it should be setup properly to open. I am running Mac OS X Lion 10.7.5.   Any help anyone can provide is much appreciated.

    The current Mail version for 10.6.8 Snow Leopard is 4.6 (1085).   Run Software update or the combo updater ... Mac OS X 10.6.8 Update Combo v1.1

  • I used to have a apple id but when i got my macbook i changed it. Then i downloaded OS X and updates in my app store will not let me change my apple id back to my new one it just still uses my old one. What do i do?

    I used to have a apple id but when i got my macbook i changed it. Then i downloaded OS X and updates in my app store will not let me change my apple id back to my new one it just still uses my old one. What do i do?

    Content and Apple IDs -
    Content is forever tied to the Apple ID that bought it. Apple does not transfer content from one Apple Id to another. Apple does not merge Apple IDs. You will never be able to access your content bought with another Apple ID with a new ID.

  • HT1368 My wishlist is not working on the app store i can not find the add to wishlish icon but it is working fine with the itunes store so i am able to add films and music but not apps does anyone know how to fix this

    My wishlist is not working in the app store on my ipad it is woking fine in itunes store so i can add films and music but the icon "add to wish list" is not available on the app store so does anyone know how to fix this 

    The wish list only works on apps you have to pay for. To get it tap the icon of the app you want to save. After it opens at the upper right corner is a box with a arrow. Tap that then tap add to wish list list in the box that opens.

  • Hello, my iphone 5s fell, thereafter i tried taking a picture, the camera app just shows a black screen and hangs, the front camera works on other apps but the rear camera is not working, all other apps work perfectly well, how do i resolve this

    Hello, my iphone 5s fell, thereafter i tried taking a picture, the camera app just shows a black screen and hangs, the front camera works on other apps (such as facetime and skype) but the rear camera is not working, all other apps work perfectly well, how do i resolve this

    Double tap Home button and delete Camera app from multitask-list.
    Do a
    Reset: Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Note: You will not lose any data
    If problem persist, make an appointment with genius bar for evaluation.

  • Add to Address Book not working in mail.app

    On all my computers : MacBook Air and Mac Mini, the Add to Address Book (command + Shift + Y) is not working in Mail.app.
    It doesn't add the email and name in the Address Book (now called Contact).
    Is this a broken link ?
    Best. StG

    Hey Saint-Georges -
    I've got the same issue in the console.  I didn't notice the keyboard shortcut not working but that's happening to me as well.  
    I've gone gone through and repaired the disk and disk permissions.  Still no luck.
    Hopefully someone has a fix.
    Rob
    From the Console:
    6/3/13 5:27:53.922 PM assistantd[4667]: <Error>: Daemon - Sync chunk denied! Canceling sync. [SASyncChunkDenied
      aceId: "26234165-b039-4219-af4d-8f4fa5561ebd"
      properties:
        callbacks: <empty array>
        errorCode: 0
      group: "com.apple.ace.sync"
      refId: "3274A842-6638-4E54-AFB3-F669BCCED462"
      v: "1.2"
      class: "ChunkDenied"]

  • [svn] 3913: BLZ-272 Two long polling endpoints not working in same app with Firefox

    Revision: 3913
    Author: [email protected]
    Date: 2008-10-27 13:49:02 -0700 (Mon, 27 Oct 2008)
    Log Message:
    BLZ-272 Two long polling endpoints not working in same app with Firefox
    The long polling waitMonitor object in the FlexSession did not keep track of
    blocking polls via endpoint ID. This prevented the second channel from blocking.
    Enhance the FlexSession.waitMonitor to be a map of endpointID to
    EndpointQueue objects, and keep track of the monitors based on what endpoint
    they are associated with.
    QA: Yes
    Doc:No
    Checkintests: passed
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-272
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/FlexSession.java
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/client/FlexClient.java

    Revision: 3913
    Author: [email protected]
    Date: 2008-10-27 13:49:02 -0700 (Mon, 27 Oct 2008)
    Log Message:
    BLZ-272 Two long polling endpoints not working in same app with Firefox
    The long polling waitMonitor object in the FlexSession did not keep track of
    blocking polls via endpoint ID. This prevented the second channel from blocking.
    Enhance the FlexSession.waitMonitor to be a map of endpointID to
    EndpointQueue objects, and keep track of the monitors based on what endpoint
    they are associated with.
    QA: Yes
    Doc:No
    Checkintests: passed
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-272
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/FlexSession.java
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/client/FlexClient.java

  • My markup in mail will not work because the markup extension in not installed. How do I download the markup extension.

    I have installed Yosemite and markup in mail will not work because the markup extension in not installed. How do I download the markup extension.

    hi guys,
    what rraiszadeh      and hambros     said are correct.
    go to your desktop, look for 'Macintosh HD' icon
    [double click]
    window opens.
    look for 'system'
    [double click]
    double click on 'Library'
    look for 'Frameworks'
    click on drop down grey arrow.
    double click on 'versions'
    double click on 'A'
    double click on 'resources'
    you will find 'WIDGET SIMULATOR' in there
    double click on it.
    NEXT,
    Go to Application/Preview, then right clicking on Preview and selecting "Show Package Contents."  Then go to Contents/Plugins/Markup.
    drag that icon into the opened 'widget simulator' program.
    VOILA!

  • Updates tab not working in the App Store

    The updates tab is not working in the App Store. I have to go to purchased tab to find the apps that need updating. How can I fix this? I've turn off the iPad multiple times hoping it will reboot but it doesn't help.

    Apparently there are problems updating updates on iOS devices >  Apps update not working. Was before but...: Apple Support Communities
    Try again later or tomorrow.
    It's been reported to Apple.

  • Geolocation on Geeksphone not working at neither app

    I wrote an app, that worked fine in simulator. Get the self position with geolocation and put markers on map. But on Geeksphone geolocation not working on this app, Here maps or if i just simple go to google maps.

    Your best bet is to ask on the #gaia or #b2g channels on IRC.
    *see: https://wiki.mozilla.org/Irc

  • My phone was stolen, what can I do to recover? He is off then the app "Find My iPhone" is not working. I'm desperate, because not even finished paying and is ma warranty.

    My phone was stolen, what can I do to recover? He is off then the app "Find My iPhone" is not working. I'm desperate, because not even finished paying and is ma warranty.

    For Find My Phone to work, you must first turn it on in Settings > iCloud before the iPhone is stolen, and the iPhone MUST be turned on and connected with the Internet.  If not, it is not possible to locate it.  Report the theft to the police, change all passwords associated with accounts on the iPhone, contact your carrier in case the can blacklist it.

Maybe you are looking for

  • Stack Overlow Exception

    Hi I am using Jdeveloper 11.1.2 . I am getting below exception. Please help me. <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6 javax.faces.FacesException: javax.servlet.Serv

  • Single-signon for multiple sites or sub sites

    Does anyone know of some good articles/publications or suggestions for implementing a single signon for multiple very secure internet sites in weblogic type environments. For example, bank1 has a internet site and bank 2 has an internet site. Bank 2

  • Commenting an unprotected PDF

    Hi to all, I don't seem to be able to find an answer in the forum, so I'd like to ask everybody to point me towards a given answer, or a new one. I (on a Mac) and my colleagues (on Macs and PCs) would like to use Adobe Reader (v. 9) to comment PDF fi

  • How can I reset the method to send and track forms?

    How can I reset the method to send and track forms? I selected Adobe FormsCentral and now I want to switch back to e-mail. This is apparently not possible

  • Color range HELP #2

    OK - I guess I need a little more guidance with the specifics of the step-by-step - do you have time to explain a little more in detail?  Many thanks again, it's greatly appreciated!  Original post below: I need to change the color of this boat hull