C
cyusman
Hi,
We have just moved our application to a new webfarm server environment
which utilizing hardware load balancing, SSL off-loading and HTTP
compression off-loading.My application is running on .NET 1.1, IIS 6,
Win2003.
Now we are having problem when trying to download word documents
located in the file server. It often says Internet Explorer cannot
download <filename> from <servername>. Sometimes we are able to view
the MSWord file, but most of the time we cannot open the document.
This is how I stream out the word contents to the browser
Response.ContentType = "application/msword";
Response.AddHeader("content-disposition","attachment; filename=" +
document.DocumentPath);
Response.AppendHeader("Content-Length", file.Length.ToString());
Response.WriteFile(file.FullName);
Response.Flush();
Response.End();
I was informed that we have excluded application/msword from the
compression list.
Any idea what else could cause the problem in downloading the word
document?
Thanks a lot.
We have just moved our application to a new webfarm server environment
which utilizing hardware load balancing, SSL off-loading and HTTP
compression off-loading.My application is running on .NET 1.1, IIS 6,
Win2003.
Now we are having problem when trying to download word documents
located in the file server. It often says Internet Explorer cannot
download <filename> from <servername>. Sometimes we are able to view
the MSWord file, but most of the time we cannot open the document.
This is how I stream out the word contents to the browser
Response.ContentType = "application/msword";
Response.AddHeader("content-disposition","attachment; filename=" +
document.DocumentPath);
Response.AppendHeader("Content-Length", file.Length.ToString());
Response.WriteFile(file.FullName);
Response.Flush();
Response.End();
I was informed that we have excluded application/msword from the
compression list.
Any idea what else could cause the problem in downloading the word
document?
Thanks a lot.