Podczas pobierania nowo skonfigurowanego systemu Windows 7, zauważyłem, że ASP.NET był domyślnie wyłączony. Tak jak klasyczna ASP. Otrzymałem błąd 404.17 dla aplikacji internetowej. Myślę, że to dlatego, że nie mam typu MIME "aspx". Chociaż to tylko domysły. Po włączeniu ich w Panelu sterowania> Programy i funkcje> Włącz lub wyłącz funkcje systemu Windows i ponownie uruchom mój komputer z systemem Windows 7, typy MIME nigdy się nie wyświetlały. Czy ktoś może sprawdzić, jaki typ MIME ma dla stron * .aspx i podać konfigurację w trybie edycji? Jakie inne typy MIME bym przegapił dla rozszerzeń ASP.NET (np. Ashx, asax, etc ...)? Jaki jest najlepszy sposób na skonfigurowanie ich wszystkich?Brakuje typów MIME w IIS 7 dla ASP.NET - 404.17
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.
Czy możesz podać, które ustawienia IIS7 włączyłeś? –
Czy pytasz o ustawienia, które widziałem w sekcji "Mapowania menedżera", które pojawiły się po uruchomieniu polecenia "aspnet_regiis.exe -i"? Było kilka (np. Asmx, ashx, aspx, asax, itp.) – MacGyver
W Panelu sterowania przejrzałem do "Programy i funkcje> Włącz lub wyłącz funkcje systemu Windows> Internetowe usługi informacyjne (IIS)> Usługi World Wide Web > Funkcje programowania aplikacji> ASP.NET "... między innymi – MacGyver