Download BFILE Procedure

I have a problem with a procedure for downloading BFILE. This procedure was working
before (I swear):
   PROCEDURE download_bfile (
      file_in        IN   VARCHAR2,
      directory_in   IN   VARCHAR2 DEFAULT 'DATA_PUMP'
   AS
      lob_loc    BFILE;
      v_mime     VARCHAR2 (48) DEFAULT 'application/txt';
      v_length   NUMBER;
   BEGIN
      lob_loc := BFILENAME (UPPER (directory_in), file_in);
      v_length := DBMS_LOB.getlength (lob_loc);
      -- set up HTTP header
            -- use an NVL around the mime type and
            -- if it is a null set it to application/octect
            -- application/octect may launch a download window from windows
      OWA_UTIL.mime_header (NVL (v_mime, 'application/octet'), FALSE);
      -- set the size so the browser knows how much to download
      HTP.p ('Content-length: ' || v_length);
      -- the filename will be used by the browser if the users does a save as
      HTP.p (   'Content-Disposition:  attachment; filename="'
             || SUBSTR (file_in, INSTR (file_in, '/') + 1)
             || '"'
      -- close the headers
      OWA_UTIL.http_header_close;
      -- download the BLOB
      WPG_DOCLOAD.download_file (lob_loc);
   END download_bfile;I call this procedure using the following link (it is a part of a package):
<a href="http://pd2.synventive.de:7777/pls/htmldb/file_util.download_bfile?file_in=test.txt">download bfile</a>It runs and gives me the choice to open the file or to save it. But, after I choose one of
the options it runs into an error:
Internal Server Error
The server encountered an internal error or
misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected]
and inform them of the time the error occurred, and
anything you might have done that may have caused the
error.
More information about this error may be available in the
server error log.
Oracle-HTTP-Server/1.3.28 Server at pd2.synventive.de
Port 7777The execute to public is there (otherwise it would not run first). The required directory
is there and I have access to read and write on it. The file with that name is there.
Apache log says:
[Sat Mar 17 16:08:21 2007] [error] [client 10.2.70.73] [ecid:
1174144101:10.2.28.134:3460:3612:51,0] mod_plsql: /pls/htmldb/file_util.download_bfile
HTTP-500 ORA-22285: Verzeichnis oder Datei für GETLENGTH-Vorgang ist nicht
Vorhanden
[Sat Mar 17 16:08:21 2007] [alert] [client 10.2.70.73] [ecid:
1174144101:10.2.28.134:3460:3612:51,0] mod_plsql: Unable to reset state for mode 0:
Err 22285 url=>/pls/htmldb/file_util.download_bfileCould someone, please, test this procedure and tell me if it performs the same way?
Thanks in advance,
Denes Kubicek

Denes / Doug
Do you know whether downloading a BFILE has been tested over the APEX listener. I'm running with the 4.02 patched version and the production release of the listener but I can't get the OWA.downloadFile procedure to work. I've tried on Tomcat and Glassfish. The log file in glassfish records the following error when running the process (the Tomcat error is documented fully here - I didn't get any reply WPG_DOCLOAD.download_file - can I download a BFILE directly?
java.lang.NullPointerException
at oracle.dbtools.apex.OWA.downloadFile(OWA.java:248)
at oracle.dbtools.apex.hooks.postProcess.CachedItems.postProcess(CachedItems.java:54)
at oracle.dbtools.apex.hooks.ProcessorRegistry.postProcess(ProcessorRegistry.java:57)
at oracle.dbtools.apex.ModApex.handleRequest(ModApex.java:217)
at oracle.dbtools.apex.ModApex.doGet(ModApex.java:91)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at oracle.dbtools.rt.web.HttpEndpointBase.defaultServlet(HttpEndpointBase.java:115)
at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:82)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
at java.lang.Thread.run(Thread.java:619)

Similar Messages

  • "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

  • Download pricing procedure into excel file or Rtf file ?? urgent pls

    Hi All,
    How can I download pricing procedure into local disk.
    Thanks
    Venkat
    Message was edited by:
            venkat Kumbham

    Hi venkat Kumbham , 
    for your requirement follow me:
    1). use t.code v/08, select your pricing procedure and select the control
    2). go to Table View shift+F1 (select the Print Option)
    3).then u can able to see the pricing procedure ,
    4). and find the icon spread sheet (CTRLSHIFTF7)
    5).and select the table option and select the microsoft excel
    6). then save it as loval file on your desktop
    Hope this Helps, if it is pls REWARD ME
    Thanks&Regards
    Venkat.Dhanemkula

  • Download pricing procedure to excel

    Hi,
    Tcode V/08
    how to download entire pricing procedure to excel file .
    PL suggest

    Go to V/08, select your pricing procedure and execute.  Now place your mouse at extreme left corner (first step number) and press Cntrl+Y  so that your mouse icon will become like plus sign.  Drag the mouse to extreme right and scroll down simultaneously.
    Copy the data and paste it in excel.  Please note that the data will be copied only till what you could see the last step number in the screen.  You have to click PageDown key  and continue as above till last step number.
    Last but least, three tabs, viz.Manual, Required and Statustical check boxes will not be  copied into excel.  You have to insert these manually.
    thanks
    G. Lakshmipathi

  • Download Pricing Procedure into XL or RTF file.

    Hi all
    Can anyone please explain how to use table T683S to download the pricing procedure.I mean please elaborate the path / Tx Code a little.Same thread was solved by Sachin Nagpal today, but a little explanation is needed.
    thanx well in advance
    regards
    vikas chhabra

    Hi vikas chhabra,
    for your requirement follow me:
    1). use t.code v/08, select your pricing procedure and select the control
    2). go to Table View  shift+F1 (select the Print Option)
    3).then u can able to see the pricing procedure ,
    4). and find the icon spread sheet (CTRLSHIFTF7)
    5).and select the table option and select the microsoft excel
    6). then save it as loval file on your desktop
    Hope this Helps, if it is pls REWARD ME
    Thanks&Regards
    Venkat.Dhanemkula

  • WPG_DOCLOAD.download_file - can I download a BFILE directly?

    In the past I've been using WPG_DOCLOAD.download_file to download blobs with little problem other than it can be v slow as the files in our application are stored as BFILES on a file server and the application takes time in pulling the file across and creating a temp_blob in the database, which is then presented to the user for download (the files can be v large)
    The link below suggests that I can pass through a BFILE directly to the WPG_DOCLOAD.download_file procedure, however I cannot modify my code to get it to work
    Download BFILE Procedure
    The simple code I have is below - and is called by an application process. The code runs but the downloaded file is empty.
    DECLARE
    v_mime VARCHAR2(48) := NULL;
    v_length NUMBER;
    v_file_name VARCHAR2(2000);
    Lob_loc BFILE;
    BEGIN
    SELECT path, name, DBMS_LOB.GETLENGTH(path)
    INTO lob_loc,v_file_name,v_length
    FROM temp_tars
    WHERE tarid = v('P1_TARID');
    DBMS_LOB.OPEN(lob_loc, DBMS_LOB.LOB_READONLY);
    OWA_UTIL.mime_header (NVL (v_mime, 'application/octet'), FALSE);
    HTP.p ('Content-length: ' || v_length);
    HTP.p ( 'Content-Disposition: attachment; filename="' || v_file_name || "');
    OWA_UTIL.http_header_close;
    WPG_DOCLOAD.download_file (lob_loc);
    DBMS_LOB.CLOSE(lob_loc);
    end;

    Hi,
    You have grant all needed privileges, e.g. read permission to DAD user to your directory ?
    Regards,
    Jari
    Edited by: jarola on Jan 5, 2011 1:59 PM
    Here is similar post that might help
    Re: Simple way to display pictures stored outside oracle xe in a html region

  • Pricing Procedure Download Problem

    Hi
    Through initial load i am trying to download the pricing procedure from ECC6 to CRM 5.
    When i check the download monitor the status is "Green"
    When i check the CRM table "PRCC_COND_PP" the pricing procedure which i have download from ECC6 to CRM 5 it is there.
    When i check in the SPRO->CRM->BF->PRICING->DEFINE SETTINGS FOR PRICING->CREATE PRICING PROCEDURE
    Here i did not find the download pricing procedure.
    I even tried repeating the download and by creating individual request also but i did not get the pricing procedure in the "PRC_PRICPROC_CRM"
    Can anybody help me out?
    Thanks

    Hi Binu,
    Are you downloading the standard object DNL_CUST_CNDALL or you have created your own Z/Y object ?
    If you are using the standard object you should  be getting all those entries in CRM. Check whether you have maintained any filter for this object ?
    <b>Reward points if it helps!!</b>
    Best regards,
    Vikash.

  • I downloaded adobe photoshop CS6 extended,and the status says "error:invalid download st" what to do

    please any one  answer my question as soon as possible!

    Your info is too vague. Nobody can make sense of such truncated error messages, much less without knowing anything about your system or what download/ install procedures you employed. You need to explain in more detail.
    Mylenium

  • Weird characters displayed on page instead of file download/preview

    Hi everyone,
    I have a download file procedure as per the instructions on the download.oracle.com page
    The download of the files worked just fine (or better say they were previewed in a new page) but recently a new schema has been added to the workspace so we can start the testings from the scratch.
    I modified the schema name where needed, but not the download page acts kinda weird, as instead of the file preview, I get a long page full of:
    �����JFIF�,,����&�Exif��MM�*������������������b�������j(�������1�������r2���������i�������������-����'�-����'Adobe Photoshop CS3 Windows�2008:07:28 16:41:20���������������������������]��������������������������&(�������������.������%��������H������H��������JFIF���H�H�����Adobe_CM�
    The issue is that if I switch back to the old schema, the result is the same. So, anyone has any idea of what can cause this?
    Thank you
    Regards
    Andrea

    Hi John,
    >
    <Location /pls/nxdev>
    Order deny,allow
    PlsqlDocumentPath docs
    AllowOverride None
    PlsqlDocumentProcedure wwv_flow_file_manager.process_download
    PlsqlDatabaseConnectString hostname:1521:... ServiceNameFormat
    PlsqlNLSLanguage NORWEGIAN_NORWAY.AL32UTF8
    PlsqlAuthenticationMode Basic
    SetHandler pls_handler
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDatabaseUsername APEX_PUBLIC_USER
    PlsqlDefaultPage apex
    PlsqlDatabasePassword pass
    Allow from all
    </Location>>
    >
    CREATE OR REPLACE procedure schema.dl_file (p_fileid in number)
    as
    l_mime varchar2(255);
    l_length number;
    l_filename varchar2(2000);
    lob_loc BLOB;
    begin
    select col1,col2,col3,col4 into l_filename, l_length, l_mime, lob_loc from km_docs where kmd_id = p_fileid;
    -- Set up HTTP header
    -- Use an NVL around the mime type and if it is a null, set it to
    -- application/octect - which may launch a download window from windows
    owa_util.mime_header(nvl(l_mime,'application/octet'), FALSE );
    -- Set the size so the browser knows how much to download
    htp.p('Content-length: ' || l_length);
    -- The filename will be used by the browser if the users does a "Save as"
    htp.p('Content-Disposition: filename="' || l_filename || '"');
    -- Close the headers
    owa_util.http_header_close;
    -- Download the BLOB
    wpg_docload.download_file( Lob_loc );
    end;
    >
    Thanks!
    PS: Some updates...I tried it in IE as well (I use FF when working with applications) and funny enough the photos and documents get displayed/the download box shows up.
    But, all the files have the name f. f.pdf, f.jpeg etc
    I tried calling the dl_image procedure in the url (currently I call a new page where I pass the file id to an application id and then I call the above procedure in a pl/sql block):
    http://www.host/pls/dad/schema.dl_file?p_fileid=1
    And the name seems ok. I don't think it's a good idea to put the procedure name in the link, is it?
    Edited by: AndreaC on Nov 18, 2008 3:30 PM

  • Create filter for Prcing Procedure in Business Object

    in the intial Download, I need to download Pricing procedure from r/3. but I need to give criteria, which are the tables i need to give criteria.
       in intial dowload it overwrites the data or append?
    Please give the information asap.

    Hi,
    i'm coming from z/OS and there it is not allowed to create a synonym for a procedure, only tables or views:
    >-CREATE SYNONYMsynonym--
    >FORauthorization-name.--table-name-----
    >
    >......................................... '-view-name--'                                                                               
    Looking around in the IBM infocenter for LUW i didn't find any syntax diagram.
    regards
    Kay

  • Pricing ZCondition Types are not appearing in Condition Record Maintanence

    Hi All,
    We have a requirement in SAP CRM Opportunity Management where the pricing determination should happen. So, to facilitate the requirement we have done the following
    Downloaded the DNL_CUST_CNDALL and DNL_CUST_CND from ECC to CRM
    But the Problem is when I am trying to maintain the Condition record in T-Code "/SAPCND/GCM"  our Z-Condition types are not appearing in the list, also in Product Master Condition Tab.
    Please suggest me how to resolve this issue.
    Regards,
    karthik J

    Hi Karthik,
    As a best practice -
    1. If you are downloading the condition type and pricing procedure from ECC, then it is advisable to use ECC as a master system for all your Z condition type/condition record maintenance.
    2. Similarly if you are using Pricing procedure as of ECC, then ensure that the downloaded pricing procedure in CRM is used for pricing procedure determination.
    3. The condition record in T-Code "/SAPCND/GCM" is advisable to use if you are mainly using CRM Pricing.
    By looking at your problem statement you are using ECC pricing procedure, condition types by downloading it to CRM.
    If you have any other comments to make, please give the exact problem statement or any appropriate problem screenshot for further analysis.
    Hope this will be useful
    Thanks and Regards
    DJ

  • Storing MS-Word and PDF documents in database uploaded through APEX

    I want to allow users to upload MS-Word and PDF documents they have created / edited outside of the APEX app for storage in the database along with the other app data.
    I know that I should use a file browse item in a region for this purpose.
    I have a some questions:
    1. What database datatype is best for storing MS-Word and PDF docs? CLOB?
    2. How can the user see that the file has been uploaded? In other words, how can they see that the filename has been uploaded? I want to show this on the page for later viewing. I have uploaded a document, but later, I have no way to see that the document has in fact been uploaded. From the APEX page, the file browse item does not indicate whether or not a file has previously been uploaded.
    3. How can the user download the previously uploaded document?
    4. Is there a way to give users the capability to edit a document in an APEX app where they can do MS-Word-like editing (font size, font type, bold, italics, etc.)?
    I know I've asked a lot here and I appreciate your input.
    -Reid

    In my case, I am uploading screenshots of my application and then displaying them. You can feel free to use it if you want, the code was mostly taken from examples of file uploads posted by others. Here is some code to get you started:
    File Table description
    CREATE TABLE FILE_UPLOAD
       (name           VARCHAR2(4000) PRIMARY KEY,
        subject        VARCHAR2(4000),
        id             NUMBER,
        blob_content   BLOB,
        mime_type      VARCHAR2(4000),
        PAGE_ID        NUMBER);File Upload Procedure
    IF ( :P20_FILE_NAME is not null ) THEN
         INSERT INTO FILE_UPLOAD (id, NAME, SUBJECT, BLOB_CONTENT, MIME_TYPE, PAGE_ID)
          SELECT ID,:P20_FILE_NAME,:P20_SUBJECT, blob_content, mime_type, :P20_PAGE_ID
                FROM APEX_APPLICATION_FILES
                WHERE name = :P20_FILE_NAME;
       DELETE from APEX_APPLICATION_FILES WHERE name = :P20_FILE_NAME;
      END IF;Download Image Procedure Definition
    CREATE OR REPLACE PROCEDURE download_my_file(p_file in number) AS
            v_mime  VARCHAR2(48);
            v_length  NUMBER;
            v_file_name VARCHAR2(2000);
            Lob_loc  BLOB;
    BEGIN
      SELECT MIME_TYPE, BLOB_CONTENT, name,DBMS_LOB.GETLENGTH(blob_content)
             INTO v_mime,lob_loc,v_file_name,v_length
        FROM FILE_UPLOAD
       WHERE id = p_file;
        -- set up HTTP header
        -- use an NVL around the mime type and
        -- if it is a null set it to application/octect
        -- application/octect may launch a download window from windows
      owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
        -- set the size so the browser knows how much to download
      htp.p('Content-length: ' || v_length);
        -- the filename will be used by the browser if the users does a save as
      htp.p('Content-Disposition:  attachment; filename="'||replace(replace(substr(v_file_name,instr(v_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
        -- close the headers           
      owa_util.http_header_close;
        -- download the BLOB
      wpg_docload.download_file( Lob_loc );
    end download_my_file;
    /make sure to grant the procedure rights for use by anyone
    GRANT EXECUTE ON download_my_file TO PUBLICDisplay Image Procedure Definition
    create or replace PROCEDURE "DISPLAY_IMAGE"
      inID NUMBER
    AS
      vMIME VARCHAR2(48);
      vLENGTH NUMBER;
      vFILENAME VARCHAR2(2000);
      vBLOB BLOB;
    BEGIN
      SELECT MIME_TYPE, BLOB_CONTENT, NAME, DBMS_LOB.GETLENGTH(BLOB_CONTENT)
        INTO vMIME, vBLOB, vFILENAME, vLENGTH
      FROM FILE_UPLOAD
      WHERE ID = inID;
      owa_util.mime_header(nvl(vMIME, 'application/octet'), FALSE);
      htp.p('Content-length: ' || vLENGTH);
      owa_util.http_header_close;
      wpg_docload.download_file(vBLOB);
    END;
    /Again, make sure everyone has rights to execute the procedure.
    GRANT EXECUTE ON DISPLAY_IMAGE TO PUBLICThis doesn't create an editor inside the browser, it just creates a simple upload/display process. For a WYSIWYG editor that handles PDF or Docs, you'll need something far more sophisticated, and I can't suggest anything there.

  • ORA-06502/ORA-06512 at execution owa_util.mime_header

    Hi, APEX gurus!
    I try to write a procedure to display bfile contention /images/ into APEX page.
    I have a table :
    -TEMP_FLAGS (ID NUMBER(3) NOT NULL, NAME BFILE)
    - procedure display_country_flags_bfile
    display_country_flags_bfile (p_id NUMBER) is
    CURSOR c_flags(p_flag NUMBER) IS
    SELECT name
    FROM temp_flags_bfile
    WHERE id = p_flag;
    r_flags c_flags%ROWTYPE;
    v_bfile bfile;
    lgh_file number;
    v_dir_alias varchar2(256);
    v_filename varchar2(256);
    v_mime varchar2(255);
    begin
    open c_flags(p_id);
    fetch c_flags INTO r_flags;
    CLOSE c_flags;
    v_bfile := r_flags.name;
    dbms_lob.filegetname(v_bfile, v_dir_alias, v_filename);
    lgh_file := dbms_lob.getlength(v_bfile);
    Dbms_Lob.Fileopen(v_bfile, Dbms_Lob.File_Readonly);
    owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
    htp.p('Content-length: '||lgh_file);
    htp.p('Content-Disposition: attachment; filename="'||v_filename||'"');
    owa_util.http_header_close;
    wpg_docload.download_file(v_bfile);
    Dbms_Lob.Fileclose(v_bfile);
    end display_country_flags_bfile;
    If i execute directly in Toad i get error below:
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SYS.OWA_UTIL", line 354
    ORA-06512: at "SYS.OWA_UTIL", line 413
    ORA-06512: at "STAT.DISPLAY_COUNTRY_FLAGS_BFILE", line 20
    ORA-06512: at line 1
    In Report attributes of APEX page, i use HTML expression to populate column value as call this procedure with appropriate parameter but image just not showing.
    I appreciate any help and opinion.
    P.S. I'm a newbie in APEX and have minimal experience.
    P.S.2 I forgot - Oracle 10g XE and APEX 2.1 built-in
    Thanks, Rado
    Edited by: user7637288 on 16-Dec-2008 05:12

    Thanks, rafix.
    But i'm using Oracle XE with storage limit /1GB/ and i don't want store any images in database. I prefer to use bfile type with link to files on OS level.
    By the way , just for tests, i try to use blobs on my own table with simular procedure, which throws the same error - with owa_util.mime_header. And think that the problem is related to owa_util package.
    My APEX version is 2.1 - built-in in Oracle XE, not 3.1

  • Installing Reader 9.0 on non-system disk?

    I'd like to install on my D: drive, because the system disk C: is pretty full. Installing Reader 9.0 consumes around 50% of the remaining free space. However, the download/install procedure doesn't provide any options whatsoever (as far as I can see) for installing to a location other than C:\Program Files\.
    Any suggestions will be welcomed. Thank you.
    If it's not possible to install to D:, can I get way with moving (or deleting) the .cab file in the Setup Files folder? That accounts for half the disk consumption right there...
    Thanks.

    Heh... yeah, I can't argue with that. Well, it's an old machine (a 266MHz P2) I've been using as a file server, and I don't really want to spend money on it or mess with it too much, but I've been forced to use it as my primary machine for the past month. Migrating to a new HD might be more trouble that it's worth - basically I'd have to rebuild the system from scratch. Many of the apps are installed on D:, which is a logical drive on the same physical device as C:. Each partition is 3GB. I guess a 6GB disk was "too big" back when this machine was new. I've been running Win2K. Maybe it's time to hose the OS, reformat and repartition the drive to one 6GB partition, and install Mepis Lite. ;-)

  • Internet Explorer7 Blocking Crystal Reports 2008 CrystalReportViewer Export

    Visual Studio 2008 (VS 2008)
    Crystal Reports 2008 (CR 2008)
    Production Server: Windows Server 2003
    Internet Browser: Internet Explorer 7 (IE7)
    Crystal Reports Version: 12.0.2000.0  on both development and production
    IE7 message: To help protect your security, Internet Explorer blocked this site from downloading files to your computer. Click here for options.
    I am in the process of updating my websites from Visual Studio 2005 and Crystal Reports.NET 2005 to Visual Studio 2008 and Crystal Reports 2008.
    In VS 2005, when creating a PDF or exporting from the CrystalReportsViewer, IE7 does not block the creation/download of the PDF, nor the download of an export.
    Whereas, with VS 2008 and CR 2008 using the CrystalReportViewer  in IE7 blocks the creation/download of the PDF, and the download of an export.
    The message returned in the yellow box at the top of IE7 display window:   To help protect your security, Internet Explorer blocked this site from downloading files to your computer. Click here for options.
    If I select down Download Fileu2026  from the options, I must restart the PDF or export. 
    If I show another report, I have the same problem, even if I have stated to download the fileu2026.
    1. What is different between the CrystalReportViewer versions?
    2. What is recommended to avert this problem without having users change their IE7 settings?
    I found this settings change at: http://support.dell.com/support/topics/global.aspx/support/dsn/en/document?journalid=63F807B28AEC39CEE040AE0AB6E15FC5&docid=182320
    Turn off the Information Bar for file downloads
    This procedure will allow Web sites to automatically prompt you when downloading files, bypassing the Information Bar.
    1. Open Internet Explorer.
    2. Click Tools on the menu bar.
    3. Click Internet Options...
    4. At the Internet Options window, click the Security tab.
    5. Click the Custom Level... button.
    6. Security Settings window Security Settings window, scroll down to Downloads in the Settings: list.
    7. Click to select Enable under Automatic prompting for file downloads.
    8. Click the OK button.
    9. At the Warning! message, click the Yes button to change the security settings for the zone.
    10. Click the OK button.
    You will now receive prompts directly from a Web site if it needs to download a file to your computer.

    Hi Don:
    Yes, this is an https:// site.
    This is using X500 accounts for security. Once logged in, the site is running on an anonymous local user account.
    On Internet Options | Security | Internet | Setting the security level as medium  on (the lowest I was able to go) in  IE7 does not allow the user to download without the message coming up. It even states on the side (- Prompts before downloading potentially unsafe content)
    Workaround has been:
    1. Set the site as a trusted site (Internet Options | Security | Trusted Sites | Sites | Add )
    2. On the Trusted Sites Zone | Security level of this zone | Custom levelu2026
    3. Downloads | Automatic prompting for file downloads u2013 change to Enable
    Thanks for your input.  I would like to resolve this issue. CrystalReportsViewer - Crystal Reports Exports/Printing methodology has been changed since Visual Studio 2005 .NET version. 
    Thank you for your input.
    Patti

Maybe you are looking for

  • How Do I Group Multiple Disks as One Album?

    I've got the latest iTunes update, 11.0.4, and as with the update before it, I'm supposed to be able to group multiple disks as one album, but I can't figure out how, and can't find any directions at Apple. I've lately begun ripping my large collecti

  • Math characters are being displayed incorrectly in a webpage. eg. Þ is being displayed instead of what I think should be ⇒

    I am using Firefox 24.0 in Linux Mint. I am currently doing a math test. Incorrect characters are being displayed. There are only true/false questions on this math test. The questions on it are supposed to be very easy basic algebra questions, but be

  • 5230 - Problem with theme

    I installed a theme with contact thumbnails in black in my SD card. When I tried to switch to other themes, the contact thumbnails remained black, didn't change with theme. I tried to remove the theme. It's the same. Even if I removed the SD card and

  • Files are not correctly named and only 1kb in size - Music Downloads

    I have encountered a different problem. I bought a music album on my Z10, and when i download it, the files are not correctly named and only 1kb in size. No error is given when downloading, but when i open it, the phone switches to the music player a

  • Install web dispatcher on two different domain

    Hi Everybody,   I'm going to install web dispatcher on DMZ, that's not the same domain as Portal domain, but it cannot realize the host name that I insert for "rdisp/mshost" I'm guessing the problem is becuase they are in different domains, Do you ha