WCF部署:IIS 7.0 - HTTP Error 404.17 - Not Found - Static File

    技术2022-05-19  22

    Thread: IIS 7.0 - HTTP Error 404.17 - Not Found - Static File Handler.

    Last post 02-05-2011 3:52 PM by Amardeep_Puri. 16 replies.

     

    RSS

    Page 1 of 1 (17 items)

    Sort Posts: Oldest to newestNewest to oldest

    Shortcuts

    Search | Active Posts | Unanswered Posts | View all users

    08-18-2009, 5:25 PM  

    suaveshiva Joined on 08-18-2009, 9:21 PMPosts 1

    IIS 7.0 - HTTP Error 404.17 - Not Found - Static File Handler.

    Reply Contact

    Hi Friends,

     Recently I had migrated my web service from IIS 6.0 to IIS 7.0. before that my web application used to execute perfectly without errors...Presently after upgrading:When I browse from webservice am getting error as:

    " HTTP Error 404.17 - Not FoundThe requested content appears to be script and will not be served by the static file handler. "=> Application pool for “MyApplication” is “Classic .NET AppPool”My System Details:1)Windows Vista Ent , 32 Bit2)VS 20083)ISS 7.0 (recently upgraded)...Please help me out, Let me know work around or please guide me if I am doing anything wrong.Thanks & regards

    08-23-2009, 10:26 PM In reply to

    Leo Tang - MSFT Joined on 12-11-2008, 9:47 PMPosts 3,019

    Re: IIS 7.0 - HTTP Error 404.17 - Not Found - Static File Handler.

    Reply Contact

    Hi,

    The 404.17 error indicates dynamic content mapped to the static file handler. The pre-selected setup defaults of IIS 7.0 only provide the IIS modules required to support static content.

    Please make sure the ASP.NET role service is installed. You can refer to the ASP.NET Workload section in the following article:Install Typical IIS Workloadshttp://learn.iis.net/page.aspx/136/install-typical-iis-workloads/

    Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com. Microsoft One Code Framework

    08-24-2009, 9:45 AM In reply to

    anilr Joined on 05-23-2006, 10:13 PMRedmond, WAPosts 2,343

    Re: IIS 7.0 - HTTP Error 404.17 - Not Found - Static File Handler.

    Reply Contact

    More specifically, it means that you have a mapping for that content to something other than StaticFile, but that handler mapping does not apply for the current pipeline mode (integrated/classic), bitness (32/64 bits) or even asp.net version - you would normally need to have multiple mappings to asp.net for any extensions for it to work across all possible combinations of those things.

    Anil Ruia Senior Software Design Engineer IIS Core Server

    05-05-2010, 8:17 PM In reply to

    zipswich Joined on 01-03-2008, 8:09 PMPosts 27

    Re: IIS 7.0 - HTTP Error 404.17 - Not Found - Static File Handler.

    Reply Contact

     I have the same error on a machine upgraded from XP Pro to Vista Business 32 bit. I have spent a few hours trying everything I can find online in vain.

     

    The application was fine until it was migrated to VS2008 and made to target .Net 4. For debugging, the page (default.aspx) has been made to display only one word "test", but it always generates the following error:

     

    HTTP Error 404.17 - Not Found

    The requested content appears to be script and will not be served by the static file handler.

     

    Any help will be greatly appreciated.

     

    05-06-2010, 3:22 AM In reply to

    Leo Tang - MSFT Joined on 12-11-2008, 9:47 PMPosts 3,019

    Re: IIS 7.0 - HTTP Error 404.17 - Not Found - Static File Handler.

    Reply Contact

    Hi,

    Please make sure the .Net Framework4.0 installed on your IIS server.

    If you have installed .Net Framework4.0 on your IIS server, please run "aspnet_regiis -i" in C:/Windows/Microsoft.NET/Framework/v4.0.21006

    If your problem persists, please update here. Thanks.

    Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com. Microsoft One Code Framework

    05-06-2010, 6:30 AM In reply to

    zipswich Joined on 01-03-2008, 8:09 PMPosts 27

    Re: IIS 7.0 - HTTP Error 404.17 - Not Found - Static File Handler.

    Reply Contact

     Hi Leo, thanks a lot for trying to help!

    I  followed instructions except my .Net 4 directory is "C:/Windows/Microsoft.NET/Framework/v4.0.30319".  It did not work. Then I rebooted the machine and it is generating the same error. Then I removed the application in IIS and added back and configured it to use app pool "ASP.NET v4.0 Classic", but unfortunately it still generates the same error - HTTP Error 404.17 - Not Found.

    BTW, the machine was upgraded from XP Pro to Vista Business 32 bit. The application was working find on XP Pro, but it has been rebuilt with VS2010 and changed to page to simply displaying a work for the sake of debugging. 

    What is interesting is that the same application works on another machine also running Vista Business 32 bit, but it was a fresh installation, not upgrading.

    I look forward to your further advice.

    05-06-2010, 6:41 AM In reply to

    Leo Tang - MSFT Joined on 12-11-2008, 9:47 PMPosts 3,019

    Re: IIS 7.0 - HTTP Error 404.17 - Not Found - Static File Handler.

    Reply Contact

    Hi,

    Could you please post the output the following command:

    %windir%/system32/inetsrv/appcmd.exe list config "site's name" -section:system.webServer/handlers

    We will be able to check  if the handler mappings are correct.

    Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com. Microsoft One Code Framework

    05-06-2010, 6:56 AM In reply to

    zipswich Joined on 01-03-2008, 8:09 PMPosts 27

    Re: IIS 7.0 - HTTP Error 404.17 - Not Found - Static File Handler.

    Reply Contact

    Thank you so much for your prompt response, Leo!

    Here is the output as your requested:

    C:/>%windir%/system32/inetsrv/appcmd.exe list config "Default Web Site" -section:system.webServer/handlers<system.webServer>  <handlers accessPolicy="Read, Write, Script">    <add name="ISAPI-dll" path="*.dll" verb="*" modules="IsapiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" />    <add name="CGI-exe" path="*.exe" verb="*" modules="CgiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" />    <add name="ASPClassic" path="*.asp" verb="GET,HEAD,POST,TRACE" modules="IsapiModule" scriptProcessor="%windir%/system32/inetsrv/asp.dll" resourceType="File" requireAccess="Script" />    <add name="SecurityCertificate" path="*.cer" verb="GET,HEAD,POST,TRACE" modules="IsapiModule" scriptProcessor="%windir%/system32/inetsrv/asp.dll" resourceType="File" requireAccess="Script" />    <add name="AboMapperCustom-519717" path="*.cdx" verb="GET,HEAD,POST,TRACE" modules="IsapiModule" scriptProcessor="C:/WINDOWS/system32/inetsrv/asp.dll" resourceType="File" requireAccess="Script" responseBufferLimit="0" />    <add name="AboMapperCustom-519718" path="*.asa" verb="GET,HEAD,POST,TRACE" modules="IsapiModule" scriptProcessor="C:/WINDOWS/system32/inetsrv/asp.dll" resourceType="File" requireAccess="Script" responseBufferLimit="0" />    <add name="AboMapperCustom-519719" path="*.idc" verb="OPTIONS,GET,HEAD,POST,PUT,DELETE,TRACE" modules="IsapiModule"scriptProcessor="C:/WINDOWS/system32/inetsrv/httpodbc.dll" resourceType="File" requireAccess="Script" responseBufferLimit="0" />    <add name="SSINC-shtm" path="*.shtm" verb="GET,POST" modules="ServerSideIncludeModule" resourceType="File" />    <add name="SSINC-shtml" path="*.shtml" verb="GET,POST" modules="ServerSideIncludeModule" resourceType="File" />    <add name="SSINC-stm" path="*.stm" verb="GET,POST" modules="ServerSideIncludeModule" resourceType="File" />    <add name="AboMapperCustom-519720" path="*.asax" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519721" path="*.ascx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519758" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="c:/windows/microsoft.net/framework/v2.0.50727/aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519759" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="c:/windows/microsoft.net/framework/v2.0.50727/aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519760" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="c:/windows/microsoft.net/framework/v2.0.50727/aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519761" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="c:/windows/microsoft.net/framework/v2.0.50727/aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519722" path="*.vsdisco" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519762" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="c:/windows/microsoft.net/framework/v2.0.50727/aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519763" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="c:/windows/microsoft.net/framework/v2.0.50727/aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519723" path="*.config" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519724" path="*.cs" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519725" path="*.csproj" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519726" path="*.vb" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519727" path="*.vbproj" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519728" path="*.webinfo" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519729" path="*.licx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519730" path="*.resx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519731" path="*.resources" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519732" path="*.master" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519733" path="*.skin" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519734" path="*.compiled" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519735" path="*.browser" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519736" path="*.mdb" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519737" path="*.jsl" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519738" path="*.vjsproj" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519739" path="*.sitemap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519740" path="*.msgx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519741" path="*.ad" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519742" path="*.dd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519743" path="*.ldd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519744" path="*.sd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519745" path="*.cd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519746" path="*.adprototype" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519747" path="*.lddprototype" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519748" path="*.sdm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519749" path="*.sdmDocument" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519750" path="*.ldb" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519751" path="*.mdf" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519752" path="*.ldf" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519753" path="*.java" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519754" path="*.exclude" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519755" path="*.refresh" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="TRACEVerbHandler" path="*" verb="TRACE" modules="ProtocolSupportModule" requireAccess="None" />    <add name="OPTIONSVerbHandler" path="*" verb="OPTIONS" modules="ProtocolSupportModule" requireAccess="None" />    <add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" resourceType="Either" requireAccess="Read" />  </handlers></system.webServer>C:/>

     

    05-07-2010, 4:31 AM In reply to

    Leo Tang - MSFT Joined on 12-11-2008, 9:47 PMPosts 3,019

    Re: IIS 7.0 - HTTP Error 404.17 - Not Found - Static File Handler.

    Reply Contact

    Hi,

     

    zipswich:     <add name="AboMapperCustom-519760" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="c :/windows/microsoft.net/framework/v2.0.50727/aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,runtimeV ersionv2.0,bitness32" responseBufferLimit="0" />

     

    The  handler mappings only apply for the classic pipeline mode, bitness32 and asp.net versionv2.0. This is the reason why you application do not work under ASP.Net Classic4.0 application pool.

    Achtung! IIS7 Preconditions

    http://blogs.iis.net/thomad/archive/2006/11/04/precondition-what.aspx

    You can run following command to see if the handler mapping on the server level are the same as the default web site's

     %windir%/system32/inetsrv/appcmd.exe list config -section:system.webServer/handlers

    If the handler mappings for integrated mode, .Net versionv4.0 also missed on the server level, I'd suggest you reinstall ASP.Net workload on this server.

    Install Typical IIS Workloads

    http://learn.iis.net/page.aspx/136/install-typical-iis-workloads/

    If you have any problem or anything is unclear, please feel free to update here. Thanks.

    Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com. Microsoft One Code Framework

    05-07-2010, 8:12 AM In reply to

    zipswich Joined on 01-03-2008, 8:09 PMPosts 27

    Re: IIS 7.0 - HTTP Error 404.17 - Not Found - Static File Handler.

    Reply Contact

     Hi Leo,

    I ran the the command you suggested and attached is the output. It does not seem to have the  the mapping for .aspx.  Could you kindly take a look at this?

     

    C:/>%windir%/system32/inetsrv/appcmd.exe list config -section:system.webServer/handlers<system.webServer>  <handlers accessPolicy="Read, Script">    <add name="rules-Integrated" path="*.rules" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" />    <add name="ExtensionlessUrl-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />    <add name="AXD-ISAPI-4.0_32bit" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />    <add name="PageHandlerFactory-ISAPI-4.0_32bit" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />    <add name="SimpleHandlerFactory-ISAPI-4.0_32bit" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />    <add name="WebServiceHandlerFactory-ISAPI-4.0_32bit" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />    <add name="HttpRemotingHandlerFactory-rem-ISAPI-4.0_32bit" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />    <add name="HttpRemotingHandlerFactory-soap-ISAPI-4.0_32bit" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />    <add name="svc-ISAPI-4.0_32bit" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />    <add name="rules-ISAPI-4.0_32bit" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />    <add name="xoml-ISAPI-4.0_32bit" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />    <add name="xamlx-ISAPI-4.0_32bit" path="*.xamlx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />    <add name="aspq-ISAPI-4.0_32bit" path="*.aspq" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />    <add name="cshtm-ISAPI-4.0_32bit" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />    <add name="cshtml-ISAPI-4.0_32bit" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />    <add name="vbhtm-ISAPI-4.0_32bit" path="*.vbhtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />    <add name="vbhtml-ISAPI-4.0_32bit" path="*.vbhtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />    <add name="ExtensionlessUrl-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework64/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />    <add name="AXD-ISAPI-4.0_64bit" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework64/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />    <add name="PageHandlerFactory-ISAPI-4.0_64bit" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework64/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />    <add name="SimpleHandlerFactory-ISAPI-4.0_64bit" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework64/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />    <add name="WebServiceHandlerFactory-ISAPI-4.0_64bit" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework64/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />    <add name="HttpRemotingHandlerFactory-rem-ISAPI-4.0_64bit" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework64/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />    <add name="HttpRemotingHandlerFactory-soap-ISAPI-4.0_64bit" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework64/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />    <add name="svc-ISAPI-4.0_64bit" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework64/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />    <add name="rules-ISAPI-4.0_64bit" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework64/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />    <add name="xoml-ISAPI-4.0_64bit" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework64/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />    <add name="xamlx-ISAPI-4.0_64bit" path="*.xamlx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework64/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />    <add name="aspq-ISAPI-4.0_64bit" path="*.aspq" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework64/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />    <add name="cshtm-ISAPI-4.0_64bit" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework64/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />    <add name="cshtml-ISAPI-4.0_64bit" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework64/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />    <add name="vbhtm-ISAPI-4.0_64bit" path="*.vbhtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework64/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />    <add name="vbhtml-ISAPI-4.0_64bit" path="*.vbhtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework64/v4.0.30319/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />    <add name="ExtensionlessUrl-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />    <add name="TraceHandler-Integrated-4.0" path="trace.axd" verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TraceHandler" preCondition="integratedMode,runtimeVersionv4.0" />    <add name="WebAdminHandler-Integrated-4.0" path="WebAdmin.axd" verb="GET,DEBUG" type="System.Web.Handlers.WebAdminHandler" preCondition="integratedMode,runtimeVersionv4.0" />    <add name="AssemblyResourceLoader-Integrated-4.0" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" preCondition="integratedMode,runtimeVersionv4.0" />    <add name="PageHandlerFactory-Integrated-4.0" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" preCondition="integratedMode,runtimeVersionv4.0" />    <add name="SimpleHandlerFactory-Integrated-4.0" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory" preCondition="integratedMode,runtimeVersionv4.0" />    <add name="WebServiceHandlerFactory-Integrated-4.0" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" />    <add name="HttpRemotingHandlerFactory-rem-Integrated-4.0" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv4.0" />    <add name="HttpRemotingHandlerFactory-soap-Integrated-4.0" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv4.0" />    <add name="svc-Integrated-4.0" path="*.svc" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" />    <add name="rules-Integrated-4.0" path="*.rules" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" />    <add name="xoml-Integrated-4.0" path="*.xoml" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" />    <add name="xamlx-Integrated-4.0" path="*.xamlx" verb="GET,HEAD,POST,DEBUG" type="System.Xaml.Hosting.XamlHttpHandlerFactory, System.Xaml.Hosting,Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" />    <add name="aspq-Integrated-4.0" path="*.aspq" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" />    <add name="cshtm-Integrated-4.0" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" />    <add name="cshtml-Integrated-4.0" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" />    <add name="vbhtm-Integrated-4.0" path="*.vbhtm" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" />    <add name="vbhtml-Integrated-4.0" path="*.vbhtml" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" />    <add name="ScriptHandlerFactoryAppServices-Integrated-4.0" path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="integratedMode,runtimeVersionv4.0" />    <add name="ScriptResourceIntegrated-4.0" path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="integratedMode,runtimeVersionv4.0" />    <add name="rules-ISAPI-2.0" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" />    <add name="xoml-Integrated" path="*.xoml" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" />    <add name="xoml-ISAPI-2.0" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="C:/Windows/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" />    <add name="svc-ISAPI-2.0" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%SystemRoot%/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" />    <add name="svc-Integrated" path="*.svc" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" />    <add name="TraceHandler-Integrated" path="trace.axd" verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TraceHandler" preCondition="integratedMode" />    <add name="WebAdminHandler-Integrated" path="WebAdmin.axd" verb="GET,DEBUG" type="System.Web.Handlers.WebAdminHandler" preCondition="integratedMode" />    <add name="AssemblyResourceLoader-Integrated" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" preCondition="integratedMode" />    <add name="PageHandlerFactory-Integrated" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" preCondition="integratedMode" />    <add name="SimpleHandlerFactory-Integrated" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory" preCondition="integratedMode" />    <add name="WebServiceHandlerFactory-Integrated" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" preCondition="integratedMode,runtimeVersionv2.0" />    <add name="HttpRemotingHandlerFactory-rem-Integrated" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" />    <add name="HttpRemotingHandlerFactory-soap-Integrated" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" />    <add name="AXD-ISAPI-2.0" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="PageHandlerFactory-ISAPI-2.0" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="SimpleHandlerFactory-ISAPI-2.0" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="WebServiceHandlerFactory-ISAPI-2.0" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="HttpRemotingHandlerFactory-rem-ISAPI-2.0" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="HttpRemotingHandlerFactory-soap-ISAPI-2.0" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="ISAPI-dll" path="*.dll" verb="*" modules="IsapiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" />    <add name="CGI-exe" path="*.exe" verb="*" modules="CgiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" />    <add name="ASPClassic" path="*.asp" verb="GET,HEAD,POST,TRACE" modules="IsapiModule" scriptProcessor="%windir%/system32/inetsrv/asp.dll" resourceType="File" requireAccess="Script" />    <add name="SecurityCertificate" path="*.cer" verb="GET,HEAD,POST,TRACE" modules="IsapiModule" scriptProcessor="%windir%/system32/inetsrv/asp.dll"resourceType="File" requireAccess="Script" />    <add name="AboMapperCustom-519717" path="*.cdx" verb="GET,HEAD,POST,TRACE" modules="IsapiModule" scriptProcessor="C:/WINDOWS/system32/inetsrv/asp.dll" resourceType="File" requireAccess="Script" responseBufferLimit="0" />    <add name="AboMapperCustom-519718" path="*.asa" verb="GET,HEAD,POST,TRACE" modules="IsapiModule" scriptProcessor="C:/WINDOWS/system32/inetsrv/asp.dll" resourceType="File" requireAccess="Script" responseBufferLimit="0" />    <add name="AboMapperCustom-519719" path="*.idc" verb="OPTIONS,GET,HEAD,POST,PUT,DELETE,TRACE" modules="IsapiModule" scriptProcessor="C:/WINDOWS/system32/inetsrv/httpodbc.dll" resourceType="File" requireAccess="Script" responseBufferLimit="0" />    <add name="SSINC-shtm" path="*.shtm" verb="GET,POST" modules="ServerSideIncludeModule" resourceType="File" />    <add name="SSINC-shtml" path="*.shtml" verb="GET,POST" modules="ServerSideIncludeModule" resourceType="File" />    <add name="SSINC-stm" path="*.stm" verb="GET,POST" modules="ServerSideIncludeModule" resourceType="File" />    <add name="AboMapperCustom-519720" path="*.asax" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519721" path="*.ascx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519722" path="*.vsdisco" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519723" path="*.config" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519724" path="*.cs" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519725" path="*.csproj" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519726" path="*.vb" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519727" path="*.vbproj" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519728" path="*.webinfo" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519729" path="*.licx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519730" path="*.resx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519731" path="*.resources" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519732" path="*.master" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519733" path="*.skin" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519734" path="*.compiled" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519735" path="*.browser" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519736" path="*.mdb" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519737" path="*.jsl" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519738" path="*.vjsproj" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519739" path="*.sitemap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519740" path="*.msgx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519741" path="*.ad" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519742" path="*.dd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519743" path="*.ldd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519744" path="*.sd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519745" path="*.cd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519746" path="*.adprototype" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519747" path="*.lddprototype" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519748" path="*.sdm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519749" path="*.sdmDocument" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519750" path="*.ldb" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519751" path="*.mdf" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519752" path="*.ldf" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519753" path="*.java" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519754" path="*.exclude" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="AboMapperCustom-519755" path="*.refresh" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />    <add name="TRACEVerbHandler" path="*" verb="TRACE" modules="ProtocolSupportModule" requireAccess="None" />    <add name="OPTIONSVerbHandler" path="*" verb="OPTIONS" modules="ProtocolSupportModule" requireAccess="None" />    <add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" resourceType="Either" requireAccess="Read" />  </handlers></system.webServer>C:/>

    05-10-2010, 11:43 PM In reply to

    Leo Tang - MSFT Joined on 12-11-2008, 9:47 PMPosts 3,019

    Re: IIS 7.0 - HTTP Error 404.17 - Not Found - Static File Handler.

    Reply Contact

    Hi, 

     

    zipswich:   <add name="PageHandlerFactory-Integrated-4.0" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" preCondition="integ ratedMode,runtimeVersionv4.0" />

     

    This is the correct handler mapping for aspx pages  running in integratedMode, runtimeVersionv4.0, you can back up your web.config and web content, then revert your site's mappings to parent's, it should work for you(IIS Manager->high-light you web site->click Handler Mappings icon on the home pane->click Revert to Parent... on the right Actions pane).

    Thanks.

    Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com. Microsoft One Code Framework

    05-11-2010, 5:31 AM In reply to

    zipswich Joined on 01-03-2008, 8:09 PMPosts 27

    Re: IIS 7.0 - HTTP Error 404.17 - Not Found - Static File Handler.

    Reply Contact

    Hallelujah! It works. I double-clicked Handler Mappings and clicked "Revert to Inherited".

    This mismatch must have been caused by OS upgrading (XP Pro -> Vista Business).

    Thank you very much, Leo!

    05-27-2010, 5:29 AM In reply to

    adimax24 Joined on 05-27-2010, 9:26 AMPosts 1

    Re: IIS 7.0 - HTTP Error 404.17 - Not Found - Static File Handler.

    Reply Contact I was getting a HTTP 500.0 Server Internal error after upgrading from .NET beta 2 to .NET RTM. The workaround helped me as well :) Leo Tang - MSFT:

    Hi, 

     

    zipswich:   <add name="PageHandlerFactory-Integrated-4.0" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" preCondition="integ ratedMode,runtimeVersionv4.0" />

     

    This is the correct handler mapping for aspx pages  running in integratedMode, runtimeVersionv4.0, you can back up your web.config and web content, then revert your site's mappings to parent's, it should work for you(IIS Manager->high-light you web site->click Handler Mappings icon on the home pane->click Revert to Parent... on the right Actions pane).

    Thanks.

    08-23-2010, 2:53 PM In reply to

    RichLoba Joined on 10-05-2009, 9:27 PMPosts 1

    Re: IIS 7.0 - HTTP Error 404.17 - Not Found - Static File Handler.

    Reply Contact Hello,   As an FYI, I had a similar issue with Windows 2008 and Windows 7.   1.       I followed your steps: aspnet_regiss –I on a Windows 2008 (x64) and Windows 7 (x64) box.   After running the above command there seemed to be duplicate entries in Web.config.   2.       Rather than trying to figure out which ones were causing the problem, I just restored the original web.config.   3.       I ran the site again, and this time the error message pointed me to steps to reference the .NET 4.0 ISAPI extensions.   4.       After that everything came up and ran just fine.   I had originally installed .NET 4.0 and figured everything would work. I did a simple hello world targeting .NET 2.0, 3.0, 3.5 that all worked, but the .NET 4.0 version didn’t. I now use these .NET target tests as a good simple way to determine if the following steps needed to be done. Do you see any other issues I should be thinking about with all of this?   Let me know if you would like any information regarding these steps, I could let you TS into the box if you do.   FYI: I’m in the OU  if you want to contact me directly.   Thanks Leo,   Richard Loba  

     

    11-12-2010, 4:49 AM In reply to

    hm1984ir Joined on 08-19-2007, 2:48 PMPosts 1

    Re: IIS 7.0 - HTTP Error 404.17 - Not Found - Static File Handler.

    Reply Contact

     Hi Leo Tang,

    Thank you very much ,I had the same problem and It became a nightmare for me then I could fix it by your help,

    Thank you very much,

    Hamid

    01-20-2011, 5:35 PM In reply to

    ferroo Joined on 01-20-2011, 10:33 PMGeorgiaPosts 1

    Re: IIS 7.0 - HTTP Error 404.17 - Not Found - Static File Handler.

    Reply Contact Thank you for support now its working. www.pusulaweb.com

    02-05-2011, 3:52 PM In reply to

    Amardeep_Puri Joined on 01-31-2010, 1:27 AMPosts 1

    Re: IIS 7.0 - HTTP Error 404.17 - Not Found - Static File Handler.

    Reply Contact

    Hi all,

    I was having the same issue on IIS 7 and W2k8 x64. Great support trail and after reading it all I found that my problem was fixed by just clicking the "Revert to Parent." Well almost, then I had to add my URL redirect module to get the whole flow working. This was great.

    Regards,Amardeep Puri


    最新回复(0)