FIX: "HTTP/1.1 500 Internal Server Error" error when you download a large file from an IIS 7.5 website if the SF_NOTIFY_SEND_RAW_DATA notification is registered in an ISAPI filter

Applies to: Windows Server 2008 R2Windows Vista Service Pack 2Windows Server 2008 Service Pack 2 More

Symptoms


Consider the following scenario:
  • You install the module for ISAPI filters on a computer that is running Internet Information Services (IIS) 7.5.
  • You add an ISAPI filter to a website that is hosted on the computer.
  • The SF_NOTIFY_SEND_RAW_DATA notification is registered in the ISAPI filter.

    For example, the ISAPI filter contains the following code:
    DWORD WINAPI HttpFilterProc( PHTTP_FILTER_CONTEXT pfc,DWORD dwNotificationType, LPVOID pvNotification) {

    switch (dwNotificationType)
    {
    case SF_NOTIFY_SEND_RAW_DATA:
    return SF_STATUS_REQ_NEXT_NOTIFICATION;
    }
  • The website has a file that is larger than 256 megabytes (MB).
  • You try to download this file from the website.
In this scenario, you receive the following error message:
HTTP/1.1 500 Internal Server Error\r\n
Content-Length: <number>\r\n
Content-Type: application/octet-stream\r\n
Last-Modified: <Day, Date, Time> GMT\r\n
Accept-Ranges: bytes\r\n
ETag: "f61017e15eafca1:0"\r\n
Server: Microsoft-IIS/7.5\r\n
X-Powered-By: ASP.NET\r\n
Date: <Day, Date, Time>\r\n
\r\n
Entity Body: all <number>MB file being pushed back to client even 500 status had been sent.

Cause


This issue occurs because of an error in the IIS Filter.dll file.

Resolution


Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.


Prerequisites

To apply this hotfix, you must have the module for ISAPI filters of IIS 7.5 installed on a computer that is running one of the following operating systems:
  • Windows 7
  • Windows 7 Service Pack 1 (SP1)
  • Windows Server 2008 R2
  • Windows Server 2008 R2 SP1
  • Windows Vista Service Pack 2 (SP2)
  • Windows Server 2008 SP2
Note For more information about how to install the module for ISAPI Filters, visit the following Microsoft website:

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File Information

The global version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

For all supported x86-based versions of Windows 7
File nameFile versionFile sizeDateTimePlatform
Filter.dll7.5.7600.2091955,80809-Mar-201105:50x86
Filter.dll7.5.7601.2167855,80809-Mar-201105:27x86
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File nameFile versionFile sizeDateTimePlatform
Filter.dll7.5.7600.2091973,72809-Mar-201106:22x64
Filter.dll7.5.7601.2167873,72809-Mar-201106:13x64
Filter.dll7.5.7600.2091955,80809-Mar-201105:50x86
Filter.dll7.5.7601.2167855,80809-Mar-201105:27x86
For all supported IA-64-based versions of Windows 7 and of Windows Server 2008
File nameFile versionFile sizeDateTimePlatform
Filter.dll7.5.7600.20919155,64809-Mar-201105:14IA-64
Filter.dll7.5.7601.21678155,64809-Mar-201105:09IA-64
Filter.dll7.5.7600.2091955,80809-Mar-201105:50x86
Filter.dll7.5.7601.2167855,80809-Mar-201105:27x86
For all supported x86-based versions of Windows Vista
File nameFile versionFile sizeDateTimePlatform
Filter.dll7.0.6002.2330254,78413-Jan-201408:50x86
For all supported x64-based versions of Windows Vista and of Windows Server 2008
File nameFile versionFile sizeDateTimePlatform
Filter.dll7.0.6002.2330272,70413-Jan-201409:54x64
Filter.dll7.0.6002.2330254,78413-Jan-201408:50x86
For all supported IA-64-based versions of Windows Vista and of Windows Server 2008
File nameFile versionFile sizeDateTimePlatform
Filter.dll7.0.6002.23302152,57613-Jan-201407:12IA-64
Filter.dll7.0.6002.2330254,78413-Jan-201408:50x86

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References


For more information about ISAPI filter notifications, visit the following MSDN website:

More Information


Additional file information

Additional files for all supported x86-based versions of Windows 7
File nameUpdate.mum
File versionNot Applicable
File size2,684
Date (UTC)10-Mar-2011
Time (UTC)01:05
PlatformNot Applicable
File nameX86_170b75a5533c0e4163baf479b6d06623_31bf3856ad364e35_6.1.7600.20919_none_109802ab03bd3ba1.manifest
File versionNot Applicable
File size711
Date (UTC)10-Mar-2011
Time (UTC)01:05
PlatformNot Applicable
File nameX86_706b98cbda356cda373bec6912d15246_31bf3856ad364e35_6.1.7601.21678_none_c281dc365d4c709d.manifest
File versionNot Applicable
File size711
Date (UTC)10-Mar-2011
Time (UTC)01:05
PlatformNot Applicable
File nameX86_microsoft-windows-i..isapifilterbinaries_31bf3856ad364e35_6.1.7600.20919_none_6d48d6b6b351f5d6.manifest
File versionNot Applicable
File size3,299
Date (UTC)09-Mar-2011
Time (UTC)06:16
PlatformNot Applicable
File nameX86_microsoft-windows-i..isapifilterbinaries_31bf3856ad364e35_6.1.7601.21678_none_6eed5204b0a9f2ea.manifest
File versionNot Applicable
File size3,299
Date (UTC)09-Mar-2011
Time (UTC)05:58
PlatformNot Applicable
Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008
File nameAmd64_25db803d5d9fd7ce8dcf477d25a552a3_31bf3856ad364e35_6.1.7600.20919_none_6bc7d3a6caf49366.manifest
File versionNot Applicable
File size1,072
Date (UTC)10-Mar-2011
Time (UTC)01:05
PlatformNot Applicable
File nameAmd64_c0e4ca0e6bccc5f6fe456d17605d4f99_31bf3856ad364e35_6.1.7601.21678_none_9afd9d202523fb22.manifest
File versionNot Applicable
File size1,072
Date (UTC)10-Mar-2011
Time (UTC)01:05
PlatformNot Applicable
File nameAmd64_microsoft-windows-i..isapifilterbinaries_31bf3856ad364e35_6.1.7600.20919_none_c967723a6baf670c.manifest
File versionNot Applicable
File size3,305
Date (UTC)09-Mar-2011
Time (UTC)07:23
PlatformNot Applicable
File nameAmd64_microsoft-windows-i..isapifilterbinaries_31bf3856ad364e35_6.1.7601.21678_none_cb0bed8869076420.manifest
File versionNot Applicable
File size3,305
Date (UTC)09-Mar-2011
Time (UTC)06:50
PlatformNot Applicable
File nameUpdate.mum
File versionNot Applicable
File size3,120
Date (UTC)10-Mar-2011
Time (UTC)01:05
PlatformNot Applicable
File nameWow64_microsoft-windows-i..isapifilterbinaries_31bf3856ad364e35_6.1.7600.20919_none_d3bc1c8ca0102907.manifest
File versionNot Applicable
File size2,984
Date (UTC)09-Mar-2011
Time (UTC)06:08
PlatformNot Applicable
File nameWow64_microsoft-windows-i..isapifilterbinaries_31bf3856ad364e35_6.1.7601.21678_none_d56097da9d68261b.manifest
File versionNot Applicable
File size2,984
Date (UTC)09-Mar-2011
Time (UTC)05:49
PlatformNot Applicable
Additional files for all supported IA-64-based versions of Windows 7 and of Windows Server 2008
File nameIa64_114a369cb73327a046e855d396428ecd_31bf3856ad364e35_6.1.7600.20919_none_d3d795b45abb92de.manifest
File versionNot Applicable
File size1,070
Date (UTC)10-Mar-2011
Time (UTC)01:05
PlatformNot Applicable
File nameIa64_e5692c9bab663abd2420cf132c917c65_31bf3856ad364e35_6.1.7601.21678_none_e7127781d41b48cb.manifest
File versionNot Applicable
File size1,070
Date (UTC)10-Mar-2011
Time (UTC)01:05
PlatformNot Applicable
File nameIa64_microsoft-windows-i..isapifilterbinaries_31bf3856ad364e35_6.1.7600.20919_none_6d4a7aacb34ffed2.manifest
File versionNot Applicable
File size3,302
Date (UTC)09-Mar-2011
Time (UTC)07:13
PlatformNot Applicable
File nameIa64_microsoft-windows-i..isapifilterbinaries_31bf3856ad364e35_6.1.7601.21678_none_6eeef5fab0a7fbe6.manifest
File versionNot Applicable
File size3,302
Date (UTC)09-Mar-2011
Time (UTC)06:41
PlatformNot Applicable
File nameUpdate.mum
File versionNot Applicable
File size2,347
Date (UTC)10-Mar-2011
Time (UTC)01:05
PlatformNot Applicable
File nameWow64_microsoft-windows-i..isapifilterbinaries_31bf3856ad364e35_6.1.7600.20919_none_d3bc1c8ca0102907.manifest
File versionNot Applicable
File size2,984
Date (UTC)09-Mar-2011
Time (UTC)06:08
PlatformNot Applicable
File nameWow64_microsoft-windows-i..isapifilterbinaries_31bf3856ad364e35_6.1.7601.21678_none_d56097da9d68261b.manifest
File versionNot Applicable
File size2,984
Date (UTC)09-Mar-2011
Time (UTC)05:49
PlatformNot Applicable
Additional files for all supported x86-based versions of Windows Vista
File nameUpdate.mum
File versionNot Applicable
File size3,038
Date (UTC)13-Jan-2014
Time (UTC)20:19
PlatformNot Applicable
File nameX86_41a3fde56097923291d10b257dae2af5_31bf3856ad364e35_6.0.6002.23302_none_da97077f51d69b37.manifest
File versionNot Applicable
File size703
Date (UTC)13-Jan-2014
Time (UTC)20:19
PlatformNot Applicable
File nameX86_microsoft-windows-iis-isapifilter_31bf3856ad364e35_6.0.6002.23302_none_560d0a511efd2e2e.manifest
File versionNot Applicable
File size5,044
Date (UTC)13-Jan-2014
Time (UTC)09:37
PlatformNot Applicable
Additional files for all supported x64-based versions of Windows Vista and of Windows Server 2008
File nameAmd64_159ed15449994d2e8d47b827f1a2af47_31bf3856ad364e35_6.0.6002.23302_none_7999579918c45e53.manifest
File versionNot Applicable
File size1,056
Date (UTC)13-Jan-2014
Time (UTC)20:19
PlatformNot Applicable
File nameAmd64_microsoft-windows-iis-isapifilter_31bf3856ad364e35_6.0.6002.23302_none_b22ba5d4d75a9f64.manifest
File versionNot Applicable
File size5,054
Date (UTC)13-Jan-2014
Time (UTC)10:50
PlatformNot Applicable
File nameUpdate.mum
File versionNot Applicable
File size3,062
Date (UTC)13-Jan-2014
Time (UTC)20:19
PlatformNot Applicable
File nameWow64_microsoft-windows-iis-isapifilter_31bf3856ad364e35_6.0.6002.23302_none_bc8050270bbb615f.manifest
File versionNot Applicable
File size3,537
Date (UTC)13-Jan-2014
Time (UTC)09:32
PlatformNot Applicable

Additional files for all supported IA-64-based versions of Windows Vista and of Windows Server 2008
File nameIa64_b0b2dc7035867344b7d54607a1bb46f4_31bf3856ad364e35_6.0.6002.23302_none_3742c9e019dc1950.manifest
File versionNot Applicable
File size1,054
Date (UTC)13-Jan-2014
Time (UTC)20:19
PlatformNot Applicable
File nameIa64_microsoft-windows-iis-isapifilter_31bf3856ad364e35_6.0.6002.23302_none_560eae471efb372a.manifest
File versionNot Applicable
File size5,049
Date (UTC)13-Jan-2014
Time (UTC)08:18
PlatformNot Applicable
File nameUpdate.mum
File versionNot Applicable
File size1,581
Date (UTC)13-Jan-2014
Time (UTC)20:19
PlatformNot Applicable
File nameWow64_microsoft-windows-iis-isapifilter_31bf3856ad364e35_6.0.6002.23302_none_bc8050270bbb615f.manifest
File versionNot Applicable
File size3,537
Date (UTC)13-Jan-2014
Time (UTC)09:32
PlatformNot Applicable