尝试在Windows服务器中打开sharepoint时出错

时间:2012-11-19 07:33:36

标签: sharepoint iis runtime-error

当我尝试在Windows服务器中打开sharepoint时,会出现以下错误: -

Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed.

Details: To enable the details of this specific error message to be viewable on the local server machine, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "RemoteOnly". To enable the details to be viewable on remote machines, please set "mode" to "Off".

任何人都可以帮我这个。

以下是错误: -

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[COMException (0x80070005): Access is denied.
]
   System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) +377678
   System.DirectoryServices.DirectoryEntry.Bind() +36
   System.DirectoryServices.DirectoryEntry.get_IsContainer() +31
   System.DirectoryServices.ChildEnumerator..ctor(DirectoryEntry container) +26
   System.DirectoryServices.DirectoryEntries.GetEnumerator() +25
   Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.System.Web.IHttpModule.Init(HttpApplication app) +471
   System.Web.HttpApplication.InitModulesCommon() +65
   System.Web.HttpApplication.InitModules() +43
   System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +729
   System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +298
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +289

感谢任何帮助。

2 个答案:

答案 0 :(得分:1)

执行以下操作以了解确切的错误:

  1. 转到您遇到错误的网络应用程序的C:\ inetpub \ wwwroot \ wss \ VirtualDirectories \。

  2. 打开并编辑web.config文件,并将customErrors模式设置为Off。

  3. 查看主要错误是什么。

  4. 让我们知道错误。

答案 1 :(得分:0)

当您使用的登录没有足够的权限登录到sharepoint站点时,会发生此错误。

检查用户的权限,是否具有登录权限?

如果您能够访问CA,则可以将此用户添加为网站集管理员,并访问sharepoint网站。

希望这有帮助