Forums

Cannot open excel file (18 posts)

  1. mschwade
    Member
    Posted 1 year ago #

    I cannot open Excel or Word documents that I post as links in WordPress. In FireFox they open fine, but in Internet explorer I get the following error:

    "'file.xls' cannot be accessed. The file may be corrupted, located on a server that is not responding, or read-only."

    When I upload the same file to my IIS web site, it opens fine in I.E.

    Any clue what might be the problem? I'm guessing it's something with WordPress not interpreting correctly which program to open the file with? Any help would be appreciated.

    Thanks,
    MSchwade

  2. kmessinger
    Member
    Posted 1 year ago #

    URL?

  3. mschwade
    Member
    Posted 1 year ago #

    It's a local URL... It's something like http://ourcompany.domainname.com/stores/file.xls

  4. mschwade
    Member
    Posted 1 year ago #

    I might also add I can't open a Word file, but can open PDF files just fine.

  5. kmessinger
    Member
    Posted 1 year ago #

    Actually I wanted the real URL so as to test with a variety of browsers.

    You might find this interesting, http://webdeveloper.com/forum/showthread.php?t=162526

  6. mschwade
    Member
    Posted 1 year ago #

    I know, but what I was trying to say is it's a local URL not open to the public :) Thanks for the links, I will look at those.

  7. mschwade
    Member
    Posted 1 year ago #

    That didn't help.. here's the screenshot of my error: Screen Capture

  8. kmessinger
    Member
    Posted 1 year ago #

    I'm guessing it's something with WordPress not interpreting correctly which program to open the file with?

    WP is not opening the file, the browser is so I don't see how wp is causing the problem

    If you click on that link within WP, IE and FF should respond with "open or save" and choosing "open" actually opens Excel or Word. The response should be the same if you put the link into the browser.

    You can try the normal debug of disabling all plugins and switching to the twentyten theme and then try the link. You can also validate the links, html and look at the source code for the link to see if there is something strange.

  9. mschwade
    Member
    Posted 1 year ago #

    Here's the situation... Typing this url

    http://home.mystore.com/CurrentStoreAlignment.xls causes the following:

    Firefox - Open Save Dialog -> Opens Fine
    IE - Open Save Dialog -> Doesn't open fine

    http://windowsserver.mystore.com/CurrentStoreAlignment.xls causes the following:

    Firefox - Open Save Dialog -> Opens Fine
    Internet Explorer - Open Save Dialog -> Opens Fine

  10. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    As kmessinger said, it's not a WordPress issue.

  11. mschwade
    Member
    Posted 1 year ago #

    I thought I pinpointed it to an IE-WordPress issue if the same exact file is opening fine on my IIS windows server?

  12. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    It's possible that you've hit a server problem and that the .xls file isn't being served correctly but it's definitely not WordPress.

  13. mschwade
    Member
    Posted 12 months ago #

    This issue is still, unfortunately, not resolved. I can provide more information now, though. Internet Explorer is truncating the download, therefore throwing the damaged or corrupt dialog back at us. A 1.6 MB file is only downloading like 200K or 300K and it's really never the same amount of what it downloads. We turned off deflate in apache, but we're still having the problem. The problem is intermittent, meaning somtimes the full 1.6 MB will download just fine. But it is with all files that are around 1.5 MB, not just excel files. Very frustrating, but wanted to update what we know to see if anyone has any ideas out there.

    Thanks!
    MSchwade

  14. Clell Tompkins
    Member
    Posted 5 months ago #

    I'm having the same problem. I'm uploading a file with a excel workbook in it into the media library and then posting it on my Thank You page for downloading but it won't open. I'm not finding any good answers on the forum as to how to solve this. Hasn't someone done this same task and resolved it?

  15. kmessinger
    Member
    Posted 5 months ago #

    URL?

  16. Clell Tompkins
    Member
    Posted 5 months ago #

    I figured it out. I brought it into media. Thanks

  17. vishvam_430
    Member
    Posted 3 months ago #

    Clell Tompkins, could you please let me know how you were able to resolve it?

  18. JohnDempsey
    Member
    Posted 3 months ago #

    fix Excel works with corrupted excel files. Utility supports *.xls, *,xlt, *.xlsx, xlsm, *.xltm, *.xltx, *.xlam formats. The program uses modern methods of recovering Excel data. It has friendly interface and starts under low system requirements.

Topic Closed

This topic has been closed to new replies.

About this Topic