Cfcontent causes problems with Word 2007

Hi,
My purpose is to export html contents into MS Word. The html contents may contain images.
I am using Coldfusion 8 and the simplified testing code I used is like the following:
<cfcontent type="application/msword">
<cfheader name="content-Disposition" value="attachment;filename=filename.doc">
<img src="http://localhost:8501/images/theCompanyLogo.JPG" height="36" width="185" border="0" />
This works perfectly for any Word versions (such as 2003) except Word 2007. When using Word 2007 the
image area shows error some thing like "the memory is not enough ..." and system is stuck until you
close all the IE windows with the Windows task Manager to recover every thing.
I did try to use "filename=filename.docx" instead of "filename=filename.doc" but did not help.
Is there any way to make this work or this is a limitation of the Coldfusion 8 (ie. the cfcontent is not
designed for Word 2007)? If so will the version 9 solve this problem?

Some of these problems *may* be due to the way Office 2007 handles the contents of files.  In previous versions of Excel would open a CSV or HTML file that was streamed to the browser using an Excel MIME type.  In Excel 2007 the program checks the content of the file to see if it matches the file extension, so MIME type 'application/vnd.ms-excel' or .xls files are expected to contain binary content, not CSV or HTML text.
Blog Entry on MSDN, 'Excel 2007 Extension Warning On Opening Excel Workbook from a Web Site'
http://blogs.msdn.com/vsofficedeveloper/pages/Excel-2007-Extension-Warning.aspx

Similar Messages

  • Pages causing problems with Word.

    I have Office 2004 and have used Word, Excel and Power Point for years.(with previous PCs as well as my MacBook)  I also have IWorks 09.
    I was working on a project exchanging material with several people on a team and found that my old Word would not open new Word documents with the suffux "doc.x" or any other iterations.  I found after experimenting that Pages '09 could open these documents but now I am having problems with all of the Office programs. They freeze and grey out options so I can't even print them or save them.  I assume that there is some cross interference but these are not documents that I have opened in Pages but previous Word documents (and Excel and Power Point) that I have edited in their respective programs and then try to save and/or print.
    Anyone have similar experiences?  I could reinstall the Microsoft programs or buy new but rather not if there is a fix.

    I am not an Office user, so I cannot give an expert piece of advice.
    Essentially, Office 2008 was worse than both 2004 and 2011, so I do not see the reason for an intermediate upgrade, already 4 years and half old (was released late 2007). As 2004 is not usable in Lion, and you will probably upgrade to Lion sooner or later, combined with what was said above, if you want to upgrade you Office 2004, the only rational option is 2011.
    The other alternatives are LibreOffice or OpenOffice and iWork, with the notes already sent earlier today.
    As about ‘unfreezing’. In my limited tests, Office 2004 works fine on PPC machines, is a lot worse on intel machines, even with latest updates (I assume you installed all the Officd 2004 updates, there were many, perhaps the last one includes all the other previous ones). There is also a docx to doc converter, released just for 2004 users:
    http://www.macupdate.com/app/mac/24947/office-open-xml-file-format-converter
    If you are in Snow Leopard, Office 2004 should work reasonably well, cannot figure out why it may freeze. Is it updated? There is an Office updater, if not wrong, within Office folder, run it.

  • Mail Merge problem with Word 2007

    I recently replaced my laptop and installed Office 2007.  When I try to create mailing labels, it is only merging the first three labels and those are not formatted correctly or even consistently.  It seems like a compatibility problem, but my
    excel document was also created in Excel 2007. I was using Office 2007 on my old laptop and never had this problem. 

    Julie,
    I don't think I'm having the same problem. You'll want to closely examine the links to be sure that you have selected Work phone and Work address, etc. for the merge, then make sure that in your Address Book you've also used the Work identifier for these fields.
    I suppose that you know that you can merge one or more records at a time by dragging your Contact Card(s) into the Merge document. That might be a good troubleshooting tool.
    Jerry

  • Problems converting Word 2007 document to PDF

    Greetings,
    Have a brand new shiny computer with Office 2007 basic (Word 2007, Excel 2007 and Outlook 2007). Comes with Adobe Acrobat Standard. Installed Adobe Acrobat Standard with no errors. Opened a Word 2007 document that has an embedded Excel 2007 spreadsheet (its a document for generating quotes). Word document looks fine in Word. Prints to paper fine as well. Tried Save-As Pdf and the resulting PDF has big black boxes where the spreadsheet should be. Tried printing to the Adobe PDF printer with the same result. Downloaded update for Adobe Acrobat Standard and installed it. Adobe Acrobat Standard is now version 8.1.2. Tried saving as PDF, same problem.
    Word 2007 is (12.0.6015.5000) MSO (12.0.6017.5000)
    Adobe Acrobat Standard is ver 8.1.2
    Microsoft Windows XP Pro.
    Any ideas on how to fix this ?
    thanks,
    Darryl

    Darryl,
    Bill is correct - "Save as PDF" is the Microsoft PDF tool. However, on your Word Save As menu, you should also see Save As > Adobe PDF, which is the one you want. (At least this is how it appears in Word 2007 with Acrobat 8.1.1 installed.) You should also be able to select the Acrobat tab in Word 2007 and select Create PDF.
    I tried a test with Acrobat Professional 8.1.1, and the spreadsheet inserted in a Word file shows up just fine in the PDF. I selected "Fully functional PDF" in the Save As dialog box (not "Quick and Simple PDF"). Also, did not create a tagged PDF. Does Acrobat Standard have these options? (Note: The PDF was converted correctly from both a .doc and a .docx file, with an .xls file inserted.)
    Hope this helps. --GMc

  • Problem with downloading 2007 formats

    I have a problem with downloading 2007 format files in my application. We can upload the 2007 formats without any problem. But, When we try to download them, we are receiving a 'Page cannot be displayed' error.
    When we add the corresponding MIME-TYPES into IIS(Version 6.0) of the system(Test Environment), the problem got resolved. But there was a constraint to add the MIME-TYPES in the Production Box.
    Can you please provide any alternate solution using CF code. I am pasting my sample code that my system is using for this.

    For CF to set the MIME type for those files, it would have to be configured as a handler for those file extensions. By default, CF doesn't process requests for files other than .cfm, .cfc, etc.
    You could write a download application that uses CFCONTENT to push files to the client, but the user would have to request your CF page, which might have a URL like this:
    http://yourserver/download.cfm?file=myfile.docx
    Or, you could map those file extensions to CF, but that would be a bad idea for several reasons. Even if it wasn't a bad idea, it would be harder to change on the server than the MIME types in IIS.
    Frankly, you should fix this the right way - by having the server administrator add the correct MIME types.
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/

  • Problem converting Word 2007 DOC to PDF 9

    Problem converting Word 2007 DOC to PDF 9
    I have a Word 2007 DOC (not docx) file with pictures and text which converted perfectly with Distiller 8. I installed CS4 Distiller 9, and now the same DOC file flows over onto several extra pages. I am using the default settings. Any idea what has changed. Thanks in advance.

    First, select the Adobe PDF printer in WORD. Then go through the document to check for the flow of the document. It should print the same as you see in the document after the printer has been selected.

  • I have two Iphones with different email addresses sharing one Apple ID. Will that cause problems with using messaging and FaceTime?

    I have two Iphones 5 with different email addresses sharing one Apple ID account.Both are using IOS 8.
    I would like to set up a new Apple Id for one of the phones and remove it from the old account.
    If I do that, can I move all of the purchased apps and songs to the new Apple account?
    Also, will sharing one Apple ID account with two devices cause problems with using messaging and FaceTime?

    Sharing an iCloud account between two devices can be done without causing issues with iMessage and FaceTime, just go into Settings for each of these functions and designate separate points of contact (i.e. phone number only, or phone number and unique email address).  While that works, you'll then face the problem where a phone call to one iPhone will ring both if on the same Wi-Fi network -- but again, that can be avoided by changing each phone's settings.
    Rather than do all that, don't fight it -- use separate IDs for iCloud.  You can still use a common ID for iTunes purchases (the ID for purchases and iCloud do not have to be the same) or you can use Family Sharing to share purchases from a primary Apple account.

  • Problem with Word 2013 through VPN

    Hello,
    From several weeks my company has a problem
    with Word 2013 when laptop is connected to the network
    via VPN.
    Symptoms:
    - Word 2013 is opening very slow (even
    opening a blank card)
    - there are no matter if I try to open blank page or network files
    - All other Office 2013 components are working fine (Excel, Powerpoint etc).
    - When I disconnect from a VPN, Word is opening properly.
    It is not a problem with VPN because:
    - Word is opening locally (not network files)
    - before we had Word 2010 and it was working smoothly
    Does anyone know a similar case
    and could help solve this problem?
    Regards,
    Pawel

    Hi,
    "- before we had Word 2010 and it was working smoothly" -
    Word 2013 might deal with documents in different ways.
    Since Word will open properly when you disconnect from a VPN, you might want to start by analyzing the network traffic, VPN connections.
    Please try to check the option "Copy remotely stored files onto your computer and update the remote file when saving" in
    FILE>Options>Advanced>Save section, and then verify result.
    The other thing to check is add-ins. I'd suggest you to start Word in safe mode and see if issue persists:
    Press Win + R and type "winword /safe" in the blank box, then press Enter.
    Thanks,
    Ethan Hua CHN
    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.

  • I just updated my latest java but the update is causing problems with some externale devices. So i would like to uninstall this latest java update and get back the previous one. That should solve to problems with my external device

    i just updated my latest java but the update is causing problems with some external devices. So i would like to uninstall this latest java update and get back the previous one. That should solve to problems with my external device.
    Is this possible and how do i do that?
    Anyone who responds thanks for that!
    Juko
    I am running
    Hardware Overview:
      Model Name:          Mac Pro
      Model Identifier:          MacPro1,1
      Processor Name:          Dual-Core Intel Xeon
      Processor Speed:          2,66 GHz
      Number of Processors:          2
      Total Number of Cores:          4
      L2 Cache (per Processor):          4 MB
      Memory:          6 GB
      Bus Speed:          1,33 GHz
      Boot ROM Version:          MP11.005D.B00
      SMC Version (system):          1.7f10
      Serial Number (system):          CK7XXXXXXGP
      Hardware UUID:          00000000-0000-1000-8000-0017F20F82F0
    System Software Overview:
      System Version:          Mac OS X 10.7.5 (11G63)
      Kernel Version:          Darwin 11.4.2
      Boot Volume:          Macintosh HD(2)
      Boot Mode:          Normal
      Computer Name:          Mac Pro van Juko de Vries
      User Name:          Juko de Vries (jukodevries)
      Secure Virtual Memory:          Enabled
      64-bit Kernel and Extensions:          No
      Time since boot:          11 days 20:39
    Message was edited by Host

    Java 6 you can't as Apple maintains it, and Java 7 you could if you uninstall it and Oracle provides the earlier version which they likely won't his last update fixed 37 remote exploits.
    Java broken some software here and there, all you'll have to do is wait for a update from the other parties.

  • If I install the update to Adobe Reader 10, will that cause problems with Acrobat Pro 9?

    Firefox (version 15.0.1) is telling me I need to install an update to Adobe Acrobat 9.4 in order to view pdf files in my browser. I use Acrobat Pro 9. The update is actually Adobe Reader 10, and I am wondering if I install this, will it cause problems with my version of Acrobat Pro?
    Because I am not sure if this is so, I have temporarily disabled the plug-in and now pdf files download automatically rather than display in my browser. I would prefer they open in my browser but do not want to upgrade to Acrobat X.
    My OS is Windows Vista. I did not include the "troubleshooting information" file because I'm not sure what specific info is being requested.
    Thanks for any help.

    Hi WMdotcom
    did you try to view pdf with your acrobat pro 9 ?
    see
    [https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file Change what Firefox does when you click on or download a file]
    [https://support.mozilla.org/en-US/kb/set-how-firefox-handles-different-file-types
    Set how Firefox handles different types of files]
    thank you

  • Reduce folders in Windows 7 for pictures without causeing problems with PSE11

    I want to simplify  my Windows 7 folders and reduce the number of the folders. Can you please advise me on the best way to do this so as not to cause problems with PSE11 finding the pictures? Thank you.

    19441965 wrote:
    I want to simplify  my Windows 7 folders and reduce the number of the folders. Can you please advise me on the best way to do this so as not to cause problems with PSE11 finding the pictures? Thank you.
    The only way to move files or folders/subfolders without causing problems, that is not creating 'missing files' is to do this from within the Organizer, not the OS (Win/Mac).
    You can create folders and move pictures from the Organizer.
    Note that if you are moving the files of several subfolders into a single one, you run the risk of wanting to move files with the same filename into the same folder ; your OS won't allow that. So the Organizer will rename pictures if needed.
    If you want to do such a big reorganizing task, absolutely do a full backup before. There is no advantage  for such a reorganizing from an Organizer point of view, but if you need it for some reason, it has to be done from within the organizer.

  • RoboHelp for Word cannot open Word with Word 2007

    Thanks for your leignancy, I'm having trouble even starting
    to work with RoboHelp. I think I need detailed explanations. I did
    spend hours sifting through Robohelp's Help and this Forum, I'm
    stuck.
    I am trying to use
    RoboHelp for Word 7.0 , build 001, with Word 2007 on Vista.
    I need to work on help projects created with a previous
    version of RoboHelp.
    For some reason, when I open RoboHelp, the .doc file opens in
    Word next to it, but then RoboHelp freezes for several minutes,
    then I get a dialog box that says
    "RoboHelp" could not open Word .
    Then anytime I try to modify a topic in my help file, I get
    the same stall and error message, and my Word document stays stuck
    at the beginning on my first topic.
    Also, in Word,
    all Robohelp options don't work. I can't search for a topic
    for instance to locate it and modify it. When I click on search for
    a topic from the menu on top, nothing happens at all. If I click on
    search a topic from the right-click menu, then I get a message that
    because of security or confidentiality settings, the
    Macros don't work.
    I tried re-activating all Macros in Word 2007 Options, I
    closed everything, even re-booted the computer, but to no avail.
    Also, I tried saving my .doc into a .docx (Word 2007 format)
    to see if the Macros would be compatible then, but I got the exact
    same results.
    Right now, RoboHelp and Word don't seem to be "talking" to
    each other right, and the Macros don't work.
    Plus: I tried to test a modification I made in the .doc file
    by generating the WebHelp, but that didn't work either, I got an
    error message saying that the file couldn't be opened, but the path
    to the file was all wrong, with folder names I don't even have on
    my computer.
    If someone could figure this one out for me, I'd be very
    thankful, I'm the kind of person who likes something to work in a
    simple, linear way, 1-2-3... This is totally confusing for me right
    now.

    Ok, isn't that what I did when I re-activated the Macros in
    Word 2007?
    Word Options / security - confidentiality center / Parameters
    Activate all Macros (the lowest one on the list)
    Did that already. Also, I made backups of my projects, and
    tried with a new "brew" just in case I had messed it up along the
    way somewhere.
    First thing I did when I opened it again was change the
    output to WebHelp instead of WinHelp 4, since I can't open that in
    Vista anymore.
    I can generate the help in that format, but either way I try
    to make any modification it's not taken into account when I
    generate it.
    Example:
    In the french help project which I'm working on, I had a
    tittle that was miss-spelled.
    I tried modifying in in the Word .doc document, then generate
    the help, but the title was still wrong.
    So I tried changing in directly in Robohelp with the topic's
    properties.
    When I clicked OK, it stalled forever again, and then it said
    it couldn't take the modifications into account.
    And any text I cut and paste or changed in the .doc on Word
    remains unchanged in the WebHelp....
    Right now, the more I try, the more I'm stuck and the more
    questions I get. I'm seriously thinking I'd need some live
    coaching, on a chat or something, to get me started on the right
    track. Is there anyone who can do that? I'm so awfully stuck right
    now. And I feel like I'd unfurl a tsunami of ridiculous questions
    if I posted them all on the Forum now...
    *EXTRA*
    I did all the updates (7.0.3) and right now I'm re-installing
    everything.
    Arghhh.
    I missed one of the last days of ski this season, spent my
    whole week-end with this.
    I'm trying to sound rational and calm, but I'm actually so
    tired and exasperated, I'd have jumped through the window already
    if we weren't on the first floor... Still stuck at Step 1...
    What am I missing??

  • Sync problems with outlook 2007 calender

    I am new in this type of comms.
    BUT: I have a Palm Tungsten T5; have Palm Desktop 6.2.2 with the update for Windows7.
    I have a sync problem with outlook 2007 calender; contacts, ToDo, memos all ok.
    HotSynLog says: there are multi-day repeating records. [i knew that they do not sync, hence i deleted them PRIOR to syncing]
    I found the listed records BUT either on dif days and they are "no timed" ones! and NOT multi-days ones.
    I deleted them anyway - did a re-sync. With no different result. Still listed - though deleted and now non-existent.
    Error code: OLERR: 03-000F (0xaf604005) and others - if this means anything.
    Post relates to: Palm TX

    Hello,
    I receive email on my device from two addresses: 1) @sprint.blackberry.net and 2) @charter.net.  When I was having problems similar to those you are experiencing, I had these two addresses listed under Default Services - Calendar (CICAl) - Messaging (CMIME).  These addresses were @sprint.blacberry.net and @charter.net. Once I followed the steps previously referenced, only one email address(@sprint.blackberry.net) appeared under the (CICAI) and (CMMIE) default setting.  Reference to @charter.net was removed.  My syncs have worked correctly since then; however, I only two way synce with the device and Outlooks.  I also continue to get emails from both addresses without a problem.
    If you don't mind giving up the Yahoo calendar, I would do the same.  If you want to continue using the Yahoo calendar, I'm guessing that it must be selected in the Default Services - Calendar (CICAI) before performing a sync.  Likewise for your @sprint.blackberry.net address; it also must be selected in the Default Services prior to performing a device to Outlook sync.
    I hope this helps.
    Tres

  • I need to download dell drivers to a jumpdrive connected to my iMac.  Will this cause problems with my Mac?

    I need to download dell drivers to a jumpdrive connected to my iMac.  Will this cause problems with my Mac?

    Thanks.  These drivers are for the audio, etc. for a dell laptop I purchased used.  ( Needed something cheap for a training video that would only run on Windows.  Tried Emedia player but picture was too fuzzy.)  Dell support said I should contact Apple support for instructions on how to get the drivers onto the jumpdrive.  Any tips on doing that?

  • My host name changes every few days, since Xmas adding a macbook its changed 6 times. Do I need to stop this? Does it cause problems with sharing between the iMac and macbook?

    my host name changes every few days, since Xmas adding a macbook its changed 6 times. Do I need to stop this? Does it cause problems with sharing between the iMac and macbook?

    There are several possible causes for this problem.
    1. Two (or more) computers on the local network have the same Bonjour name, such as "X's-MacBook-Pro.local".
    2. You have two simultaneous connections to the same local network: probably Ethernet and Wi-Fi. If applicable, disconnect the Ethernet cable or turn off Wi-Fi.
    3. A Mac wakes from sleep due to network traffic. This is due to a bug in OS X that may only affect some models.
    4. A device that gets its network address from the router wakes from sleep, and the address it was using before has been assigned to another device.
    5. A third-party wireless router has incompatible settings or firmware. In that case, refer to the manufacturer or ISP for support. Restarting the router may help, temporarily.
    6. See also this support article.
    Rename the computer in the Sharing preference pane.

Maybe you are looking for