今天尝试在VM里config DNN 7.0 with IIS 碰到的问题记录如下:
1.HTTP Error 404.17 - Not Found The requested content appears to be script and will not be served by the static file handler. reference:http://*.com/questions/3762287/script-not-served-by-static-file-handler-on-iis7-5
Go to Visual Studio Command Prompt, run as Admin
And register asp.net as windows\microsoft.net\Framework[.Net version num]\aspnet_regiis.exe -i
2.HTTP Error404.2-NotFoundThe page you requested could not be displayed because of the settings for the list of ISAPI and CGI restrictions on web server.ErrorCode:0x800704ecHandlerPageHandlerFactory-ISAPI-4.0_32bit. reference:http://*.com/questions/2665578/404-2-error-after-installing-net-4-0
In IIS, enable .NET 4.
Here is the Iamge: