No http handler was found for request type 'GET' in dotnetnuke

╄→尐↘猪︶ㄣ 提交于 2019-12-25 04:26:14

问题


Dnn data base and files of dotnetnuke moved to new host but when starting it show error:

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

i have checked log file of dnn in \Portals\_default\Logs it shows error :

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)

i have checked url rewitemodule in iis . it has been installed . Domain name is correct to


回答1:


Handling *.aspx is not defined in iis. go into

 IIS manager --> Default Website --> handler Mapping

Check if you have a mapping for aspx... ideally you should see 2 mappings for .aspx...

you can also use the command line to get the info by the following:

C:\Windows\System32\inetsrv>appcmd list config "Default Web Site" -section:handlers >"give output txt file name"



来源:https://stackoverflow.com/questions/40072139/no-http-handler-was-found-for-request-type-get-in-dotnetnuke

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!