MIME-Typen fehlt, die in IIS 7 für ASP.NET - 404.17

Bekommen, wenn eine neu konfigurierte Windows-7-Rechner, bemerkte ich, dass ASP.NET war standardmäßig deaktiviert. So ist das klassische ASP. Ich war immer ein Fehler 404.17 für eine web-Anwendung. Ich denke, es ist weil ich don ' T haben eine "aspx" MIME-Typ. Aber das ist nur eine Vermutung. Wenn ich drehte Sie auf unter Systemsteuerung > Programme und Funktionen > Aktivieren von Windows-Features ein-oder ausgeschaltet, neu gestartet und meine Windows 7-Maschine, die MIME-Typen, die nie auftauchte. Kann jemand prüfen welche MIME-Typ für *.aspx-Seiten, und mir sagen, die Konfiguration im edit-Modus? Was andere MIME-Typen würde ich fehlen ASP.NET Erweiterungen (sprich: ashx, asax, etc...)? Was ist der beste Weg, um zu konfigurieren Sie alle?

    Error Summary
    HTTP Error 404.17 - Not Found
    The requested content appears to be script and will not be served by the static file handler.

...

Module: StaticFileModule
Notification: ExecuteRequestHandler
Handler: StaticFile
Error Code: 0x80070032
Requested URL: ...
Physical Path: ...
Logon Method: NTLM
Logon User: {DOMAIN}\{WINDOWS LOGIN}

...

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.

...

Things you can try:

If you want to serve this content as a static file, add an explicit MIME map.
InformationsquelleAutor MacGyver | 2012-07-03
Schreibe einen Kommentar