Re: Downloaded document has disappeared by the time Word has opened

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I'm sorry to hear that the problem remains. Also, since it's a environment
specific problem , that really make the troubleshooting a bit difficult.
have you also checked the IIS to see whether there're any custom headers
set in the site or virtual dir's HttpHeaders setting, you can also compare
your problem server with your development server. And here is the test code
which works well on myside:

private void DownloadFile()
{
Response.ClearHeaders();
Response.ClearContent();

Response.ContentType="application/octet-stream";

Response.AddHeader("content-disposition", "attachment;
filename=filename.ext");
Response.WriteFile(@"full file path");
Response.End();
}

You can also try testing it on your side. Hope helps.


Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "Rob Nicholson" <informed@xxxxxxxxxxxxxxxx>
| References: <uDvCh$krFHA.3596@xxxxxxxxxxxxxxxxxxxx>
<0A7E5658-D902-42E4-9504-DA2257D88FB8@xxxxxxxxxxxxx>
<zashkLsrFHA.1208@xxxxxxxxxxxxxxxxxxxxx>
<OW0#63srFHA.2076@xxxxxxxxxxxxxxxxxxxx>
<YCptCS7rFHA.2536@xxxxxxxxxxxxxxxxxxxxx>
<Kkgyb#3sFHA.3604@xxxxxxxxxxxxxxxxxxxxx>
| Subject: Re: Downloaded document has disappeared by the time Word has
opened
| Date: Wed, 7 Sep 2005 15:40:09 +0100
| Lines: 9
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.181
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.181
| Message-ID: <evGwmm7sFHA.3604@xxxxxxxxxxxxxxxxxxxx>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: host217-45-2-106.in-addr.btopenworld.com 217.45.2.106
| Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado.fastwebnet.it!tiscali!ne
wsfeed1.ip.tiscali.net!news.maxwell.syr.edu!cyclone.bc.net!msrtrans!TK2MSFTN
GP08.phx.gbl!tk2msftngp13.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:122889
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| > Have you got any further progress on this issue? If there're any further
| > things we can help, please feel free to post here. Thanks,
|
| Not yet - it's still an open job. One interesting point we noticed is that
| it behaves differently on the development PC to the pilot environment.
|
| Cheers, Rob.
|
|
|

.



Relevant Pages

  • Re: ASP2.0 Cant download files Forms Authentication
    ... development server to deployment server, ... and return "Can't Find Server or DNS error" error when try ... it is likely a network environment problem rather ... Microsoft Online Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Maximum String size in Java?
    ... > i think we can apply standard programming answer #1 to the question ... provided were specific and mapped to the business environment. ... We're hugely a Microsoft shop these days. ... The bottom line is that cross-platform portability is vital in some ...
    (comp.programming)
  • RE: Cant execute SSIS package with Dtexec on cluster node
    ... information regarding your environment. ... Microsoft Online Support ... Microsoft Global Technical Support Center ... Can't execute SSIS package with Dtexec on cluster node ...
    (microsoft.public.sqlserver.dts)
  • Re: SyncToy and .Net 2.0
    ... I'd never realised that that's what Microsoft was doing with their versioning. ... of a DLL cause using applications to malfunction when the DLL is updated ... newer version of the "same" environment without enforcing rigourous ...
    (microsoft.public.windowsxp.photos)
  • Re: SyncToy and .Net 2.0
    ... I'd never realised that that's what Microsoft was doing with their ... of a DLL cause using applications to malfunction when the DLL is updated ... newer version of the "same" environment without enforcing rigourous ...
    (microsoft.public.windowsxp.photos)