none
IIS 7 ISAPI-DLL-Aufruf bei PUT scheitert mit 405 RRS feed

  • Frage

  • Hallo allerseits,

    ich muss eine bestehende Anwendung eines Fremdanbieters vom IIS6 auf 7 umziehen. Im Wesentlichen wird dabei eine DLL gerufen, die Werte übernimmt oder liefert.

    Neue Plattform ist IIS 7 / Win2008. Zugriffsrechte sollten alle stimmen, 32bit-Mode ist aktiviert, Verben sind alle erlaubt, Execute ist erlaubt.

    GET-Aufrufe funktionieren wunderbar, beim PUT erhalte ich immer 405 Method not allowed. Soweit ich das mit der Logfunktion der DLL prüfen konnte werden die PUT-Aufrufe nicht bis zur DLL durchgereicht, das Problem dürfte also in der IIS-Config liegen.

    Was mache ich noch falsch? Kann es sein das der StaticFileHandler mir den Aufruf irgendwie wegfängt?

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <system.webServer>
            <defaultDocument>
                <files>
                    <add value="sarliis.dll" />
                </files>
            </defaultDocument>
            <handlers accessPolicy="Read, Execute, Script">
                <remove name="HttpRemotingHandlerFactory-rem-ISAPI-2.0" />
                <remove name="HttpRemotingHandlerFactory-soap-ISAPI-2.0" />
                <remove name="WebServiceHandlerFactory-ISAPI-2.0" />
                <remove name="HttpRemotingHandlerFactory-rem-ISAPI-2.0-64" />
                <remove name="HttpRemotingHandlerFactory-soap-ISAPI-2.0-64" />
                <remove name="PageHandlerFactory-ISAPI-2.0-64" />
                <remove name="WebServiceHandlerFactory-ISAPI-2.0-64" />
                <remove name="AXD-ISAPI-2.0-64" />
                <remove name="SimpleHandlerFactory-ISAPI-2.0" />
                <remove name="SimpleHandlerFactory-ISAPI-2.0-64" />
                <remove name="CGI-exe" />
                <remove name="WebDAV" />
                <remove name="OPTIONSVerbHandler" />
                <remove name="AXD-ISAPI-2.0" />
                <remove name="PageHandlerFactory-ISAPI-2.0" />
                <remove name="PageHandlerFactory-Integrated" />
                <remove name="StaticFile" />
                <remove name="ASPClassic" />
                <remove name="ISAPI-dll" />
                <add name="ASPClassic" path="*.asp" verb="GET,HEAD,POST,PUT" modules="IsapiModule" scriptProcessor="%windir%\system32\inetsrv\asp.dll" resourceType="File" requireAccess="Execute" />
                <add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" resourceType="Either" requireAccess="Read" />
                <add name="PageHandlerFactory-Integrated" path="*.aspx" verb="GET,HEAD,POST,DEBUG,PUT" type="System.Web.UI.PageHandlerFactory" resourceType="Unspecified" requireAccess="Script" preCondition="integratedMode" />
                <add name="PageHandlerFactory-ISAPI-2.0" path="*.aspx" verb="GET,HEAD,POST,DEBUG,PUT" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />
                <add name="AXD-ISAPI-2.0" path="*.axd" verb="GET,HEAD,POST,DEBUG,PUT" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />
                <add name="OPTIONSVerbHandler" path="*" verb="OPTIONS" modules="ProtocolSupportModule" resourceType="Either" requireAccess="Execute" />
                <add name="ISAPI-dll" path="sarliis.dll" verb="GET,HEAD,POST,PUT,DEBUG,DELETE" modules="IsapiModule" scriptProcessor="C:\SAPERION_SERVER\web\sarliis.dll" resourceType="Unspecified" requireAccess="Execute" preCondition="bitness32" />
                <add name="CGI-exe" path="*.exe" verb="*" modules="CgiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" />
                <add name="SimpleHandlerFactory-ISAPI-2.0" path="*.ashx" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />
            </handlers>
        </system.webServer>
    </configuration>
    

    LG Uwe
    Mittwoch, 5. Juni 2013 09:36

Alle Antworten