Problem with Content-Disposition attachment

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marco

    Problem with Content-Disposition attachment

    Hi all,
    I have a problem in uploading files from a WebServer in a C# Web
    Application.
    The problem is that I'm not able to produce the dialog box to Save a
    file uploaded to the client.
    In fact, when I add the following code:
    Response.AddHea der("Content-Disposition", "attachment ;
    filename="+myfi le);
    the application doesn't work...but only on my production server
    (Win2000)
    I'm tracing the application and in the log I can see that the page is
    doing the Page_load() twice and I receive an Error page from IIS with
    error code:
    64 - Host not available.
    The application works correctly on any other server I tested.
    Any ideas?
    Thanks a lot,
    Marco
Working...