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
kmessinger
Member
Posted 1 year ago #
mschwade
Member
Posted 1 year ago #
mschwade
Member
Posted 1 year ago #
I might also add I can't open a Word file, but can open PDF files just fine.
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
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.
mschwade
Member
Posted 1 year ago #
That didn't help.. here's the screenshot of my error: Screen Capture
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.
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
As kmessinger said, it's not a WordPress issue.
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?
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.
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
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?
kmessinger
Member
Posted 5 months ago #
Clell Tompkins
Member
Posted 5 months ago #
I figured it out. I brought it into media. Thanks
vishvam_430
Member
Posted 3 months ago #
Clell Tompkins, could you please let me know how you were able to resolve it?
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.