FIX: A POST request to a webpage that should redirect responses to a different webpage does not redirect responses in IIS 7.0 or in IIS 7.5

Article translations Article translations
Article ID: 2594586 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

Consider the following scenario:
  • In Microsoft Internet Information Services (IIS) 7.0 or in IIS 7.5, you have a webpage in an application that accepts a POST request and then redirects to a different webpage.
  • You enable output caching on the application, and the cache is built up after you send GET requests to the webpage together with parameters.
  • A POST request is sent to the webpage.

In this scenario, the webpage is not redirected as expected.

For example, you build a default.aspx webpage that contains a button. The webpage contains the following code under the Button click event.
protected void Button1_Click(object sender, EventArgs e)
{
Response.Redirect("./hello.aspx", false);
}

When a request accesses the default.aspx webpage and then the button is clicked, a POST request is submitted. HTTP code 302 is logged, and the webpage is redirected successfully to the hello.aspx webpage.

In this example, the IIS log contains an entry that resembles the following for the POST request:
#Fields: datetime s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken

datetime ::1 POST /folder_name/default.aspx id=1 80 - ::1 Mozilla/5.0+(compatible;+MSIE+9.0;+Windows+NT+6.1;+WOW64;+Trident/5.0) 302 0 0 6

However, if lots of GET requests access the default.aspx?id=1 webpage and the IIS cache is built up, you are not redirected to the hello.aspx webpage when you click the button on the default.aspx webpage. Instead, an HTTP code 200 is logged in the IIS log. The STTP code 200 resembles the following:
#Fields: datetime s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken

datetime ::1 POST /folder_name/default.aspx id=1 80 - ::1 Mozilla/5.0+(compatible;+MSIE+9.0;+Windows+NT+6.1;+WOW64;+Trident/5.0) 200 0 0 6

CAUSE

This problem occurs because the POST request is served incorrectly from the IIS cache that is built up by the GET requests.

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:
http://support.microsoft.com/contactus/?ws=support
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

You must have IIS 7.0 or IIS 7.5 installed on one of the following operating systems to apply this hotfix:
  • Windows 7
  • Windows 7 Service Pack 1 (SP1)
  • Windows Server 2008 R2
  • Windows Server 2008 R2 Service Pack 1 (SP1)
  • Windows Vista Service Pack 2 (SP2)
  • Windows Server 2008 Service Pack 2 (SP2)

Restart information

You must restart the computer if IIS is running when you apply this update.

Replacement information

This hotfix does not replace a previously released hotfix.

File information

The English 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.

Windows Vista and Windows Server 2008 file information notes
Important Windows Vista hotfixes and Windows Server 2008 hotfixes are included in the same packages. However, only "Windows Vista" is listed on the Hotfix Request page. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows Vista" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
  • The files that apply to a specific product, milestone (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table:
    Collapse this tableExpand this table
    VersionProductMilestoneService branch
    6.0.6000.16xxxWindows VistaRTMGDR
    6.0.6000.20xxxWindows VistaRTMLDR
    6.0.6001.18xxxWindows Vista SP1 and Windows Server 2008 SP1SP1GDR
    6.0.6001.22xxxWindows Vista SP1 and Windows Server 2008 SP1SP1LDR
    6.0.6002.18xxxWindows Vista SP2 and Windows Server 2008 SP2SP2GDR
    6.0.6002.22xxxWindows Vista SP2 and Windows Server 2008 SP2SP2LDR
  • Service Pack 1 is integrated into the original release version of Windows Server 2008. Therefore, RTM milestone files apply only to Windows Vista. RTM milestone files have a 6.0.0000.xxxxxx version number.
  • GDR service branches contain only those fixes that are widely released to address widespread, critical issues. LDR service branches contain hotfixes in addition to widely released fixes.
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 and for Windows Vista" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are critical to maintaining the state of the updated component. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.

For all supported x86-based versions of Windows Vista and of Windows Server 2008
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Cachhttp.dll7.0.6002.2273944,03206-Nov-201100:03x86
For all supported x64-based versions of Windows Vista and of Windows Server 2008
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Cachhttp.dll7.0.6002.2273955,80807-Nov-201109:12x64
For all supported IA-64-based versions of Windows Server 2008
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Cachhttp.dll7.0.6002.22739121,34406-Nov-201117:49IA-64
Windows 7 and Windows Server 2008 R2 file information notes
Important Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows 7/Windows Server 2008 R2" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
  • The files that apply to a specific product, milestone (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table:

    Collapse this tableExpand this table
    VersionProductMilestoneService branch
    6.1.7600.16xxxWindows 7 and Windows Server 2008 R2RTMGDR
    6.1.7600.20xxxWindows 7 and Windows Server 2008 R2RTMLDR
    6.1.7601.17xxxWindows 7 and Windows Server 2008 R2 SP1GDR
    6.1.7601.21xxxWindows 7 and Windows Server 2008 R2SP1LDR

  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows 7 and for Windows Server 2008 R2" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.

For all supported x86-based versions of Windows 7
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Cachhttp.dll7.5.7600.2108744,54408-Nov-201105:27x86
Cachhttp.dll7.5.7601.2185744,54408-Nov-201105:20x86
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Cachhttp.dll7.5.7600.2108755,80808-Nov-201106:20x64
Cachhttp.dll7.5.7601.2185755,80808-Nov-201106:22x64
For all supported IA-64-based versions of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Cachhttp.dll7.5.7600.21087124,92808-Nov-201105:14IA-64
Cachhttp.dll7.5.7601.21857124,92808-Nov-201105:16IA-64


STATUS

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

MORE INFORMATION

For more information about how to enable output caching, visit the following Microsoft TechNet website:
Enable Output Caching (IIS 7)
For more information about status codes in IIS 7.0 and in IIS 7.5, click the following article number to view the article in the Microsoft Knowledge Base:
943891 The HTTP status codes in IIS 7.0 and IIS 7.5
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional file information

Additional file information for Windows Vista and for Windows Server 2008

Additional files for all supported x86-based versions of Windows Vista and of Windows Server 2008
Collapse this tableExpand this table
File nameUpdate.mum
File versionNot applicable
File size3,858
Date (UTC)07-Nov-2011
Time (UTC)14:48
File nameX86_10c1b06b52db93a600ee321b49b5f252_31bf3856ad364e35_6.0.6002.22739_none_445bbfac97f78a24.manifest
File versionNot applicable
File size701
Date (UTC)07-Nov-2011
Time (UTC)14:48
File nameX86_microsoft-windows-iis-httpcache_31bf3856ad364e35_6.0.6002.22739_none_62187f45ed48a187.manifest
File versionNot applicable
File size5,373
Date (UTC)06-Nov-2011
Time (UTC)00:25
Additional files for all supported x64-based versions of Windows Vista and of Windows Server 2008
Collapse this tableExpand this table
File nameAmd64_dd918a0aadb0177c4dd7e383891895a4_31bf3856ad364e35_6.0.6002.22739_none_437723aabe48ca50.manifest
File versionNot applicable
File size1,052
Date (UTC)07-Nov-2011
Time (UTC)14:48
File nameAmd64_microsoft-windows-iis-httpcache_31bf3856ad364e35_6.0.6002.22739_none_be371ac9a5a612bd.manifest
File versionNot applicable
File size5,385
Date (UTC)07-Nov-2011
Time (UTC)09:34
File nameUpdate.mum
File versionNot applicable
File size3,890
Date (UTC)07-Nov-2011
Time (UTC)14:48
File nameWow64_microsoft-windows-iis-httpcache_31bf3856ad364e35_6.0.6002.22739_none_c88bc51bda06d4b8.manifest
File versionNot applicable
File size3,527
Date (UTC)06-Nov-2011
Time (UTC)00:13
Additional files for all supported IA-64-based versions of Windows Server 2008
Collapse this tableExpand this table
File nameIa64_00e9e8826bb4cd966507f9acff634b42_31bf3856ad364e35_6.0.6002.22739_none_30348a89e8625c55.manifest
File versionNot applicable
File size1,050
Date (UTC)07-Nov-2011
Time (UTC)14:48
File nameIa64_microsoft-windows-iis-httpcache_31bf3856ad364e35_6.0.6002.22739_none_621a233bed46aa83.manifest
File versionNot applicable
File size5,379
Date (UTC)06-Nov-2011
Time (UTC)18:02
File nameUpdate.mum
File versionNot applicable
File size1,993
Date (UTC)07-Nov-2011
Time (UTC)14:48
File nameWow64_microsoft-windows-iis-httpcache_31bf3856ad364e35_6.0.6002.22739_none_c88bc51bda06d4b8.manifest
File versionNot applicable
File size3,527
Date (UTC)06-Nov-2011
Time (UTC)00:13



Additional file information for Windows 7 and for Windows Server 2008 R2

Additional files for all supported x86-based versions of Windows 7
Collapse this tableExpand this table
File nameUpdate.mum
File versionNot applicable
File size3,286
Date (UTC)08-Nov-2011
Time (UTC)22:50
File nameX86_82b0926227c341a23a30e94cf2c6fbdb_31bf3856ad364e35_6.1.7601.21857_none_2ecff1c3c68923a8.manifest
File versionNot applicable
File size709
Date (UTC)08-Nov-2011
Time (UTC)22:50
File nameX86_c432af2292c6c46598313f802e4d8fd4_31bf3856ad364e35_6.1.7600.21087_none_9c482e90570156e3.manifest
File versionNot applicable
File size709
Date (UTC)08-Nov-2011
Time (UTC)22:49
File nameX86_microsoft-windows-iis-httpcachebinaries_31bf3856ad364e35_6.1.7600.21087_none_9b8711456e41e4fb.manifest
File versionNot applicable
File size3,291
Date (UTC)08-Nov-2011
Time (UTC)06:33
File nameX86_microsoft-windows-iis-httpcachebinaries_31bf3856ad364e35_6.1.7601.21857_none_9d8e07d36b4fc6f9.manifest
File versionNot applicable
File size3,291
Date (UTC)08-Nov-2011
Time (UTC)06:15
Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
Collapse this tableExpand this table
File nameAmd64_508c1ed8d9dbc05d9026e0b47469a0fc_31bf3856ad364e35_6.1.7601.21857_none_6d48290505f57fb6.manifest
File versionNot applicable
File size1,068
Date (UTC)08-Nov-2011
Time (UTC)22:50
File nameAmd64_ab8ac778822c9544e1b88ca62b0579d2_31bf3856ad364e35_6.1.7600.21087_none_ce6b20c94842af5c.manifest
File versionNot applicable
File size1,068
Date (UTC)08-Nov-2011
Time (UTC)22:50
File nameAmd64_microsoft-windows-iis-httpcachebinaries_31bf3856ad364e35_6.1.7600.21087_none_f7a5acc9269f5631.manifest
File versionNot applicable
File size3,297
Date (UTC)08-Nov-2011
Time (UTC)07:21
File nameAmd64_microsoft-windows-iis-httpcachebinaries_31bf3856ad364e35_6.1.7601.21857_none_f9aca35723ad382f.manifest
File versionNot applicable
File size3,297
Date (UTC)08-Nov-2011
Time (UTC)07:21
File nameUpdate.mum
File versionNot applicable
File size3,728
Date (UTC)08-Nov-2011
Time (UTC)22:50
File nameWow64_microsoft-windows-iis-httpcachebinaries_31bf3856ad364e35_6.1.7600.21087_none_01fa571b5b00182c.manifest
File versionNot applicable
File size2,980
Date (UTC)08-Nov-2011
Time (UTC)05:58
File nameWow64_microsoft-windows-iis-httpcachebinaries_31bf3856ad364e35_6.1.7601.21857_none_04014da9580dfa2a.manifest
File versionNot applicable
File size2,980
Date (UTC)08-Nov-2011
Time (UTC)05:55
Additional files for all supported IA-64-based versions of Windows Server 2008 R2
Collapse this tableExpand this table
File nameIa64_785a5f000b89910566c650c754cbbca8_31bf3856ad364e35_6.1.7600.21087_none_0636ba9b68c4d3d9.manifest
File versionNot applicable
File size1,066
Date (UTC)08-Nov-2011
Time (UTC)22:49
File nameIa64_ee01dc3b5726aa68e0b53b715d906739_31bf3856ad364e35_6.1.7601.21857_none_5e88f3064d966308.manifest
File versionNot applicable
File size1,066
Date (UTC)08-Nov-2011
Time (UTC)22:49
File nameIa64_microsoft-windows-iis-httpcachebinaries_31bf3856ad364e35_6.1.7600.21087_none_9b88b53b6e3fedf7.manifest
File versionNot applicable
File size3,294
Date (UTC)08-Nov-2011
Time (UTC)06:55
File nameIa64_microsoft-windows-iis-httpcachebinaries_31bf3856ad364e35_6.1.7601.21857_none_9d8fabc96b4dcff5.manifest
File versionNot applicable
File size3,294
Date (UTC)08-Nov-2011
Time (UTC)06:48
File nameUpdate.mum
File versionNot applicable
File size2,767
Date (UTC)08-Nov-2011
Time (UTC)22:49
File nameWow64_microsoft-windows-iis-httpcachebinaries_31bf3856ad364e35_6.1.7600.21087_none_01fa571b5b00182c.manifest
File versionNot applicable
File size2,980
Date (UTC)08-Nov-2011
Time (UTC)05:58
File nameWow64_microsoft-windows-iis-httpcachebinaries_31bf3856ad364e35_6.1.7601.21857_none_04014da9580dfa2a.manifest
File versionNot applicable
File size2,980
Date (UTC)08-Nov-2011
Time (UTC)05:55

Properties

Article ID: 2594586 - Last Review: November 13, 2011 - Revision: 1.0
APPLIES TO
  • Microsoft Internet Information Services 7.5
  • Microsoft Internet Information Services 7.0
  • Windows 7 Service Pack 1, when used with:
    • Windows 7 Enterprise
    • Windows 7 Professional
    • Windows 7 Ultimate
  • Windows 7 Enterprise
  • Windows 7 Professional
  • Windows 7 Ultimate
  • Windows Server 2008 R2 Service Pack 1, when used with:
    • Windows Server 2008 R2 Datacenter
    • Windows Server 2008 R2 Enterprise
  • Windows Server 2008 R2 Datacenter
  • Windows Server 2008 R2 Enterprise
  • Windows Vista Service Pack 2, when used with:
    • Windows Vista Business
    • Windows Vista Enterprise
    • Windows Vista Ultimate
  • Windows Server 2008 Service Pack 2, when used with:
    • Windows Server 2008 Datacenter
    • Windows Server 2008 Enterprise
Keywords: 
kbautohotfix kbqfe kbhotfixserver kbfix kbbug kbexpertiseinter kbsurveynew KB2594586

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com