Uninstalling Project Server from a farm? Don’t forget to run PSConfig!

If you have Project Server 2007 installed on a farm on top of Office SharePoint Server 2007 then if you uninstall Project Server the final screen will remind you to run the SharePoint Products and Technologies Configuration Wizard (PSconfig - where PS stands for post setup, not Project Server).  Failure to run the wizard will leave you in a state where SharePoint will not work and if you look in InetMgr you may be shocked to see all your web sites gone!  Don't panic - just run the wizard and all will be well.  Well almost all.  If you have set host headers on sites I understand you may need to re-set these as the uninstall un-sets these.  We are investigating a better way to ensure a more reliable uninstall experience.

Technorati Tags: Project Server 2007

Comments (10)

  1. kent.bair says:

    Unfortunately rerunning PSConfig only leads to another error. During Configuration step “5 of 9” PSConfig fails.  The log file shows:

    10/04/2007 10:47:24  8  INF                    Calling SPServiceInstance.Provision for instance Microsoft.Office.Excel.Server.ExcelServerSharedWebServiceInstance, service Microsoft.Office.Excel.Server.ExcelServerSharedWebService

    10/04/2007 10:47:24  8  ERR                    Task services has failed with an unknown exception

    10/04/2007 10:47:24  8  ERR                    Exception: System.ArgumentException: Error during encryption or decryption. System error code 997.

      at Microsoft.SharePoint.Administration.SPCredentialManager.DecryptWithMasterKey(Byte[] rgbEncryptedPassphrase)

      at Microsoft.SharePoint.Administration.SPEncryptedString.GetSecureStringValue()

      at Microsoft.SharePoint.Administration.SPEncryptedString.get_SecureStringValue()

      at Microsoft.SharePoint.Administration.SPProcessIdentity.get_SecurePassword()

      at Microsoft.Office.Server.Administration.SharedResourceProvider.get_SecurePassword()

      at Microsoft.Office.Server.Administration.SharedWebServiceInstance.CreateSharedWebServiceApplicationPool(SharedResourceProvider srp)

      at Microsoft.Office.Server.Administration.SharedWebServiceInstance.Synchronize()

      at Microsoft.Office.Excel.Server.ExcelServerSharedWebServiceInstance.Synchronize()

      at Microsoft.Office.Server.Administration.SharedWebServiceInstance.Provision()

      at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInstanceInConfigDB(Boolean provisionTheServiceInstanceToo, String serviceInstanceRegistryKeyName, Object sharepointServiceObject)

      at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInstances(Boolean provisionTheServiceInstancesToo, String serviceRegistryKeyName, Object sharepointServiceObject)

      at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServices(Boolean provisionTheServicesToo)

      at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.Run()

      at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

  2. Hi Kent,

    See http://support.microsoft.com/kb/927156 for a description and potential workaround for this error message.

    Best regards,


  3. Srivatsan says:

    I got a COM Exception when i run the PSConfig. I tried repairing Sharepoint server also it didnt work. Also it took away the wss folder in inetpub and all my sites are gone. is there a way to tackle this???

  4. Srivatsan says:

    I received the following error even after uninstalling and reinstalling sharepoint server

    An exception of type System.Runtime.InteropServices.COMException was thrown.  Additional exception information: The system cannot find the path specified.

    System.Runtime.InteropServices.COMException (0x80070003): 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.TaskCommon.BuildServerRoleSingleServerTaskExecution(Int32& nextExecutionOrder, TaskBase task)

      at Microsoft.SharePoint.PostSetupConfiguration.StandAloneConfigurationTask.Validate(Int32 nextExecutionOrder)

      at Microsoft.SharePoint.PostSetupConfiguration.SetupTask.Validate(Int32 nextExecutionOrder)

      at Microsoft.SharePoint.PostSetupConfiguration.TasksQueue.Validate(Boolean useDefaultExecutionOrder)

  5. Hi Srivatsan,

    Not sure why you are seeing this – but you might need to open a support incident to get to the root of this issue. PSConfig should get all your web sites back once it runs succesfully.

    Best regards,


  6. Peter Hurth says:

    Uninstalling Project Server 2007 from my MOSS server did exactly as you describe above – nothing of my production SharePoint system remains in IISAdmin (panic!). Following the additional step of re-running psconfig is not working to bring everything back to life. I receive the following error when trying to reconnect to the existing farm: "The username you entered must be the same as the database access account for the server farm you wish to join. Either choose NT AUTHORITYNETWORK SERVICE as the username or choose a different database name"

    Chosing a domain name results in the above message. NETWORK SERVICE can’t be chosen because a) it’s not a domain or local security account, and b) it has no password.


    Thanks in advance,


  7. Hi Pete,

    I’d suggest you open a support incident to get help with this one.  I think NT AUTHORITYNETWORK SERVICE might get used as the farm administrator in a single server "one-click" installation – but I am not aware the right sytax to enter the account to get this working again.  Does entering NT AUTHORITYNETWORK SERVICE work?  Does it get recognized as a special account?

    Best regards,


  8. Josh says:

    I uninstalled PS 2007 before reading this blog, it seemed pretty straight forward that you would have to re-run the config wizard.  I got all my SP sites back by doing so… Luckily, I have only done this in STG.

    A few things to note,

    1. Had to re-deploy all of my solutions, WSPs. (I do not allow solutions to be deployed any other way)

    2. Had to start all services, like Osearch, Help search…

    3. My SSP seems to be hosed, I am unable reset all crawled content, and search admin has errors all over it.

    4. My User Profile import is hosed as well, get an error, unable to connect to SQL DB.

    Still working on sorting this all out, as I will some day have to do all this in PRD.

  9. Kalyan says:

    After Uninstall Everything configured but When i tried to click project Documents i am getting error is there any chance to Get my data from Project documents folder .

  10. Kalyan, if the site still exists then you should be able to navigate directly to it.  It may just be the link redirection broken.

    Best regards,


Skip to main content