Mime type note set for css with wwv_flow_file_mgr.get_file

Hello,
We have an apex application over here that has problems with the mime type of a theme (css) file. The css file works correctly in IE but not in FF or Chrome (because IE check the file extension, but FF seems not do not ..).
This is the call that is failing
<link type="text/css" rel="stylesheet" href="wwv_flow_file_mgr.get_file?p_security_group_id=33490830277084435&p_fname=theme_3_1.css" />
in the FF error console it complains about the file being of application/octet-stream instead of text/css and therefore it will not load it.
I have created a simple local .htm file with
<html>
<link type="text/css" rel="stylesheet" href="http://xxx.xxx.xx/pls/htmldb/wwv_flow_file_mgr.get_file?p_security_group_id=33490830277084435&p_fname=theme_3_1.css" />
</html>
And it loads the file (even though it says it is still application/octet-stream) in FF, but it will not do the same if called from Apex.
I'm kind of lost here, so any ideas where to look for an explanation/fix ? (Yes, we have the AddType text/css .css in the httpd.conf)
regards.

Hi UserXY,
what connectivity module do you use (Oracle HTTP Server, Embedded PL/SQL Gateway, APEX Listener)?
Which Browser did you use to upload the css-File?
I don't know why this happend in your case, but you could try a different browser to upload the file again.
brgds,
Peter
Blog: http://www.oracle-and-apex.com
ApexLib: http://apexlib.oracleapex.info
Work: http://www.click-click.at

Similar Messages

  • Uploading files Mime Type not correct for Office 2007 default extensions.

    hi all,
    My company has recently moved over to MS Office 2007 and the default extensions for word, excel etc are now .docx, xlsx etc (ie xml based).
    Unfortunately now when we upload files through APEX to the database the MIME TYPE value for these files isn't being recognised and not loadeding correctly into the APEX_APPLICATION_FILES table and subsequently any future retrieval of these files fails.
    I could put some logic inthe up load procedure to look at the filename in APEX_APPLICATION_FILES and hard code in the releavnt mime types but this still causes problems when retrieving the content.
    Has anyone come across this and got a workround? Is it a bug in AE?
    regards
    James
    FYI - using APEX 3.0.2 over 11G.

    I have not any response to my question and not sure if it is in Apex I need to look or the tomcat server that I need to look. I have a useful application to try to show others what Apex can do for our customers to collaborate. However, most of our customers are using office 2007 so, hoping this is possible.
    I am using apex 3.2.0.00.27 if that helps someone to point me where to find more info on being able to have Word 2007 or excel 2007 fire up to open a .docx or .xlss file stored in a table blob column. Word or Excel does fire up to open .doc and .xls files.
    The following is the query for a report selecting the filenames uploaded into a blob column in my table:
    { SELECT s.ID, SUBSTR(s.NAME,INSTR(s.NAME, '/',1,1)+1,length(s.NAME)) SHORT_FNAME, s.SUBJECT
    FROM spp_attachments s
    WHERE s.PROGRAM_ID = :P2_PROGRAMID }
    Below is the stored procedure called from the link on the short_fname column in report query above.
    { create or replace PROCEDURE  download_file(p_file IN number) AS
    v_mime VARCHAR2(48);
    v_length NUMBER;
    v_file_name VARCHAR2(2000);
    Lob_loc BLOB;
    BEGIN
    APEX_APPLICATION.G_FLOW_ID :=245;
    IF NOT (wwv_flow_custom_auth_std.is_session_valid) then
    owa_util.status_line(404, 'Page Not Found',true);
    return;
    else
    SELECT MIME_TYPE, BLOB_CONTENT, name,DBMS_LOB.GETLENGTH(blob_content)
    INTO v_mime,lob_loc,v_file_name,v_length
    FROM spp_attachments
    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 if;
    end download_file; }
    Thank you,
    Mark

  • V-41 tcode error :Table 304 is not defined for use with condition type PR00

    Hi All,
    I am trying to create a BDC using the transaction V-41. 
    The first screen has fields:
    ConditionType and Table, where I have to fill values ZPM1 and 800 respectively.
    But as soon as I enter the tcode v-41 and say enter, the above mentioned fields are already having the  values 'PR00' and ' 304'. Normally if you take an example fo t-code VA02, all fields are blank.
    Then an error message  is displayed:
    Table 304 is not defined for use with condition type PR00
    This behaviour is not allowing me to use the BDC feature.
    Please advise me on why this is happening. What are the possible solutions I can use to clear these values programmatically?
    Can anything be done via customizing?
    Regards,
    Namita.

    Dear ILHAN ,
    Well the problem you are facing is having the following solution:
    Table 304 is not defined for use with condition type PR00
    Message no. VK024
    Diagnosis
    The selected condition type does not fit in the condition table, that is the basis for the condition record. Alternatively the selected condition type is not included in the condition types that were selected on the selection screen or that are defined in the variant of the standard selection report.
    Procedure
    Úse F4 help to choose a valid condition type.
    If this does not give you the required condition type, check in Customizing for condition types and the related access sequences.
    In the condition maintenance also check Customizing for the selection report (pricing report), that you have selected in the navigation tree, using the standard condition table as a reference.
    I hope this helps.
    It has worked for me.
    I gave it a try and what I am getting using the transaction V-41 is create Price condition (PR00) : Fast Entry.
    Please award points if you find it useful.
    Regards,
    Rakesh

  • Rules are not allowed for jobs with set 'archive edited messages only' flag.

    Hi,
    We are on AEX 7.4 and have enabled user defined search and also setup archiving. Even though the retention period has expired but still the messages are not being
    archived.
    We see following issues:
    1. Unable to setup archiving rule in Runtime Work Bench, we are getting following error:
    Rules are not allowed for jobs with set 'archive edited messages only flag.
    2. Unable to set the expiration of messages using the following link.Each time we specify the number days it shows the same number of
    messages expired.
    http://XXXXX:50000/MessagingSystem/job/reorgdb.jsp
    3. However if we click on "remove messages" button the messages are getting deleted which tells me that the messages are not matching any
    archiving rule hence are being removed.
    Any pointers to the above issue are appreciated!!!
    Thanks,
    Rajeev

    Hi,
    Please check the [link|http://www.****************/Tutorials/XI/Archiving/Index.htm]
    Also check this
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/402fae48-0601-0010-3088-85c46a236f50?quicklink=index&overridelayout=true
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=147266890
    Regards,
    Naveen.

  • Doesn't play songs, "itunes is not configured for use with mac-formatted"??

    Hi, new ipod shuffle. Seems to charge fine, all indicator lights function as expected. Everything looks fine in itunes. But it doesn't play songs. I have the most recent versions of itunes and the ipod software. Re-set, updated, and restored, nothing works. Even restored using the restore utility. Re-started computer. Checked for volume control. Won't play songs. Tried different file types. Songs play fine from itunes library and from the device's library within itunes. Tried different headphones. Hooked it up to computer speakers. Turning volume all the way up on device and speakers, heard some very faint rhythmic static, so my guess is the jack socket (or whatever you call it) is just messed up, but it seems weird that it can transfer power and data to the device but doesn't work for sound...
    The only other issues that have come up is that the drive disappears in explorer once it syncs with itunes. Other people who've noticed this seem to have completely different problems so I don't think it's related.
    Also, I have MacDrive on my computer. And when it starts up with the ipod plugged in, MacDrive offers the message "Itunes is not configured for use with Mac-formatted ipods." It offers to automatically reconfigure itunes so it can read mac-formatted ipods. Since I've restored the device, I don't see why formatting should be an issue so I say "no."
    Should I try letting macdrive do its format thing? Should I try formatting the ipod disk on the My Computer menu? Or should I just email apple and tell them the jack's busted?
    Thanks for any thoughts!

    Well, I have had my iPod for about 3 years, it is a 4th generation non-video 40 GB. One day it just stopped working, and now it does not play any songs. when I turn it on it makes this odd whirring sounds that computers make when they try really hard to do something. I cannot charge it, and it is not recognized by iTunes. Also when I turn it on, I get the apple.com/ipod/support (or whatever it is) screen. Needless to say, my warranty is expired, and so I cannot do anything for it except get a new battery, or buy a new one. Is there any way to fix this problem, or anyone out there who is experiencing the same thing?
    I'm having the exact same problem with my wife's iPod. However it will play about 3 seconds of a song and go onto the next song.
    If there is anyone out there that can help please do!
      Windows XP  

  • Weblogic +  jnlp MIME Type not recognised

    Can anyone help, I'm trying to get JWS to run on a machine that is running a Weblogic & Apache server for a large enterprise app. I've added the jnlp mime type to both the httpd.conf & weblogic.properties file. Depending upon where the jnlp file is situated, it either is returned as xml in the case of the Weblogic dir,hte mime type not being recognised or JWS starts and then throws a text.html error, if the the jnlp file is in the Apache htdocs dir. I've read that Weblogic introduced support for jnlp but my version doesn't include it in the config file. Is there a work around or won't JWS work with early versions of Weblogic?

    same problem for me also
    i have the lines in web.xml what you said
    but the mime type is not recognized
    help me
    --parthi                                                                                                                                                                                                                                                   

  • 50L4300 TV MIME Type Not Supported

    My Toshiba 50L4300 TV web browser is having problems with some web pages and shows such error MIME Type Not Supported. Can not open MIME type resource. It has Software 7.2.67.32.01.1 Jul 02 2014. MBOOT Version: 00467596.
    Any idea why do I have this error? please find enclosed pictures.
    Attachments:
    1.JPG ‏22 KB
    2.JPG ‏29 KB

    The TV doesn't have support for Flash content. Flash is a third-party plugin available for many web browsers. I'm sorry.
    - Peter

  • Temp folder was not set for RTFStringbuffer Error

    Hi,
    We are using CR XI 11.0.0.895 and CR XI JRC is been used to generate the reports in PDF and RTF format.
    While generating report of more than 1000 pages in RTF format throws the below mentioned exception
    temp folder was not set for RTFStringbuffer
    However, Generating reports in PDF format generates the report.
    Find below the environment details which would helpful for the analysis.
    CR XI 11.0.0.895
    IE 6.0
    MS-office 2003
    Windows XP SP2
    Reports JRC application deployed on Weblogic 8.1.4
    Please suggest us a solution for this problem.
    Thanks in advance.

    If you run [Process Monitor|http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx], do you see any file access errors when the JRC tries creating a temp RTF file?
    I think I've recommended this before, but have you tried the newest version of the JRC?
    [https://boc.sdn.sap.com/node/19020]
    The XI Release 1 keycode will work with it.
    Sincerely,
    Ted Ueda

  • Error "Lead selection not set for context node"

    Hi everyone,
    I've got a Tree control in WebDynpro ABAP and I've implemented an "expand all" button.
    Here's the coding:
    METHOD expand_node_rec.
      DATA lo_el_child TYPE REF TO if_wd_context_element.
      DATA lo_node_children TYPE  wdr_context_child_map.
      DATA wa_lo_node_children LIKE LINE OF lo_node_children.
      DATA lo_nd_child TYPE REF TO if_wd_context_node.
      DATA lo_kschl TYPE klschl.
      DATA lv_has_children TYPE boolean.
      lo_el_child = node->get_element( ).
      lo_node_children = node->get_child_nodes( ).
      node->get_attribute( EXPORTING name = 'KSCHL' IMPORTING value = lo_kschl ).
      node->get_attribute( EXPORTING name = 'HAS_CHILDREN' IMPORTING value = lv_has_children ).
      IF lv_has_children = abap_true.
        node->set_attribute( name = 'IS_EXPANDED' value = abap_true ).
      ENDIF.
      LOOP AT lo_node_children INTO wa_lo_node_children.
        lo_nd_child = wa_lo_node_children-node.
        me->expand_node_rec( node = lo_nd_child  ).
      ENDLOOP.
    ENDMETHOD.
    However I'm getting the error above: "Lead selection not set for context node".
    Any suggestions?
    Edited by: DEVELOPMENT THEMIS on Jul 7, 2011 6:34 PM

    hi developement Themis,
    I think u didn't diclare "node" as context node. So declare it as a context node before using as a context node..as below
    DATA node  TYPE REF TO if_wd_context_node.
    or u can use  "lo_nd_child " as ur context node in ur program in place of "node"
    then I think this error will be removed.
    thanks,
    simadri

  • Lock NOT set for: Archiving the data from a data target

    Dear Expert,
    I try to archive one of my info cube, when i start to write the Archive file the Free Space in the Archive folder not enough and it make the process error.
    Then i try to changes the Archive folder to another path with enough free space. But when i start to write the archive file with new variant this error message came up :
    ==============================================================
    An archiving run locks InfoProvider ZICCPS810 (archivation object BWCZICCP~0)
    Lock NOT set for: Archiving the data from a data target             
    InfoProvider ZICCPS810 could not be locked for an archiving session 
    Job cancelled after system exception ERROR_MESSAGE                  
    ==============================================================
    Please Help Me.
    Wawan S

    Hi Wawan,
    If the earlier archive session resulted in error, please try to invalidate the earlier session in archive management and try running archive job again.
    Hope this helps,
    Naveen

  • Class type not defined for this object type

    Hi Friends,
    Could u please guide me ?..We have a requirement to extract some data from classification system.
    This is related with class type 023 - Batch
    I want to use the following parameters in CTBW.
    basis datasource :Z_BATCH_ATTR
    class type : 023
    object table :MCHA
    Datasource type : ATTR
    I am getting an error "Class type not defined for this object type" when i enter the above entries in CTBW.
    The only way I'm being able to make this work is changing object table from MCHA to MCH1.
    This solution does not fit me bacause MCH1 table dont have Plant as Key, and I need it.
    Do you know what should I do to solve this?
    Thanks in advance

    Hi,
    I believe we have to use the list of standard "Basis DataSource", as I'm also stuck with the same issue. Let me know what Basis Data source you selected in this case.
    As I'm trying to extract Batch attributes from "AUSP" Table.
    I have given class type= 023
    Obj Table= AUSP
    But not sure which "basis datasource" I need to select.
    Thanks,
    Satish

  • DTP error: Lock NOT set for: Loading master data attributes

    Hi,
    I have a custom datasource from ECC which loads into 0CUST_SALES.  I'm using DTP & transformation which has worked for loading data in the past for this infoobject.  The infopackage loads with a green status but when i try to load data, the DTP fails with an error message at "Updating attributes for InfoObject 0CUST_SALES Processing Terminated" & the job log says: "Lock NOT set for: Loading master data attributes".  I've tried reactivating everything but it didn't help. Does anyone know what this error means? We're on SP7.   Thanks in advance!

    Hello Catherine
    I have had this problem in the past (3.0B) --> the reason is that our system was too slow and could not crunch the data fast enough, therefore packets where loacking each other.
    The fix: load the data into the PSA only, and then send it in background from the PSA to the info object. By doing this, only a background process will run, therefore locks cannot happen.
    Fix#2: by a faster server (by faster, I mean more CPU power)
    Now, maybe you have another issue with NW2004s, this was only my 2 cents quick thought
    Good luck!
    Ioan

  • HT5312 after I entered the password of my iCloud ID, it prompted out asking me to check email from an emai address that I did not set for rescure and then I cannot login? now my iPhone has got all the cotacts lost.

    after I entered the password of my iCloud ID, it prompted out asking me to check email from an emai address that I did not set for rescure? and then I cannot login.

    Try going to https//appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Tap edit next to the primary email account, tap Edit, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https//appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • Table type not defined for table control "T_CONTROL" (Custom table)

    Hi All,
    I m facing a problem in ITS mobile service.
    The Table control designed by me in R/3 (Module pool program) is
    not getting displayed in ITS mobile page.
    It is giving me an error "Table type not defined for table control "T_CONTROL" (Custom table) ".
    Can you please let me how this issue can be resolved.
    With Regards,
    Mahesh

    CONTROLS: table_ctr TYPE TABLEVIEW USING SCREEN '0010'.
    try using this....
    Regards
    Vasu

  • Using a Variable in SSIS - Error - "Command text was not set for the command object.".

    Hi All,
    I am using a OLE DB Source in my dataflow component and want to select SQL Query from the master table  I have created variables v_Archivequery
    String packageLevel (to store the query).
    <Variable Name="V_Archivequery" DataType="String">
         SELECT a.*, b.BBxKey as Archive_BBxKey, b.RowChecksum as Archive_RowChecksum
         FROM dbo.ImportBBxFbcci a LEFT OUTER JOIN Archive.dbo.ArchiveBBxFbcci b
         ON (SUBSTRING(a.Col001,1,4) + SUBSTRING(a.Col002,1,10)) = b.BBxKey
         Where (b.LatestVersion = 1 OR b.LatestVersion IS NULL)
        </Variable>
    I am assigning this query to the v_Archivequery variable, "SELECT a.*, b.BBxKey as Archive_BBxKey, b.RowChecksum as Archive_RowChecksum
    FROM dbo.ImportBBxFbcci a LEFT OUTER JOIN Archive.dbo.ArchiveBBxFbcci b
     ON (SUBSTRING(a.Col001,1,4) + SUBSTRING(a.Col002,1,10)) = b.BBxKey
    Where (b.LatestVersion = 1 OR b.LatestVersion IS NULL)"
    Now in the OLE Db source, I have selected as Sql Command from Variable, and I am getting the variable, v_Archivequery .
    But when I am generating the package and when running I am getting bewlo errror
     Error at Data Flow Task [OLE DB Source [1]]: An OLE DB error has occurred. Error code: 0x80040E0C.
    An OLE DB record is available.  Source: "Microsoft SQL Native Client"  Hresult: 0x80040E0C  Description: "Command text was not set for the command object.".
    Can Someone guide me whr am going wrong?
    Please let me know where am going wrong?
    Thanks in advance.
    Thankx & regards, Vipin jha MCP

    What happens if you hit Preview button in OLE DB Source Editor? Also you can use the same query by selecting SQL Command option and test.
    Could you try set the Delay Validation = True at Package and re-run ?
    If set the query in variable expression (not in value), then Set Evaluate As Expression = True.
    -Vaibhav Chaudhari

Maybe you are looking for

  • How can I reset my defaults in Logic Express 9 on an iMac?

    How do you restore your default settings for Logic Express 9 on iMac?  I had my keyboard working fine through a Fast Track Pro until I tried setting up an aggregated device due to my mic not working. Now I can hear my keyboard again but can't control

  • Camera connnection kit really necessary?

    I want to connect a DJ controller to my iPad 3rd gen.  Do I really need a camera connection kit, or can I just use a normal 30 pin to usb connector?

  • Calendar object being buggy

    Hi, I'm not new to Java, but this seems like the best place for this question: I have some code dealing with parsing and reading schedules:        Calendar now = Calendar.getInstance();           Calendar startDateTime = (Calendar) startTime.clone();

  • Sender JDBC - options other than flagging

    Hi Experts, I need to know the options available in sender JDBC channel to prevent the records to be read twice. I know that flagging is an option where we use update statement post reading to change the flag to 1. Kindly let me know all the other op

  • Installing WL6.1 SP3 on Linux

    Hi, I an having problem installing WL 6.1 SP3 on Linux Redhat 7.3.Is that WL6.1 doesnot support Redhat 7.3?And I Have JDK1.4 on my machine. Can some one help on this..