在dotnetnuke中找不到请求类型'GET'的http处理程序

时间:2016-10-16 15:44:36

标签: asp.net iis dotnetnuke

Dnn数据库和dotnetnuke文件移动到新主机但在启动时显示错误:

The page cannot be displayed because an internal server error has occurred.

我在\Portals\_default\Logs中检查了dnn的日志文件,显示错误:

2016-10-16 19:09:25,763 [WIN-MA182KN2LA7][Thread:7][ERROR] DotNetNuke.Entities.Urls.UrlRewriterUtils - System.Web.HttpException (0x80004005): Error executing child request for ~/Default.aspx. ---> System.Web.HttpException (0x80004005): No http handler was found for request type 'GET'
   at System.Web.HttpApplication.MapIntegratedHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig, Boolean convertNativeStaticFileModule)
   at System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm)
   at System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm)
   at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm)
   at DotNetNuke.Entities.Urls.AdvancedUrlRewriter.Handle404OrException(FriendlyUrlSettings settings, HttpContext context, Exception ex, UrlAction result, Boolean transfer, Boolean showDebug)
   at DotNetNuke.Entities.Urls.AdvancedUrlRewriter.ProcessRequest(HttpContext context, Uri requestUri, Boolean useFriendlyUrls, UrlAction result, FriendlyUrlSettings settings, Boolean allowSettingsChange, Guid parentTraceId)

我在iis中检查了url rewitemodule。它已经安装好了。

域名正确无误

1 个答案:

答案 0 :(得分:0)

iis中未定义处理userData。进入

*.aspx

检查你是否有aspx的映射...理想情况下你应该看到.aspx的2个映射...

您还可以使用命令行通过以下方式获取信息:

C:\ Windows \ System32 \ inetsrv> appcmd list config“默认网站”-section:handlers>“给输出txt文件名”

Check that handler is defined or not