Strange: When download excel file from Apex, it ask XDB username/password.

Hi
I'm using Apex 4.0.1 on Oracle 10.2.0.3, I have a application where end user can upload some file(excel/PDF/Word) as an attachment and later on they will download. Everything is fine but one thing:
When User press the download button, a popup window asking you whether you want to open it or save it. when it's PDF/Word file, all works fine no matter what you choose; but when it's an Excel file, if we try to open it(press the open), it will popup a window saying 'XDB need a username and password'. But if you ingore it, it did open the file without any issue; If user press Save button, no issue at all.
So the app still work but it's kind of annoying..
Any one seen this before? Any idea?
Thanks
Mike
Edited by: mike on Feb 24, 2011 1:47 PM

You should open the excel file in binary mode, in that case, no errors will occur.
Also, there is a very good package located on
http://stareyes.homeip.net:8888/. It's free. The only thing is the server open
for a certain hours during the weekday. 11:00amp to 7:00pm New York time zone.

Similar Messages

  • Download Excel file from  from a second server

    Hi,
    In our Java based web application (jsp pages) users need to download Excel files stored on a different server (business tier) than the first application server server that hosts only the presentation tier.
    For security reasons users don't access the second application server. From a technical point of view what's the best solution to answer this requirement ? The logic should be the following: the user clicks on a report name that is displayed on this browser, the request is sent to the first application server that will retrieve the report stored on a second server and will return it to the user.
    Thanks a lot.

    it's been a while since i've done ejb stuff, but i believe you can configure an ejb to "runas" a different user. so, you would configure an ejb on the accessible server to "runas" a user who has access to the secondary server.

  • "Unable to read file" error in Excel 2010 when downloading .xls file from IE11

    We have lots of reports that have links for our users to be able to download report results in Excel format. We accomplish this by using the Excel mime type in our .asp pages. Sporadically, we are seeing "Unable to read file" errors in Excel 2010
    after choosing Open from the IE11 save dialog. Choosing Save/Save As and the file will open just fine.
    Also, we can sometimes cause the error to occur more frequently by switching windows during the time when the file is downloading.
    If the file is opened directly from /Temporary Internet Files then it opens just fine.
    Window 7 64-bit
    Thanks in advance!

    Hi,
    I found you replied in a similar thread, did you try the workaround (Reset the IE) that provided there? Did you change a browser to test?
    Then, I suggest we use Process Monitor to do further troubleshooting. Please collect all the actions of IE.exe and Excel.exe, and check the if there are some
    error message/code during you open XLS file from IE 11.
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • When downloading a file from google drive and save in my phones document directory,the file size is compressed. Why?

    I have downloaded files from "Dropbox" and save in phones document directory,After downloading in document directory,the size of the download file is same as the actual size in dropbox. I can also open it from document directory.Everything is ok. But when I follow the same process for google drive files, the file size is compressed(if actual size of file is 1.2Mb the download file size is 61Kb). So I can not open it from document directory.So, How can i download the actual size of the file in document directory? I am using google api objectivec client for google drive.
    Thanks in advance.

    If an iphone were to try to download a full size document ot photo, it woul overload its own ram, and crash, resulting in a laggy iphone. Therefore it is compresses

  • When downloading a file from Safari, it goes to downloads and you can't re-name the file before it is saved

    I am new to MAC and have trouble when downloading files from Safari that I want to save to a particular folder with a new name.  Can you do that without first saving to downloads, then moving the file to the documents stack, then changing the name?

    Although the right-click contect menu has "Download linked file as" and you would think that would allow you to rename the file as it is downloaded, it always gives me a useless html file.  Maybe I am misunderstanding what that menu item actually does. I long ago gave up on renaming files during download. So I'm as curious as you about whether it can be done.

  • Downloading excel file from FTP Server to Application Server

    Hi,
    I have to get data from an excel file available on FTP server into an Internal table.Can I use FTP_SERVER_TO_R3 to do so.
    Please let me know if there are any function modules available to do this.
    Thanks,
    Prasuna.

    Dear Gayatri,
    You can get the file from FTP to internal table...
    I am sending you the code with inline comments ....Hope this will be helpful to you.
    Data: lv_key           TYPE i VALUE 26101957.
    Data: lv_password(30)  TYPE c.
      i_rfc_destination = 'SAPFTP'.
      lv_length = STRLEN( i_password ).
    CALL FUNCTION 'HTTP_SCRAMBLE'
        EXPORTING
          SOURCE      = i_password "give ftp server pwd
          sourcelen   = lv_length
          key         = lv_key
        IMPORTING
          destination = lv_password.
      CALL FUNCTION 'FTP_CONNECT'
        EXPORTING
          user            = i_user "give ftp user name
          password        = lv_password
          host            = i_host
          rfc_destination = i_rfc_destination
        IMPORTING
          handle          = lv_ftp_handle
        EXCEPTIONS
          not_connected   = 1
          OTHERS          = 2.
        CONCATENATE 'cd' i_folder_path INTO lv_cmd SEPARATED BY space.
    *i_folder path is the path in ftp server where file is  stored
        CALL FUNCTION 'FTP_COMMAND'
          EXPORTING
            handle        = lv_ftp_handle
            command       = lv_cmd
          TABLES
            data          = result
          EXCEPTIONS
            command_error = 1
            tcpip_error   = 2.
         lv_blob_length = 392.
         TRANSLATE i_filename TO LOWER CASE.
          CALL FUNCTION 'FTP_SERVER_TO_R3'
            EXPORTING
              handle      = lv_ftp_handle
              fname       = i_filename          "give required file name
            IMPORTING
              blob_length = lv_blob_length
            TABLES
              blob        = lt_dummy.
    Regards
    Sajid

  • Download Excel file from Webdynpro

    I have recently created functionality in a Webdynpro application that downloads an Excel 2003 file.  Unfortunately I also need to allow a download for a file to prior versions of Excel.  Does anyone have a code snippet that will perform this type of function?

    Hi Atilio.
    The tutorial 34 under the following link:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/tutorial on excel export using the web dynpro binary cache - 34.htm
    Explains how to download the content of a table from a wdp app to an Excel 2003 file.
    Best Regards.
    Gregory.

  • How do I hide the download form when downloading a file from a website?

    Hi,
    On my website, www.sb-ssa.com, when I select a menu button that downloads a PDF, a Downloads Form appears and then the PDF appears. Is is possible to hide the Downloads Form? Thank you.
    Joe

    Use the function "File Dialog" and wire your type to "pattern label".
    Hope this helps.
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...

  • Error message when downloading photo files  from memory card  and camera  c0000005    , address e8d3c7a , with PS Elements 12 and program closes

    Can anyone help please.
    had similar problem with previous version  of PS.

    Hi jeanmichel2,
    Requesting you to please provide following info:
    - OS configuration you are using?
    - Please elaborate your scenario. I mean what are the exact steps you are doing? Also is this catalog specific (try creating a new catalog, repeat your steps and see if you face this issue).
    - I am assuming you are using Adobe Photodownloader (APD) for import (Import->From Camera or card reader). Am I correct here?
    - For Importing it seems that you are using a card reader. Is this issue reproducible with other devices also (like camera, iDevices, Android devices or pen-drives)?
    ~Surendra

  • When downloading a file from a website, I get the file but it is totally black and never fully opens up. I can see page numbers to advance See screen shot

    Same as question. On two different URL sites, the download PDF comes up black. I would include the screen shot of the black pdf, but I do not see where I can add this to my question

    Firefox's built-in PDF viewer is not yet as full-featured as Adobe's plugin. You might need to use Adobe for that one. Here's how to make the switch: [[How to disable the built-in PDF viewer and use another viewer]].
    Any luck, or same issue?

  • I am unable to download excel file from company portal.

    I have not installed any reader. Kindly suggest which is the best software for create, edit, view PDF, Word, Excel etc ...

    Apple’s having trouble with the iTunes Store servers right now. Wait for them to resolve the issue.
    (123904)

  • Download all excel files from sharepoint location to local folder

    Hi,
    How to I copy all excel files stored at sharepoint location to local folder?
    Regards,
    Nidhi

    Hi NidhiP,
    To download Excel files from a SharePoint library by using SSIS, we need to make use of the Script Task. In the Script Task, we can use the methods provided by
    Lists Web Service to work with SharePoint files, and then use the
    WebClient.DownloadFile Method or
    FileStream Class to transfer the files from SharePoint to local file system.
    For the code examples, please refer to:
    http://www.codeproject.com/Questions/457161/how-to-download-files-from-Sharepoint-document-lib?tab=mostrecent 
    http://blogs.msdn.com/b/sowmyancs/archive/2007/09/15/how-to-download-files-from-a-sharepoint-document-library-remotely-via-lists-asmx-webservice-sps-2003-moss-2007.aspx 
    http://sqlblogcasts.com/blogs/drjohn/archive/2007/11/04/downloading-excel-files-from-sharepoint-using-ssis.aspx 
    Regards,
    Mike Yin
    TechNet Community Support

  • Filename of downloaded Excel file

    I frequently download Excel files from a website that seems for the most part windows centric. These excel files have an extension of .xls, I can double click them to open, but when opened they just have the file name of WORKSHEET. If I rename the file in the finder the same thing happens. If I try to open the file in numbers I get something like
    <table border="1">
    <!-- <tr><td colspan = "15" valign="middle" align="center">Date: 8/1/2008</td></tr>-->
    <!-- <tr><td colspan = "15" valign="middle" align="center">Investor's Business Daily Æ</td></tr> -->
    <tr><td colspan = "15" valign="middle" align="center">Investor's Business Daily 100</td></tr>
    <tr><td colspan = "15" valign="middle" align="center">Data as of 8/1/2008 market close</td></tr>
    Any idea? Now I have to open the file in excel, then do a save as, type in the file name (if I don't want WORKBOOK), then delete (or write over) the original file. What can I tell the website people?

    Hello ,
    In my procedure i am passing id and with the help of that id , ia am fetching values from the database.
    i have declared on clob type variable say v_insert where i am storing table structure(like worksheet) which i need on excel
    example
    v_insert := v_insert||'<tr>';
            v_insert := v_insert||'<td></td> <td></td> <td></td> <td></td> <td></td> <td></td> <td><b>Column1_Value</b></td> <td>abc</td>';
        v_insert := v_insert||'</tr>';then i am converting that clob into blob and storing the content into BLOB type variable say v_blob
    below is the code used for downloding the blob content.
    wpg_docload.download_file(v_blob);Thanks,
    Jitendra

  • I can't download PDF files or excel files from my email

    Why I cannot download PDF or excel files from my email. I click on the attach but it does nothing at all

    You are saying that files are not opened in the mail app when you are reading the email or the file does not open when you tap on the icon?
    Try quitting the mail app and the launch it again. Try restarting the iPad as well.
    To quit the mail app ....  Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of your recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • Why when  i copy files from downloads to a new folder,then i delete them from the downloads i will loose the file?

    tell me please when i copy files from downloads  it will be a new file with new capacity? i mean if a file is 2 mb, when i copy it it will be new 2mb ?

    If you copy it to another folder, e.g., Documents, and you can see it in the Downloads folder then you now have two copies of the file. If you delete one copy, the other stays intact. If you keep both, there is no harm, although the amount of disk space used is twice as big as when you only keep one copy.

Maybe you are looking for

  • My ipad 2 doesn't turn on, My ipad 2 doesn't turn on

    I used my ipad two days ago using mail and playng games only for a little time. I turn off ipad. Yesterday morning I tried to turn on my ipad but it seems dead. I try to charge after try all way to turn on it. I left it charging all the night but thi

  • Final Cut Pro 5 not working with JVC BR-HD50/HD-100U

    The footage was shot in 720/30p on the HD-100U which is supposed to work with FCP5. I am using the HD50 deck. I can log the footage but only see black going to the Log & Capture window. I have checked all the settings on the deck and in FCP with no l

  • Issue Regarding PCR-Time Management

    Hi All, The requirement is to not to consider break schedule assigned in work schedule for an attendance type calculation hours . For example if employee is taking this attendance 16 hours , now its deducting 0.5hr break .Payment has to be made for a

  • Problem invoking short-lived processes involving Document object

    I have two LiveCycle instances on two different server environments(Dev and Test). I have a few common short-lived processes and forms. All these processes involve Document objects. These processes run fine on one environment(Dev) and have problem in

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