I have a user who, when they download an excel file hosted on our intranet, receives an error message telling them that the file doesn't exist. This occurs for her in IE.
I've verified that the file does in fact exist, and that it can be accessed by other users with the same permissions in the same geographic location. This is not an interop issue - the file is just being hosted. I was able to reproduce the issue once from my machine in IE 9 by opening the file at the open/save prompt, after which Excel asked me for authentication credentials 3 times, gave me the same error, then opened the file anyway. I have since been unable to reproduce it. Her computer will "open the file anyway."
I am stumped. Does anyone have any ideas?
Error message: Microsoft Office Excel cannot access the file . There are several possible reasons:
- The file name or path does not exist.
- The file is being used by another program.
- The workbook you are trying to save has the same name as a currently open workbook.
Edit
The user is using IE 7.
Code serving the file:
<asp:LinkButton ID="lbtnEstimatingWorkbook" runat="server" CssClass="Brightness"
Tooltip="Estimate Calculation Workbook" ToolTip="Open estimating workbook in Excel"
OnClientClick="DisplayEstimateWorkbook()"></asp:LinkButton>
function DisplayEstimateWorkbook() {
var url = "Estimating Workbook.xlsm";
var win = window.open(url, '_blank');
win.focus();
}