0

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

どんな助けでも大歓迎です。

4

2 に答える 2

1

正確なエラーについてのアイデアを得るには、次の手順を実行します。

  1. エラーが発生した Web アプリケーションの C:\inetpub\wwwroot\wss\VirtualDirectories\ に移動します。

  2. web.config ファイルを開いて編集し、customErrors モードを Off に設定します。

  3. 主なエラーが何であるかを確認してください。

エラーをお知らせください。

于 2012-11-19T10:54:19.087 に答える
0

このエラーは、使用しているログインに、sharepoint サイトにログインするための十分な権限がない場合に発生します。

ユーザーの権限を確認します。ログインする権限があるかどうか。

CA にアクセスできる場合は、このユーザーをサイト コレクション管理者として追加し、sharepoint サイトにアクセスできます。

お役に立てれば

于 2012-11-20T08:36:21.883 に答える