System.Runtime.InteropServices.COMException (0×80070003): The system cannot find the path specified
Posted on 09. Dec, 2009 by admin in IIS, Sharepoint
I changed the name of my sharepoint server and since am using a single server, I needed to create a new configuration database.
Disconnecting from sharepoint farm succeeds but when running the configuration wizard again to create a new servers farm and filling the Central Admin site port and authentication type I got the following error message:
An exception of type System.Runtime.InteropServices.COMException was thrown. Additional exception information: The system cannot find the path specified.
In the PSCDiagnostics logs i got the following error posted:
An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown. Additional exception information: An error has occurred while validating the configuration settings. An exception of type System.Runtime.InteropServices.COMException was thrown. Additional exception information: The system cannot find the path specified.
Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException —> System.Runtime.InteropServices.COMException (0×80070003): The system cannot find the path specified.
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyCollection.Contains(String propertyName)
at Microsoft.SharePoint.PostSetupConfiguration.WebSiteCollection.GetEntry(PropertyCollection properties, String entry)
at Microsoft.SharePoint.PostSetupConfiguration.WebSiteCollection.GetFileSystemPath(DirectoryEntry entry)
at Microsoft.SharePoint.PostSetupConfiguration.WebSiteCollection.TryGetIisMetaData(DirectoryEntry entry)
at Microsoft.SharePoint.PostSetupConfiguration.WebSiteCollection.BuildWebSiteCollection()
at Microsoft.SharePoint.PostSetupConfiguration.WebSiteCollection..ctor()
at Microsoft.SharePoint.PostSetupConfiguration.CentralAdministrationSiteTask.Validate(Int32 nextExecutionOrder)
at Microsoft.SharePoint.PostSetupConfiguration.TasksQueue.Validate(Boolean useDefaultExecutionOrder)
— End of inner exception stack trace —
at Microsoft.SharePoint.PostSetupConfiguration.TasksQueue.Validate(Boolean useDefaultExecutionOrder)
at Microsoft.SharePoint.PostSetupConfiguration.PsconfigBaseForm.ValidateConfigurationData()
at Microsoft.SharePoint.PostSetupConfiguration.PsconfigBaseForm.TryValidateConfigurationData()
I opened IIS Manager and found the Old Sharepoint IIS Sites still exist. For some reason after disconnecting from the sharepoint farm, the IIS Sites were not deleted!!
I deleted all the sites and their Virtual Directories and run the configuration wizard again but also same issue!!
A restart to the server after deleting the IIS sites and their Virtual directory fixed the issue and Configuration wizard run successfully.
Hope this helps
