Quantcast
Channel: Classic ASP
Viewing all articles
Browse latest Browse all 488

Site migrated from IIS6 to IIS8 won't run (404.17 error)

$
0
0

Hi all,

First off I'm no Web Admin so don't assume I know exactly what you're talking about because I probably don't!  I was thrown into the deep end and asked to migrate all of our sites on Windows 2003 servers to Windows Server 2012.  For the most part everything is working as it should except for a few sites.  One of them continues to return a 404.17 error:

HTTP Error 404.17 - Not Found

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

<div class="content-container">

Most likely causes:

  • The request matched a wildcard mime map. The request is mapped to the static file handler. If there were different pre-conditions, the request will map to a different handler.
</div> <div class="content-container">

Things you can try:

  • If you want to serve this content as a static file, add an explicit MIME map.
</div> <div class="content-container">

Detailed Error Information:

<div id="details-left">
Module   StaticFileModule
Notification   ExecuteRequestHandler
Handler   StaticFile
Error Code   0x80070032
</div>
</div>

Microsoft is telling me that the app pool that it's running in should be changed to enable 32 bit applications, use .net 2.0 and ran in classic mode.  Did that, didn't work. 

I found out which handlers are configured for the application which is throwing the 404.17 error:

<system.webServer>
  <handlers accessPolicy="Read, Execute, Source, 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-1643617704" 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-1643617705" 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-1643617706" path="*.idc" verb="GET,POST" 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" requireAccess="Script" />
    <add name="SSINC-shtml" path="*.shtml" verb="GET,POST" modules="ServerSideIncludeModule" resourceType="File" requireAccess="Script" />
    <add name="SSINC-stm" path="*.stm" verb="GET,POST" modules="ServerSideIncludeModule" resourceType="File" requireAccess="Script" />
    <add name="AboMapperCustom-55697161" path="*.asax" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697162" path="*.ascx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697163" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697164" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697165" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697166" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697167" path="*.vsdisco" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697168" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697169" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697170" path="*.config" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697171" path="*.cs" verb="GET,HEAD,POST,DEBUG"modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697172" path="*.csproj" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697173" path="*.vb" verb="GET,HEAD,POST,DEBUG"modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697174" path="*.vbproj" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697175" path="*.webinfo" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697176" path="*.licx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697177" path="*.resx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" responseBufferLimit="0" />
    <add name="AboMapperCustom-55697178" path="*.resources" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" resourceType="File" requireAccess="Script" preCondition="classicMode,bitness32,runtimeVersionv1.1" 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>

This is where the Microsoft article stops being helpful as there's no mention of .net 1.1 anywhere (I'm assuming the output above is telling me that this site was built using .net 1.1 and therefore needs an app pool running .net 1.1 in order to run?), they just keep talking about .net 2.0.  From what I've read .net 1.1 is not included/supported in WIndows Server 2008 and above so I'm a bit lost as to how to fix this.  I've read countless posts about 404.17 errors and so far nothing has worked.  One post seemed promising in being able to have an option to set your application pool to run in .net 1.1 but that never worked for me.

ANY help would be greatly appreciated as I've been struggling with this for about a week now..

Thanks!

Andre


Viewing all articles
Browse latest Browse all 488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>