2013-02-08 126 views
2

我們按照dot dot nuke網站上安裝指南中給出的每個步驟爲DotNetNuke_Community_07.00.02。我們在虛擬機上有數據庫服務器,我們使用SQL服務器認證DNN網站問題

1)當我們點擊主頁上的編輯頁面時,它會重定向到主頁並且什麼都不會發生。 2)當我們檢查鉻控制檯它顯示

POST http://dnndev.me/DesktopModules/internalservices/API/controlbar/ToggleUserMode 401(未授權)

請任何人都可以告訴我,我錯了? 預先感謝您。

編輯

克里斯,我們有很多更多的安裝,我們刪除,並準確地將其設置爲你在上面,但沒有運氣給出。嘗試重新安裝aspnet_regiis -i以及但仍然沒有運氣。

確定是認證是問題。請注意,該機器是Windows 7機器,位於域中。

我們還檢查了應用程序池使用應用程序池標識,而不是LOCALSERVICE等。我們在另一臺機器上使用SQL Server,並且此時使用sa帳戶,這絕對是強大的。

請參閱失敗跡線中的以下摘錄。我也拋棄了警告之前的痕跡。

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)" 

回答

0

我已經看到這個錯誤報告了一點最近,雖然我不知道是什麼原因造成的。在我看來,也許你的ASP.NET設置關閉了IIS。你可以嘗試從命令行aspnet_regiis -i,看看是否解決了這個問題?您可能還需要檢查IIS的Windows配置,確保啓用了所有正確的選項。我已經在Windows中截取了我的IIS安裝選項,以查看是否可以幫助您。

IIS Settings

0

你可以更新你的web.config,並具有以下屬性修改模塊標籤。

<modules runAllManagedModulesForAllRequests="true" /> 

它爲我工作。希望這可以幫助。

0

有同樣的問題,試過here的所有解決方案。

Controlbar更改爲Ribbonbar工作對我來說。

0

如果問題沒有得到解決,甚至保持

<modules runAllManagedModulesForAllRequests="true" />

標籤在web.config中,然後檢查Newtonsoft.Json.dll是否出現在您的DotNetNuke的夾。

試試這個,它的工作原理!

6

我剛做了一個類似的問題今晚DNN 7.2.1但不是一個401我得到一個404/DesktopModules/internalservices/API/controlbar/ToggleUserMode.

我記得我剛剛積極發展的NewtonSoft.Json.dll最新版本的新項目。在我將這個文件恢復到與DNN 7.2.1一起出現的原始文件後,我又起來了。

+0

我有同樣的問題: - ( – domiSchenk 2014-03-06 12:31:04

+1

這是我的問題,我正在開發一個自定義模塊,我使用NuGet安裝Newtonsoft.Json的最新版本,在編譯和部署時覆蓋DNN中的依賴版本。從DNN安裝程序包中抓取了原始版本(並更改了我的自定義模塊中的參考文件),這一切都變得更好! – 2014-11-12 15:52:21

+1

有一個客戶有同樣的問題,感謝修復 – 2015-03-03 01:25:47

0

轉到主機設置, 從Controlbar更改爲Ribbonbar爲我工作。

+0

這並沒有提供問題的答案。或要求作者澄清,在他們的帖子下留下評論 - 你總是可以評論你自己的帖子,一旦你有足夠的[聲譽](http://stackoverflow.com/help/whats-reputation),你將能夠[評論任何帖子](http://stackoverflow.com/help/privileges/comment)。 – Benesh 2014-05-08 12:12:22

+0

@Benesh謝謝你,我與你同在。目前我的信譽不足,無法對任何帖子發表評論。 :) – MattOpen 2014-05-09 13:35:40