新しく構成されたWindows7ボックスを入手したとき、ASP.NETがデフォルトでオフになっていることに気付きました。古典的なASPもそうだった。Webアプリケーションで404.17エラーが発生していました。「aspx」MIMEタイプを持っていないからだと思います。それは単なる推測ですが。[コントロールパネル]>[プログラムと機能]>[Windowsの機能をオンまたはオフにする]でオンにし、Windows 7マシンを再起動すると、MIMEタイプが表示されませんでした。誰かが*.aspxページのMIMEタイプを確認し、編集モードでの構成を教えてもらえますか?ASP.NET拡張機能(つまり、ashx、asaxなど)には他にどのようなMIMEタイプがありませんか?それらすべてを構成するための最良の方法は何ですか?
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.