Unable to upload XLSX files

Hi Everyone,
I know there is a seperate thread about a similar issue
Namely Upload of XLSX File using XLS2COLLECTION
But the error message in that thread is different to what we are getting,
When trying to upload an XLSX file in Apex 4+ and the 2.0EA listener we get the following error message.
Error - Error while executing this process "Upload Supporting Documents" ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
Technical Info (only visible for developers)
is_internal_error: false
ora_sqlcode: -6502
ora_sqlerrm: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
component.type: APEX_APPLICATION_PAGE_PROCESS
component.id: 3772917940833991
component.name: Upload Supporting Documents
error_backtrace:
ORA-06512: at line 7
ORA-06512: at "SYS.DBMS_SYS_SQL", line 1926
ORA-06512: at "SYS.WWV_DBMS_SQL", line 966
ORA-06512: at "SYS.WWV_DBMS_SQL", line 992
ORA-06512: at "APEX_040100.WWV_FLOW_DYNAMIC_EXEC", line 649
ORA-06512: at "APEX_040100.WWV_FLOW_PROCESS", line 129
I have tried to look at the above packages but they are all obviscated.
Also, looking at the code in the APEX action, there was a table(rec_supporting_docs) that had a 50 length mime type column, which i changed to 255, but this has still not fixed it.
The code in the apex action is
declare
l_blob blob := null;
l_mime_type varchar2(50) := null;
begin
-- Get the uploaded supporting document
select blob_content, mime_type
into l_blob, l_mime_type
from apex_application_files
where name = :P10_SUPPORTING_DOC;
delete from apex_application_files
where name = :P10_SUPPORTING_DOC;
insert into rec_supporting_docs (supporting_doc_id, rec_id, supporting_row_no,
supporting_col_val, supporting_doc, doc_name,
uploaded_date, mime_type, created_by, created_date)
values (rsd_seq.nextval, :P10_REC_ID, replace(:P10_SEGMENT, substr(:P10_SEGMENT,-1,1), ''),
substr(:P10_SEGMENT,-1,1), l_blob,
substr(:P10_SUPPORTING_DOC, instr (:P10_SUPPORTING_DOC, '/') + 1),
sysdate, l_mime_type, v('APP_USER'), sysdate);
-- Add audit record
SGL_RECHELP.RECONCILIATIONS_PKG.Insert_Audit(:P10_REC_ID, 'Supporting Document Uploaded', :APP_USER);
end;
Any help or suggestions woudl be greatly appreaciated.
Regards

Hi Everyone,
I know there is a seperate thread about a similar issue
Namely Upload of XLSX File using XLS2COLLECTION
But the error message in that thread is different to what we are getting,
When trying to upload an XLSX file in Apex 4+ and the 2.0EA listener we get the following error message.
Error - Error while executing this process "Upload Supporting Documents" ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
Technical Info (only visible for developers)
is_internal_error: false
ora_sqlcode: -6502
ora_sqlerrm: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
component.type: APEX_APPLICATION_PAGE_PROCESS
component.id: 3772917940833991
component.name: Upload Supporting Documents
error_backtrace:
ORA-06512: at line 7
ORA-06512: at "SYS.DBMS_SYS_SQL", line 1926
ORA-06512: at "SYS.WWV_DBMS_SQL", line 966
ORA-06512: at "SYS.WWV_DBMS_SQL", line 992
ORA-06512: at "APEX_040100.WWV_FLOW_DYNAMIC_EXEC", line 649
ORA-06512: at "APEX_040100.WWV_FLOW_PROCESS", line 129
I have tried to look at the above packages but they are all obviscated.
Also, looking at the code in the APEX action, there was a table(rec_supporting_docs) that had a 50 length mime type column, which i changed to 255, but this has still not fixed it.
The code in the apex action is
declare
l_blob blob := null;
l_mime_type varchar2(50) := null;
begin
-- Get the uploaded supporting document
select blob_content, mime_type
into l_blob, l_mime_type
from apex_application_files
where name = :P10_SUPPORTING_DOC;
delete from apex_application_files
where name = :P10_SUPPORTING_DOC;
insert into rec_supporting_docs (supporting_doc_id, rec_id, supporting_row_no,
supporting_col_val, supporting_doc, doc_name,
uploaded_date, mime_type, created_by, created_date)
values (rsd_seq.nextval, :P10_REC_ID, replace(:P10_SEGMENT, substr(:P10_SEGMENT,-1,1), ''),
substr(:P10_SEGMENT,-1,1), l_blob,
substr(:P10_SUPPORTING_DOC, instr (:P10_SUPPORTING_DOC, '/') + 1),
sysdate, l_mime_type, v('APP_USER'), sysdate);
-- Add audit record
SGL_RECHELP.RECONCILIATIONS_PKG.Insert_Audit(:P10_REC_ID, 'Supporting Document Uploaded', :APP_USER);
end;
Any help or suggestions woudl be greatly appreaciated.
Regards

Similar Messages

  • I am unable to upload video files

    Hi
    i am unable to upload video files to ipod.
    can anybody explain the procedure how to upload?
    Thanks

    GUIDES TO: Converting Video for iPod - Mac & Window
    http://forums.ilounge.com/showthread.php?s=&threadid=123067
    Patrick

  • Unable to upload multiple files

    In MOSS, I am unable to upload multiple files from the Site Actions | Manage Content and Structure | New | Item menu. I have tried adding Word documents and image files (JPEG, GIFS) to no avail into the \images or \document folders. Even if I try just one file, three or five, the menu never initiates or progresses. It just sits. If I cancel, the menu returns immediately. I have tried to change security settings with no success. Trying to upload multiple files on different MOSS installations also fails. If this is related to a Web Dev settings, can you tell me exactly where the setting is? Thanks for your insight. cm

    Believe it or not, I have found a solution after about 4hrs of fiddling around. This appears to be a bug in Sharepoint 2007. There is a work around that I have discovered! Follow the steps below and let me know if this works for you. It has worked for me and other people so far.
    The steps are as follows:
    1) Browse to your website at http://<servername>/_layouts/settings.aspx; you will need to login by providing a service account name & password or your site collection administrator account & password.
    2) Once you login, click on 'Site Actions' menu.
    3) Then, click on 'Manage Site Content and Structure'.
    4) Click on any document library you want to upload or add files into. If you do not see the 'Upload' menu from the dropdown main menu between the 'New' and 'Actions' menu then you have this bug as well showing up on your server. Don't give up yet, there is a solution. Keep going through these steps!
    5) Click on 'New' and select 'Item'.
    6) You should now see the Upload Document page; under the input browse field there should be a link for 'Upload Multiple Files...', if you do not see this you will need to install either Office 2003 or Office 2007. If you do see it, click on it.
    7) Now, you should see the multiple upload page that allows you to select multiple files. If you try to select one or several and click on the OK button, nothing will happen. No need to worry! There is a work around. Just keep reading to the next step.
    8) On the hierarchy navigation you will have links something like this:
    WebSiteName > Folder1 > Folder2
    9) Click on the "Document Library" folder name; in our case it was Folder1. Basically its the folder you ended up in in step #4.
    10) Now, did you notice anyting in your menu change? Now you should be able to see the Upload menu option between the 'New' and 'Actions' menu that you could not see in step #4.
    11) Click on the 'Upload' menu and select 'Upload Multiple Documents'
    12) Now, you will be back at the Upload document page where you were in step #7
    13) Select one file or many and then click OK. Now it works!!! You should get an IE popup asking you that your about to upload files to your site, Click OK.
    VOILA!!!
    Don't ask me why, I do not know why this happens but it works.

  • Unable to see the logical path and file created in FILE tcode from AL11 and unable to upload the file to this path from front end

    Hi Experts,
    I have created the logical path and filename in FILE tcode.I am trying to upload the pdf file to application server by using this path.But
    I am getting message like "Unable to open the file".Even I cannot find the this path in AL11 tcode.Kindly anyone advise how to upload pdf file using
    custom path and file created from FILE tcode.
    Thanks & Regards,
    Anusha.

    Hi Anusha,
    Please give as below.
    I forget to say you cannot open the PDF in AL11 and for that you need some configuration, i think it can be done using content server,not sure completely please wait for some more suggestions.
    Regards,
    Pavan

  • Unable to upload a file with Drag and Drop and http

    Hello,
    I am trying to upload a file through the web interface (Netscape 4.7 and IE 5.0). When I click un upload, Via Drag and Drop, a new window is started, but never completes.
    With Netscape, I get a message box: Netscape is unable to locate the server null. Please check the server name and try again.
    With IE 5, I get an error: This page can not be displayed.
    Are there any files I need to edit on the PC side to get this to work?
    Thanks
    Scott
    PS I think you guys are doing a great job with support on iFS.

    WebUI Drag & Drop requires FTP to be running and available.
    Drag & Drop is really just uses the browser built in FTP ability.

  • I have suddenly unable to upload any files through FIrefox

    I have been unable to upload files on Firefox and Chrome. This happened suddenly.

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • I am unable to upload pdf files.

    I am unable to upload files to acrobat.com. I receive an error message that says 'Error: Adobe reader did not get a response from the server.  Try again later or contact your system administrator.' I'm on the internet right now.  AND I use to heave a side menu whenever I opened any pdf files with the option to convert it to any other format and the side menu no longer displays.

    a quick question first-
    in the Files Panel, is the icon next to this site's root
    folder a folder
    icon or a network icon?
    You should be able to make a link to a pdf file by selecting
    the text, then
    use the folder icon next to Link in the Property Inspector to
    pick the file
    you want to link to.
    to manually upload a file, find it in the Files Panel and
    click Put
    note- if the pdf's filename contains blank spaces or
    punctuation there can
    be linking errors.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Unable to Upload .ai Files to my Web Page

    I secured a domain name and hosting provider, but am unable to upload my web pages, which were designed using Illustrator CS5. They are in .ai format and the .html version won't upload due to the incomplete '4 KB' size. How do I convert the files from ".ai " to enable me to upload my web pages? Thank you in advance for your time.
    [Moved from the generic Cloud forum to the specific Program forum... Mod]

    Illustrator's Save for Web command is designed as tool that helps you create graphics suitable for use on a web-site. In other words, the actual web-site would need to be developed in a web-development tool, such as Adobe Dreamweaver, or Adobe Muse. The following video explains the Save for Web functionality more:

  • Unable to upload video files via iframe in safari version 3.0

    I m not able 2 upload video files via iframe in safari 3.0.
    i m facing this issue when i try 2 upload a video file via an iframe.
    file gets uploaded properly if i m not using iframe to upload the same.
    this issue is seen only in safari version 3.0 and not in the newer version i.e (3.2.1)
    do anyone has the asnwer for this problem.....???
    would be thankful to him/her...

    Are you using a BT Home Hub with the IP Phone attached. This holds onto the SIP port that iChat uses. There is no way to get the router to release this port.
    I had to return it all to BT as unfit for purpose and switched to Eclipse!

  • PI unable to generate XLSX file

    Hello Experts,
    I have one scenario where I have to generate ".XLSX" file and I have followed the below post by Aashish Sinha.
    Convert incoming XML to Excel or Excel XML – Part 1 - XSLT Way
    The output file is generated with ".xlsx" however while we are trying open the file,it is saying that the file is corrupt.If we change the extension manually to ".xls" then it opens,though it gives a warning. We need to generate a proper ".XLSX" file which could be opened without any warning.
    Can any one advise if there is any way to have that? Appreciate your help!!
    Note:I tried the JAVA mapping and got same problem.
    Regards,
    Arijit

    Hi Arijit
    The link I have provided has the code . Only you need to use them inside a java mapping.
    You can find thousands of blog on Java mapping in SAP PI.
    This is simple format of java mapping
    import com.sap.aii.mapping.api.AbstractTransformation;
    import com.sap.aii.mapping.api.StreamTransformationException;
    import com.sap.aii.mapping.api.TransformationInput;
    import com.sap.aii.mapping.api.TransformationOutput;
    public class JavaMapForHemant extends AbstractTransformation {
      public void transform(TransformationInput arg0, TransformationOutput arg1)
      throws StreamTransformationException {
      try {
      } catch (Exception e) {
      e.printStackTrace();
      } // end of transform
    You need to write your code inside the transform method.

  • Unable to upload RTF file in the long text

    Hi all,
    Could you please help me out in this issue. I am trying to upload the RTF file in the long text editor through this menu path Text-> Upload->RTF file.The RTF file is about only 56 KB memory size consists only texts.
    I could able to select the file and when i am executing , ABAP dump is showing as follows:
    Runtime error : TABLE_INVALID_INDEX
    abap program : SAPLSTXK
    Whether any SAP notes to be applied for this ?
    Please throw you ideas
    Regards,
    Suresh.

    try this.
    REPORT YCMTESTE LINE-SIZE 255 MESSAGE-ID TD.
    PARAMETERS:
    TEXTNAME LIKE THEAD-TDNAME DEFAULT 'SAPSCRIPT-DRUCKERTEST',
    FILE LIKE RLGRAP-FILENAME DEFAULT 'C:\temp\'.
    DATA: TEXTHEADER LIKE THEAD.
    DATA: TEXTLINES LIKE TLINE OCCURS 100 WITH HEADER LINE.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING NAME = TEXTNAME
    LANGUAGE = SY-LANGU
    OBJECT = 'TEXT'
    ID = 'ST '
    IMPORTING HEADER = TEXTHEADER
    TABLES LINES = TEXTLINES
    EXCEPTIONS OTHERS = 1.
    CHECK SY-SUBRC = 0.
    CALL FUNCTION 'EXPORT_TEXT'
    EXPORTING CODEPAGE = '1133'
    FILE = FILE
    FORMATWIDTH = 132
    FORMAT_TYPE = 'RTF'
    HEADER = TEXTHEADER
    SSHEET = ' '
    WITH_TAB = ' '
    TABLES ITF_LINES = TEXTLINES
    EXCEPTIONS DOWNLOAD_ERROR = 1
    FILE_OPEN_ERROR = 2
    FILE_WRITE_ERROR = 3.
    CASE SY-SUBRC.
    WHEN 0. MESSAGE S807 WITH FILE.
    WHEN 1. MESSAGE E815 WITH FILE.
    WHEN 2. MESSAGE E811 WITH FILE.
    WHEN 3. MESSAGE E814 WITH FILE.
    ENDCASE.
    Reference::[http://help.sap.com/saphelp_sm32/helpdata/en/d6/0db7f3494511d182b70000e829fbfe/content.htm]
    <removed_by_moderator>
    Edited by: Juan Reyes on May 16, 2011 12:05 PM

  • Suddenly unable to upload mp3 files using iTunes Match

    I've got a USB turntable and have enjoyed digitizing a lot of LPs and copying them into iTunes.  I digitized a 10-track album just yesterday, and can copy the resulting mp3 files into iTunes, where they play fine, but they won't upload to iCloud using iTunes Match. It gets to the point where it's supposed to upload tracks it cannot match and just sits there.  I use Audacity to digitize from the USB turntable, and it exports as MP3 file. This has worked over many albums but now seems to be stuck. Any thoughts on what the problem might be?

    So my issue appears to be with uploading mp3 files that probably won't match anything in iCloud.
    iTunes match matches Audio files by comparing the audio and not by comparing the tags for the album. My iTunes Library contains more than 500 songs that have been ripped and matched from vinyl records or audio tapes.
    The songs will not match, if there is not the exact same recording in the store, but if the audo quality is good and the tempo of the player was exact, the song will be matched.

  • Unable to upload any files into a folder

    Hi,
    i was trying to upload some files into KM Content/root/Document
    i tried to upload a pdf then i got this error
    "  "Enterprise_Portal_Cookbook_Vol_1.pdf" does not exist, or file is empty; you cannot upload empty files.  "
    i tried to upload some text files n i keep getting the same error.
    can anyone Please tell me what is the reason behind it.

    Venkat,
    Welcome to SDN.
    Please refer note 898637 . That would be the solution.
    This thread would also help
    https://forums.sdn.sap.com/click.jspa?searchID=2014008&messageID=2986367
    Points are welcome if this helps.
    Regards
    Vineeth

  • Unable to upload txt file when creating new message

    Hi Expert,
    We installed SolMan 7.1, but we are not able to upload txt file when
    create a new message, detailed steps as below:
    1. Click on “New
      Message” under “Common Tasks” in the left side
    2. Click on
      “Attachment” under “Create Message”
    3. Click on “Add”
      under “Attachment”
    4. Select file and
      click on “OK”
    5. But as the result, it says “No attachments. Select Add to
      upload a new attachment.”
    Could you please help advise the reason and solution?
    BR
    Takashi

    Hi Vikram,
    Thanks for your reply.
    I have tried again and found that, it seems if the file size is 0, it can't be uploaed; if the size if bigger than 0, then it can be uploaded.
    So I close this discussion now. Thank you!
    BR
    Takashi

  • Unable to upload .jpg files to mms

    if I save a photo off say a Google image search i am unable to then attach that to a text message and send it to someone.  i am able to save the image to my phone but when trying to upload to a message i get an error message saying
    Unsupported Picture Format Choose a different picture
    this happens with all images saved off of a Google search and when checking the image description it always says the file is in a .jpg which i know is an extremely common image type and i was able to perform these actions perhaps a month ago.  don't know if an auto update happened at night or something but i don't know what settings to adjust in order to be able to do this simple action again that i have been doing for years with all my android phones since the original Motorola Droid.
    any assistance would be greatly appreciated
    thank you

    The size of the file is to BIG you need to use a photo editor app or program on your computer and then attempt to send it again.
    However in certain cases the file is better as a .gif than a compressed .jpg however you would still need to convert it to that file format,
    You may be able to send via email, again it cannot be a large file.
    Good Luck

Maybe you are looking for

  • OCR rotates markups relative to annotation and rest of page

    Using Adobe Acrobat X Pro 10.1.13. I have read may posts about similar content, but not one that seems to address my issue in such a way that it fixes the problem for me.  That's probably because i am a novice user.  Any help is greatly appreciated.

  • Photoshop CC crashes on startup

    I've used CC before and have never had this problem, but i am using the trial now and photoshop crashes literally 2 seconds after i open it. I see "Photoshop has stopped working" and then it says searching for solution, then gives me the option to ju

  • Gl Gurus! Query help

    We have 100's of accounts in GL_CODE_COMBINATIONS segment2, not been used for years. We want to inactivate these accounts not used for more then 3years. Does any one have any idea about to find this out in a query which tables to join we are in apps

  • I purchased a Mac Book Pro how to integrate lightroom and Creative cloud

    How can I integrate Creative Cloud with a Mac Book Pro? I currently use Windows 7 file system to store my Lightroom photos.   I have the dng lightroom files in a top file directory and the exports for email and various functions in sub directories.  

  • How do I transfer my back up files back to my iPod Touch???

    Hello! I recently updated my iPod Touch with iOs5.0 and I was thrilled to use it only to find that my files are on my computer. I tried tranfering back to my iPod but my iTunes persistently asking me to authorize my computer even though I already did