Microsoft.SharePoint.ApplicationPages 上的访问被拒绝 [英] Access denied on Microsoft.SharePoint.ApplicationPages

查看:71
本文介绍了Microsoft.SharePoint.ApplicationPages 上的访问被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我们的 MOSS Enterprise 环境中,我们遇到了一个奇怪的问题.人们有时会在尝试创建新网站集或导航到他们的 mysite 时收到此错误消息:

On our MOSS Enterprise environment, we have a strange problem. From time to time, people get this error message when they try to create a new site collection or navigate to their mysite:

'无法加载文件或程序集'Microsoft.SharePoint.ApplicationPages,版本=12.0.0.0,文化=中性,PublicKeyToken=71e9bce111e9429c' 或它的依赖项之一.访问是拒绝.'

‘Could not load file or assembly 'Microsoft.SharePoint.ApplicationPages, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. Access is denied.’

通过更新目录 c:\inetpub\wwwroot\wss\virtualdirectories\[中央管理文件夹]\(用于创建网站集)或 c:\inetpub\wwwroot\wss\virtualdirectories\[mysite文件夹]\.

The problem is fixed by updating the security of directory c:\inetpub\wwwroot\wss\virtualdirectories\[central admin folder]\ (for creating site collections) or c:\inetpub\wwwroot\wss\virtualdirectories\[mysite folder]\.

几个小时或几天后,问题又回来了,我们必须再次更新安全性.有没有其他人见过这种行为?

After a couple of hours or days, the problem returns and we have to update the security again. Has anyone else seen this behavior before ?

更新(28/4/2011):

UPDATE (28/4/2011):

嗯……我注意到这种情况发生在应用程序池超时之后……主要是在不使用 SharePoint 的晚上.我还注意到通过打开 web.config 文件,添加一个空间并保存它(我猜这会回收应用程序池),问题消失了.

Well... what I've noticed is that this happens after the application pool has timed out... mostly at night when SharePoint is not being used. I've also noticed that the problem disappears by opening the web.config file, adding a space and saving it (I guess this recycles the application pool).

作为一种解决方法,我每 15 分钟模拟对每个 Web 应用程序中的页面的页面请求,并且它可以工作(它使应用程序池保持活动状态).这不是一个真正的解决方案,但至少用户得到了帮助.

As a workaround I simulate a page request to a page in each web application every 15 minutes and it works (it keeps the application pool alive). It's not a real solution, but at least the users are helped.

我们有一个 MS 案例来解决这个问题,但没有找到答案.由于我们计划升级到 2010 年,因此我们停止在此问题上投入时间并应用上述解决方法,直到 2007 年环境逐步淘汰.

We had a case with MS for this problem but didn't find an answer. Because we are planning an upgrade to 2010, we stopped investing time in this issue and apply the mentionned workaround until the 2007 environment is phased out.

推荐答案

我最近与遇到同样问题的人取得了联系.他向微软开了一个案例,他们建议将 Microsoft.SharePoint.ApplicationPages.dll 的副本放在 GAC 中.这可能不是最好的解决方案,但可以解决问题.

I got in contact recently with someone that had the same problem. He opened a case with Microsoft and they suggested to put a copy of Microsoft.SharePoint.ApplicationPages.dll in the GAC. It may not be the best solution, but it fixes the issues.

这篇关于Microsoft.SharePoint.ApplicationPages 上的访问被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆