I recently uninstalled MOSS 2007 from my development server and am trying to reinstall it.
However I get an error during Step 6 of the post-install Configuration Wizard, and this causes the provisioning of the Central Administration website to fail. I've tried uninstalling/installing a few times now and the same thing occurs each time.
The error is...
Failed to provision the SharePoint Central Administration Web Application.
An exception of type System.IO.DirectoryNotFoundException was thrown. Additional exception information: The system cannot find the path specified. (Exception from HRESULT: 0x80070003)
Going into the PSCDiagnostics log file I get the following relevant lines:
09/21/2011 15:29:56 8 INF Disabling Kerberos for the provisioned adminvs... 09/21/2011 15:29:59 8 ERR
Task adminvs has failed with an unknown exception 09/21/2011 15:29:59 8 ERR Exception: System.IO.DirectoryNotFoundException: The system cannot find the path specified. (Exception from HRESULT: 0x80070003) at System.DirectoryServices.Interop.UnsafeNativeMethods.IAds.SetInfo()
at System.DirectoryServices.DirectoryEntry.CommitChanges() at Microsoft.SharePoint.Administration.SPMetabaseObject.Provision() at Microsoft.SharePoint.Administration.SPProvisioningAssistant.CreateVirtualDirectories(SPIisWebSite site, Object[][] virtualDirectories) at Microsoft.SharePoint.Administration.SPProvisioningAssistant.CreateVirtualDirectories(SPIisWebSite site, Boolean adminSite) at Microsoft.SharePoint.Administration.SPProvisioningAssistant.DoAdditionalWssWebApplicationProvisioning(SPIisSettings[] settingsCollection, Boolean adminSite) at Microsoft.SharePoint.Administration.SPWebApplication.ProvisionIisWebSitesAsAdministrator() at Microsoft.SharePoint.Administration.SPWebApplication.ProvisionIisWebSites() at Microsoft.SharePoint.Administration.SPWebApplication.Provision()
at Microsoft.SharePoint.Administration.SPAdministrationWebApplication.Provision() at Microsoft.SharePoint.Administration.SPWebServiceInstance.Provision()
at Microsoft.SharePoint.PostSetupConfiguration.CentralAdministrationSiteTask.ProvisionAdminVs() at Microsoft.SharePoint.PostSetupConfiguration.CentralAdministrationSiteTask.Run() at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
Checking in IIS, I can see that an application pool and a site (both called SharePoint Central Administration v3) have been created. The folder on the filesystem for the site is created, but it is empty.
I get all the same problems if I try provisioning CA with psconfig, e.g.
psconfig -cmd adminvs -provision -port 9090 -windowsauthprovider onlyusentlm
Any ideas what might be happening?
UPDATE: Looking in the SharePoint ULS logs, I see the following relevant messages:
High Provisioning the metabase path, IIS://localhost/w3svc/154067106
Medium Invoking metabase method start.
Unexpected Unable to invoke metabase method start:
System.Reflection.TargetInvocationException:
Exception has been thrown by the target of an invocation. --->
System.Runtime.InteropServices.COMException (0x800710D8):
The object identifier does not represent a valid object.
(Exception from HRESULT: 0x800710D8)
--- End of inner exception stack trace ---
at System.DirectoryServices.DirectoryEntry.Invoke(String methodName, Object[] args)
at Microsoft.SharePoint.Administration.SPMetabaseObject.InvokeMethod(String method)