Site not redirecting to Default Document in Classic pipeline mode

前端 未结 1 857
Happy的楠姐
Happy的楠姐 2021-01-27 05:55
IIS 7.5
Windows 7 64-bit
.NET 4.0

I have a .NET 4.0 site in IIS 7.5. The Default Document is set to home.aspx.

If the application pools manage

1条回答
  •  别那么骄傲
    2021-01-27 06:43

    There is a bug introduced with KB980368 (A [sic] update is available that enables certain IIS 7.0 or IIS 7.5 handlers to handle requests whose URLs do not end with a period) which is also rolled into Windows 7/2008R2 Service Pack 1. We discovered this bug when we rolled out this hotfix which is required for WebMatrix web hosting validation.

    See my previous question and answer here:

    ASP.NET 2.0 and 4.0 seem to treat the root url differently in Forms Authentication

    We raised this with MS PSS and whilst they have reproduced the issue they haven't yet yielded a fix for it (the PSS issue has been open since 23/02/11). All that's happened so far is that a new KB article recognising the problem has been issued:

    Web services may fail on Microsoft Internet Information Services (IIS) 7.5 and Windows 7 Service Pack 1 with .NET Framework 4.0 due to extensionless URL handlers (KB2520479)

    The article suggests two fixes, the first of which is ineffective and the other isn't exactly ideal for us at the moment.

    However the problem you're experiencing may not actually be related but I thought I'd share this anyway.

    0 讨论(0)
提交回复
热议问题