2009-07-03 42 views
1

在全新安装WSS 3.0并创建新的Web应用程序和网站集后,导航到新创建的网站时收到以下错误消息:Sharepoint:在导航到新网站集的根目录时抛出COM异常

[COMException (0x80070005): Access is denied. 
] 
    System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) +557 
    System.DirectoryServices.DirectoryEntry.Bind() +44 
    System.DirectoryServices.DirectoryEntry.get_IsContainer() +42 
    System.DirectoryServices.ChildEnumerator..ctor(DirectoryEntry container) +36 
    System.DirectoryServices.DirectoryEntries.GetEnumerator() +36 
    Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.System.Web.IHttpModule.Init(HttpApplication app) +699 
    System.Web.HttpApplication.InitModulesCommon() +124 
    System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1162 
    System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +312 
    System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +133 
    System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +196 

回答

2

在我看来,似乎应用程序池帐户无权在您的Active Directory中执行查找。尝试使用域帐户而不是网络服务来运行它们。

1

你选择哪种类型的WSS安装(例如Standalone或Farm)?

由于安装失败DirectoryEntry.Bind它看起来像一个活动目录问题。你的服务帐户一切正常吗?你检查过事件查看器是否有任何错误?

+0

独立安装。 应用程序池作为“网络服务”运行 – 2009-07-03 15:50:57

1

你永远不应该使用网络服务作为应用程序池帐户,它只是一个用户已知的网站上运行的机器。在您的域中创建一个Active Directory用户以运行其下的应用程序池。然后,在中央管理网站的操作 - >安全配置 - >服务帐户下设置应用程序池的新用户

+0

@Colin:我敢肯定,如果您执行独立安装,这就是您所得到的,通常它工作正常。在服务帐户中没有选择,因为独立安装是为一切服务器设计的。 – 2009-07-06 09:14:04

相关问题