2014-04-14 129 views
1

我们刚刚接管了一个基于Sitecore的站点,Windows事件日志显示有人登录管理员时发生异常。Sitecore应用程序访问被拒绝

有人知道如何解决这个问题吗?看起来他们错过了许可,但我无法弄清楚我需要做些什么来修复它。

Exception information: 
    Exception type: AccessDeniedException 
    Exception message: Application access denied. 
    at Sitecore.Diagnostics.Assert.HasAccess(Boolean accessAllowed, String message) 
    at Sitecore.Diagnostics.Assert.CanRunApplication(String application) 
    at Sitecore.Shell.Applications.Analytics.TrackingField.TrackingFieldDetailsPage.OnLoad(EventArgs e) 
    at System.Web.UI.Control.LoadRecursive() 
    at System.Web.UI.Control.LoadRecursive() 
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 



Request information: 
    Request URL: http://www.SITENAME.com/sitecore/shell/~/xaml/Sitecore.Shell.Applications.Analytics.TrackingFieldDetails.aspx?db=master&id={31D7150F-352B-4800-8FDF-C90CDAD17D67}&la=en&vs=7&di=1&fld={B0A67B2A-8B07-4E0B-8809-69F751709806}&scDisabled=true 
    Request path: /sitecore/shell/~/xaml/Sitecore.Shell.Applications.Analytics.TrackingFieldDetails.aspx 
    User host address: 195.138.205.241 
    User: sitecore\USERNAME 
    Is authenticated: True 
    Authentication Type: 
    Thread account name: NT AUTHORITY\NETWORK SERVICE 

Thread information: 
    Thread ID: 136 
    Thread account name: NT AUTHORITY\NETWORK SERVICE 
    Is impersonating: False 
    Stack trace: at Sitecore.Diagnostics.Assert.HasAccess(Boolean accessAllowed, String message) 
    at Sitecore.Diagnostics.Assert.CanRunApplication(String application) 
    at Sitecore.Shell.Applications.Analytics.TrackingField.TrackingFieldDetailsPage.OnLoad(EventArgs e) 
    at System.Web.UI.Control.LoadRecursive() 
    at System.Web.UI.Control.LoadRecursive() 
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 
+0

我不太确定,但它似乎与DMS有关。所以可能有一些代码尝试更新一些跟踪信息,或者它可能只是Sitecore无法访问它。 Sitecore支持部门可能会更轻松地查看它。 – Holger

+3

您是否已检查文件夹权限(在Windows中)以确保NETWORK SERVICE帐户具有修改[安装指南]中指定的权限(http://sdn.sitecore.net/upload/sitecore6/65/installation_guide_sc65-a4。 PDF)。可能值得重新设置它们,以确保不会错过任何东西。 – jammykam

+0

“HasAccess”方法是Sitecore检查项目权限的方式。它看起来像用户尝试运行分析应用程序时,您正在运行应用程序项目上的Sitecore权限问题。该应用程序将在核心下:/ sitecore/content/applications/analytics。 –

回答

0

这似乎是与托管您的网站的Web服务器的安全相关的问题。

Open the IIS manager in the server 
Select your site 
Go to its advanced settings 
Under Process model, change the value of the field Identity to Network Service 

If you are still experiencing a problem, open the command prompt and enter: 
net localgroup "Performance Monitor Users" /add "NETWORK SERVICE" 

This will give more access to the sitecore user in the server 
1

这可能是你最近的一些配置的变化所致。 执行IIS重置或重新启动您的机器。 它应该工作。