Apex_util.get_blob was not found on this server

Hi All,
APEX Version: 3.1.1.00.09
Database version 11g
I am trying to create a report, with a column having a link to download the file stored as BLOB type in the database.
I performed the following steps:
*1. created custom report base on SQL Query:*
select PROGRAM_ID ,
USER_ID ,
dbms_lob.getlength(FILE_CONTENT) "FILE_CONTENT" ,
File_name
from PGMRECRT_FRMS_USRSUBMTSTATUS
[Primary Keys for the table PGMRECRT_FRMS_USRSUBMTSTATUS are :  Program_id and user_id]
*2. Configured BLOB Download Format Mask for the column "File_Content" as:*
DOWNLOAD:PGMRECRT_FRMS_USRSUBMTSTATUS:FILE_CONTENT:PROGRAM_ID:USER_ID::FILE_NAME:LST_UPD_TSTMP::attachment:Download
*3. When I run the report I get the Download link in the "File_Content" column.*
*4. When the link is clicked it throws 404 Not found Error, with the following message on the browser:*
The requested URL /pls/apex/apex_util.get_blob was not found on this server.
The Page Source contains the following
href="apex_util.get_blob?s=3261371303066053&a=101&c=2878703203169482&p=16&k1=147&k2=&ck=01786319873F8A6F1A1344A1B2A17567&rt=CR" alt="Download" title="Download 32KB"
I don't see the second Primary key being passed in the source. (User_id)
I checked the HTTP Server error log, here is the error recorded in the log file:
[Sat Jun  6 02:22:14 2009] [error] [client 141.144.160.57] [ecid: 1244280134:148.87.1.123:18724:0:2223,0] mod_plsql: /pls/apex/apex_util.get_blob HTTP-404 ORA-00900: invalid SQL statement\nORA-06512: at "SYS.WWV_DBMS_SQL", line 206\nORA-06512: at "FLOWS_030100.WWV_FLOW_DML", line 2409\nORA-06512: at "FLOWS_030100.HTMLDB_UTIL", line 1580\nORA-06512: at line 31\n
Please suggest what is the problem here and how should I go about resolving it.
I have created sample report: Visit following link: [It is SSO enabled]
https://techbpo-stage.oracle.com:4443/pls/apex/f?p=101:16
Thanks & Regards
Pooja

For people who are still searching for a solution:
I think you have to make sure that you select the primary key of the table containing the blob and do not use an alias for this column.
I first tried following scenario:
select my_table.pk_id, my_table.description, dbms_lob.getlength(doc.document_data) document_data
from table1 my_table
join table2 doc
on doc.pk_id = my_table.fk_doc_id;
I filled in the correct column attributes but still this resulted in the 500 error.
After some research i tried following scenario:
select my_table.pk_id, my_table.description, doc.pk_id document_id, dbms_lob.getlength(doc.document_data) document_data
from table1 my_table
join table2 doc
on doc.pk_id = my_table.fk_doc_id;
But still this resulted in the 500 error.
Finally thanks to a lucky guess I removed the alias from the doc.pk_id and added an alias for the my_table.pk_id and everything worked fine.
select my_table.pk_id table_id, my_table.description, doc.pk_id, dbms_lob.getlength(doc.document_data) document_data
from table1 my_table
join table2 doc
on doc.pk_id = my_table.fk_doc_id;
I also read something about the order in which you select the blob file, I always select it as the last column. I'm not sure if this has any influence on the result.
Regards,
Bjorn

Similar Messages

  • DL link : apex_util.get_blob_file was not found on this server

    I'm trying to make a DL link using GET_BLOB_FILE_SRC and so far no luck.
    If you please can take a look here : http://apex.oracle.com/pls/otn/f?p=11910:9:276337790571189::YES:::
    login/pass - guest/tango&cash
    Page 9.
    I pass product number = 1 in the element P9_TXT1 and expect to see HREF in the element P9_X which i should be able to DL.
    But the html is
    <a href="apex_util.get_blob_file?a=11910&amp;s=276337790571189&amp;p=9&amp;d=&amp;i=4242569802061169120&amp;p_pk1=1&amp;p_pk2=&amp;p_ck=5E253F61CC71868127E0440E823E383E">Download</a>Which "haply" produces :
    The requested URL /pls/otn/apex_util.get_blob_file was not found on this server.
    I double check that i'm calling apex_util.get_blob_file_src function.
    Edited by: andrey on Jul 12, 2009 8:54 PM
    pass
    Edited by: andrey on Jul 12, 2009 9:01 PM

    The PL/SQL Function source value for the item is:
    RETURN 'Download' ;
    ...and the format mask for the item is:
    DOWNLOAD:DEMO_PRODUCT_INFO:PRODUCT_IMAGE:PRODUCT_ID
    I don't think this was meant to be used this way. I think you need a DML process to refer to 9see the &d= parameter value is null in your link).
    What documentation were you using that led you to try this?
    Scott

  • I have downloaded a movie from ITunes.  It shows up in my video app.  When I go to play it I get an error message: "The requested URL was not found on this server". When I checked back on iTunes, where you click to rent or buy a movie it says "Downloaded"

    I have downloaded a movie from ITunes.  It shows up in my video app.  When I go to play it I get an error message: "The requested URL was not found on this server". When I checked back on iTunes, where you click to rent or buy a movie it says "Downloaded".  Any advice on what I can do in order to watch this movie that I rented a couple of weeks ago?

    Select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History on your computer.

  • Recorded Videos after Sync: The requested URL was not found on this server.

    A few days ago, i recorded a couple of videos. They were saved properly and i could watch them after it in the Camera Roll of my iPhone. Because my memory was almost full, i connected my iPhone to my MacBook and synchronized about 900 old pictures with iPhoto and selected to delete the pictures after the sync. I did not select the recently recorded videos.
    After the sync, i opened the Camera Roll on my iPhone and tried to watch the videos again. But now, they all have a grey icon and it says the duration is 0:00 minutes. When i click on a video, it shows me the following error message:
    The requested URL was not found on this server.
    When i connect my iPhone to iTunes, it says that there is about 350 MB of "Documents and Data" on my phone that I have no idea where it is coming from. Do you think it is possible that the videos are still saved on my phone but my phone doesn't recognize it as videos and can't assign it to the icons in the Camera Roll? Do you have any tips how I can access the videos in case they are still saved somewhere on my iPhone?
    Thank you very much in advance for your help and tips!

    I have the same problem too!! I was deleting some photos and videos in my phone when the next picture I swiped to was a blank picture with JPG in the middle~ after I closed camera roll and reopened it my photos and videos after that picture are all gone~ and I'm left with 3 videos I took about 30 mins before with 0:00 and when I tried to play them the message popped up saying "requested URL cannot be found on this server" T^T does anyone have a solution to this problem?

  • The requested url was not found on this server is displayed when trying to play a video I paid for on itunes

    When I try to play my itunes videos that I downloaded it says that "This requested url was not found on this server."  Why?  I paid for it, it s/b stored on my phone in itunes.  It was working fine 2 weeks ago.  I am using my iphone 4

    I had a similar problem with a tv show. I contacted Apple Support and got the following instructions:
    "please delete the episode from your iPad and then redownload it directly to the device. You can download past tv show, app, music, and book purchases without incurring additional charges as long as what you want to download is showing on your Purchased page. Some content may not be available for download again if its provider no longer offers it on the iTunes Store, App Store, or iBookstore. 
    To enable this feature, you must have the latest version of iTunes. It is available on the Apple website:
    http://www.itunes.com/download
    The latest version of iTunes will not affect your library or any items in your account.
    To learn how to download past purchases, check out this article:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    http://support.apple.com/kb/HT2519"
    I tried it this morning, and it worked.

  • TS1717 i was wonering why is it when i restord my iphone5 from my laptop now when i try to play my music and movie a blog pops up saying (the requested URL was not found on this server)?

    I was wondering why when i restored my iphoe5 from my laptop now when I try to play my music and movies a blog pops up saying (the requested URL was not found on this server)?

    The problem resolved itself when I resynced the iPod with my computer. I suspect the error displayed when I tried syncing with my laptop and canceled out of it.

  • On my iPad, when I try to open a movie I purchased from iTunes, I get "The requested URL was not found on this server."

    On my iPad, when I try to open a movie I purchased from iTunes, I get "The requested URL was not found on this server."  It's on my laptop but when I play it there, it 'jerks' every couple of seconds.  How can I fix both these issues?  Thanks!!

    Select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History on your computer.

  • I get a "the requested URL was not found on this server" when trying to play a song in my iphone

    I have a new iphone5 and after synking my songs and musice. I get a "The requested URL was not found on this server" when I click on a song or a music video. It is almost like itunes did not copy my songs from my account to the new iphone.

    I was having the same problems with my movies and tv shows.  I unchecked them, then rechecked them, and synced all them again.  Presto!  They are all working again.  Thank you.

  • Music video that I PURCHASED says the requested url was not found on this server...***?

    When I go to play music videos that I PURCHASED from iTunes I get a pop-up that says "The reuested URL was not found on this server" so I have to go to friggin' iTunes and remove and readd all of my music videos. I bought the ipod (Touvh 4G) about a month ago and the idiots say that it's out of warranty so I have to pay more money to the pirates to get an answer. Is there something I can do to keep this crap from happening?

    This previous discussion has a solution:
    https://discussions.apple.com/message/16527576#16527576

  • Download from loop masters says "The requested URL was not found on this server.

    I'm downloading some audio files from http://www.loopmasters.com/ but whenever I try, in the download progress in the top right corner of safari, it'll stop downloading and say "The requested URL was not found on this server." There doesn't seem to be any rhyme or reason as to where in the download it'll stop. The first time got 37.3% of the way through, the second time got barely 12% (but my computer went to sleep this time,) and the last time it got to 34.8%. I can't do any more attempts because this website will only let me download it five times. Is there anything that's going wrong on my end, perhaps? Or is it likely just their servers being all wonky?
    Let me know if you need any other information :]

    This previous discussion has a solution:
    https://discussions.apple.com/message/16527576#16527576

  • Uploaded music videos to my new ipad and when I try to play it, it says  the requested url was not found on this server.

    When I uploaded music videos to my new ipad mini and when I try to play it, it says "the requested url was not found on this server.
    the Video will  not play.

    See this previous discussion:
    https://discussions.apple.com/message/16962474#16962474

  • HT1657 I rented movies on my iPad, they all downloaded, but when I click 'play' it says 'The requested URL was not found on this server'. What does it mean and how can I restore my rented movies?

    I rented movies on my iPad, they all downloaded, but when I click 'play' it says 'The requested URL was not found on this server'. What does it mean and how can I restore my rented movies?

    See this previous discussion:
    https://discussions.apple.com/message/16962474#16962474

  • The requested URL /Site/Home.html was not found on this server - HELP!

    NOT FOUND: The requested URL /Site/Home.html was not found on this server.
    This comes up when I type in my website address. I am new to this, have created my website on iweb, bought the domain name and purchased web hosting with 123-REG. I ask for their help but have only received the same rote info and nothing that has solved my problem.
    I am using Cyberduck as my FTP client but tried Classic FTP for macs before this and although it says that I am connected, it is saying that it can not change to the directory hosting10.123-reg.co.uk and asks if I have permission to be using it? I am not sure what to do?
    Please could someone advise me?
    Thanks!

    Welcome to the Apple Discussions. Since you're not using MobileMe these pages might be of some help to you:
    http://homepage.mac.com/thgewecke/iwebserver.html
    http://iwebfaq.org/site/iWebFolderFTP.html
    http://docs.info.apple.com/article.html?path=iWeb/2.0/en/6838.html
    OT

  • Music - The requested URL was not found on this server

    Hi
    I have brought iphone 5 and most of all my songs are brought from itunes, I can not play my music application - everytime I click on a song to play I get an error message saying - "The requested URL was not found on this server" also all my music were not downloads into my iphone 5 from iphone 4. What can I do, please direct me. I have backed up my music and photos on my laptop, even my itune isn't showing all the music i purchased with apple.

    This previous discussion has a solution:
    https://discussions.apple.com/message/16527576#16527576

  • HELP. "The requested URL was not found on this server." (iPhone videos)?

    So i was editing a bunch of videos on iMovie on my phone and while exporting, i didn't have enough space. So I thought that I would delete the videos off my Camera Roll (the ones i'm putting into iMovie) thinking that i would still be able to export and have enough space.
    It was the wrong decision because it resulted in having all the videos deleted even on iMovie. So i backed up my files on iTunes 2 days ago (luckily) and when i restored my files, the videos are back.
    BUT the videos that were saved from snapchat (they were going into the video i was putting together) wouldn't play! It shows the error "The requested URL was not found on this server".
    I looked up everything possible to try and fix it but i just can't find it the correct solution. I accidentally backed it up tonight and so the old back up file is gone. I really want to save these videos. The videos still show up in my Camera Roll, they just wouldn't play because the error shows up.
    When i connect my phone to my laptop (PC windows vista... I know its old but it works fine for me) it would show the option "open device files" or something. so when i open it, it shows the DCIM folder. And so i open that it shows all my pictures and videos.
    Problem is my snapchat videos show up as 0 bytes and still wouldnt play. I've attacted the error message just so you guys know what i'm talking about.
    I'm really sad and upset about this, so can anyone help me??
    pleaseeee!

    This might be helpful:
    http://support.apple.com/kb/HT4539

Maybe you are looking for

  • Images displayed in Labview do not stay synchronized across multiple frames

    Hello, I'm a little new of a poster, but a long time lurker. I'd like to thank everyone that answers here for all of the questions that I have previously read and from which I have learned so much. I am creating an Labview FPGA based solution in Labv

  • No response from mouse or keyboard

    I have a 2006 Mac Pro that I have upgraded from a 2.66 quad core to a 2.66 octo core (using Xeon X5355 processors - I also utilized a program to upgrade the firmware from 1,1 to 2,1).  The machine is sporting 10 GB of RAM, along with a Radeon 4870 vi

  • How do I install required plug-in jre-1_5_0_11-windows-i586.xpi

    I'm trying to use Mozilla Firefox 3.6.15 with the Web Version of QPASA 4.0.0.80a, an MQSeries monitoring tool. When I point to the QPASA URL, I'm prompted to install a plugin. However, when I try to install it, Firefox looks for http://javadl-esd.sun

  • SCCM 2012 R2: does the sccm server itself need a sccm 2012 client?

    Hi, The question is simple. Reason, I update my SCCM 2012 R2 forefront clients via automatic update rule. The server itself has also the forefront/SCEP client but no sccm client. So I wonder if in general it 's a good idea to install the sccm 2012 cl

  • I am trying to purchase AppleCare for Ipad but cannot see the link

    I want to purchase an AppleCare extended warranty for Ipad by Interent (bought in Singapore), but cannot go through the process. I already mad a diagnostic of my device as asked, then a message comes for sending the data with a ticket number. Then no