sac*_*hin 2 iis-7 dotnetnuke asp.net-4.5
我们按照dot net nuke site中安装指南中给出的每个步骤进行操作DotNetNuke_Community_07.00.02.我们在虚拟机上有数据库服务器,我们使用SQL服务器身份验证.
1)当我们点击主页上的编辑页面时,它会重定向到主页,没有任何反应.2)当我们检查镀铬控制台时,它会显示
POST http://dnndev.me/DesktopModules/internalservices/API/controlbar/ToggleUserMode 401(未经授权)
请有人告诉我我错了什么?先感谢您.
编辑
克里斯,我们安装了更多,我们删除了它,并按照你上面给出的那样设置它,但没有运气.尝试重新安装aspnet_regiis -i,但仍然没有运气.
可以肯定的是,身份验证是个问题.请注意,该计算机是Windows 7计算机并且位于域中.
我们还仔细检查了应用程序池使用应用程序池标识而不是LOCALSERVICE等.我们在另一台计算机上使用SQL Server,此时它使用sa帐户,这绝对是强大的.
请参阅Failed Trace中的以下摘录.我还抛弃了警告之前的痕迹.
ModuleName ManagedPipelineHandler
Notification 128
HttpStatus 401
HttpReason Unauthorized
HttpSubStatus 0
ErrorCode 0
ConfigExceptionInfo
Notification EXECUTE_REQUEST_HANDLER
ErrorCode The operation completed successfully. (0x0)
35. AspNetPipelineEnter Data1="DotNetNuke.HttpModules.Services.ServicesModule" 10:14:06.910
36. AspNetPipelineLeave Data1="DotNetNuke.HttpModules.Services.ServicesModule" 10:14:06.910
37. NOTIFY_MODULE_END ModuleName="Services", Notification="BEGIN_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 10:14:06.910
38. NOTIFY_MODULE_START ModuleName="IsapiFilterModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false" 10:14:06.910
39. NOTIFY_MODULE_END ModuleName="IsapiFilterModule",Notification="AUTHENTICATE_REQUEST",fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 10:14:06.910
40. NOTIFY_MODULE_START ModuleName="BasicAuthenticationModule",Notification="AUTHENTICATE_REQUEST",fIsPostNotification="false" 10:14:06.910 i AUTH_START AuthTypeSupported="Basic" 10:14:06.910
1. i AUTH_END 10:14:06.910
2. NOTIFY_MODULE_END ModuleName="BasicAuthenticationModule",
Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 10:14:06.910
3. NOTIFY_MODULE_START ModuleName="WindowsAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false" 10:14:06.910
4. i AUTH_START AuthTypeSupported="NT" 10:14:06.910
5. i AUTH_END 10:14:06.910
6. NOTIFY_MODULE_END ModuleName="WindowsAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 10:14:06.910
7. NOTIFY_MODULE_START ModuleName="AnonymousAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="false" 10:14:06.910
8. i AUTH_START AuthTypeSupported="Anonymous" 10:14:06.910
9. i AUTH_REQUEST_AUTH_TYPE RequestAuthType="Anonymous" 10:14:06.910
10. i AUTH_SUCCEEDED AuthType="NT", NTLMUsed="false", RemoteUserName="", AuthUserName="", TokenImpersonationLevel="ImpersonationImpersonate" 10:14:06.910
11. i USER_SET AuthType="", UserName="", SupportsIsInRole="true" 10:14:06.910
12. i AUTH_END 10:14:06.910
13. NOTIFY_MODULE_END ModuleName="AnonymousAuthenticationModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 10:14:06.910
14. NOTIFY_MODULE_START ModuleName="IsapiFilterModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotification="true" 10:14:06.910
15. i FILTER_AUTH_COMPLETE_START 10:14:06.910
16. i FILTER_AUTH_COMPLETE_END 10:14:06.910
17. NOTIFY_MODULE_END ModuleName="IsapiFilterModule", Notification="AUTHENTICATE_REQUEST", fIsPostNotificationEvent="true", NotificationStatus="NOTIFICATION_CONTINUE" 10:14:06.910
18. i FILE_CACHE_ACCESS_START FileName="D:\DNN\DesktopModules\internalservices\API\controlbar\ToggleUserMode", UserName="IUSR", DomainName="NT AUTHORITY" 10:14:06.910
19. i FILE_CACHE_ACCESS_END Successful="false", FileFromCache="false", FileAddedToCache="false", FileDirmoned="true", LastModCheckErrorIgnored="true", ErrorCode="The system cannot find the path specified.
(0x80070003)", LastModifiedTime="" 10:14:06.910
20. NOTIFY_MODULE_START ModuleName="HttpCacheModule", Notification="RESOLVE_REQUEST_CACHE", fIsPostNotification="false" 10:14:06.910
21. i OUTPUT_CACHE_LOOKUP_START 10:14:06.910
22. i OUTPUT_CACHE_LOOKUP_END Result="NOT_FOUND" 10:14:06.910
23. NOTIFY_MODULE_END ModuleName="HttpCacheModule", Notification="RESOLVE_REQUEST_CACHE", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 10:14:06.910
24. NOTIFY_MODULE_START ModuleName="UrlRoutingModule-4.0", Notification="RESOLVE_REQUEST_CACHE", fIsPostNotification="true" 10:14:06.910
25. AspNetPipelineEnter Data1="System.Web.Routing.UrlRoutingModule" 10:14:06.910
26. AspNetPipelineLeave Data1="System.Web.Routing.UrlRoutingModule" 10:14:06.910
27. NOTIFY_MODULE_END ModuleName="UrlRoutingModule-4.0", Notification="RESOLVE_REQUEST_CACHE", fIsPostNotificationEvent="true", NotificationStatus="NOTIFICATION_CONTINUE" 10:14:06.910
28. NOTIFY_MODULE_START ModuleName="StaticCompressionModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotification="false" 10:14:06.910
29. NOTIFY_MODULE_END ModuleName="StaticCompressionModule", Notification="MAP_REQUEST_HANDLER", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 10:14:06.910
30. NOTIFY_MODULE_START ModuleName="ManagedPipelineHandler", Notification="MAP_REQUEST_HANDLER", fIsPostNotification="false" 10:14:06.910
31. AspNetMapHandlerEnter 10:14:06.910
32. i HANDLER_CHANGED OldHandlerName="StaticFile", NewHandlerName="System.Web.Http.WebHost.HttpControllerHandler", NewHandlerModules="ManagedPipelineHandler", NewHandlerScriptProcessor="", NewHandlerType="System.Web.Http.WebHost.HttpControllerHandler, System.Web.Http.WebHost, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" 10:14:06.910
33. AspNetMapHandlerLeave 10:14:06.910
34. NOTIFY_MODULE_END ModuleName="ManagedPipelineHandler", Notification="MAP_REQUEST_HANDLER", fIsPostNotificationEvent="false", NotificationStatus="NOTIFICATION_CONTINUE" 10:14:06.910
35. NOTIFY_MODULE_START ModuleName="ManagedPipelineHandler", Notification="EXECUTE_REQUEST_HANDLER", fIsPostNotification="false" 10:14:06.910
36. AspNetPipelineEnter Data1="System.Web.ImplicitAsyncPreloadModule" 10:14:06.910
37. AspNetPipelineLeave Data1="System.Web.ImplicitAsyncPreloadModule" 10:14:06.910
38. i AspNetHttpHandlerEnter 10:14:06.910
39. i AspNetHttpHandlerLeave 10:14:07.363
40. r MODULE_SET_RESPONSE_ERROR_STATUS
Warning ModuleName="ManagedPipelineHandler", Notification="EXECUTE_REQUEST_HANDLER", HttpStatus="401", HttpReason="Unauthorized", HttpSubStatus="0", ErrorCode="The operation completed successfully.
(0x0)", ConfigExceptionInfo="" 10:14:07.363
41. i OUTPUT_CACHE_DISABLED 10:14:07.363
42. NOTIFY_MODULE_COMPLETION ModuleName="ManagedPipelineHandler", Notification="EXECUTE_REQUEST_HANDLER", fIsPostNotificationEvent="false", CompletionBytes="0", ErrorCode="The operation completed successfully.
(0x0)"
Run Code Online (Sandbox Code Playgroud)
我刚刚有了一个今晚类似的问题有DNN 7.2.1,但不是一个401我得到一个404上/DesktopModules/internalservices/API/controlbar/ToggleUserMode.
我记得我刚刚用最新版本积极开发了一个新项目NewtonSoft.Json.dll.在我将该文件恢复到原来的状态之后,DNN 7.2.1我又回来了.
| 归档时间: |
|
| 查看次数: |
4579 次 |
| 最近记录: |