IIS7 - Specifying content-length header in ASP causes “connection reset” error

前端 未结 3 703
庸人自扰
庸人自扰 2021-01-12 04:43

I\'m migrating a series of websites from an existing IIS5 server to a brand new IIS7 web server. One of the pages pulls a data file from a blob in the database and serves i

3条回答
  •  情书的邮戳
    2021-01-12 05:38

    Encountered this same issue when migrating ASP code from a Windows 2003 server to Windows 2012 with IIS 8.5. The fix was to adjust the ASP code as follows:

    From:

    Response.Addheader "Content-Length", Size

    To:

    Response.Addheader "Content-Size", Size

提交回复
热议问题