none
Error Config_DB attach RRS feed

  • Question

  • Hi Guys,

    Hope you could help me with my problem. I detach my Config_DB in my sharepoint farm, when i tried to attached it i got this error

    “Value cannot be null.  Parameter name: str”

    I used this stsadm command to attach

     stsadm -o setconfigdb -connect -databaseserver kraspsqltest\mosstest -databasename wss_config -farmuser "farmaccountname" -farmpassword "farmpassword"

    i saw also this in the logs

    09/16/2011 15:15:27  1  ERR                              An exception of type System.InvalidOperationException was thrown.  Additional exception information: Operation is not valid due to the current state of the object.
    System.InvalidOperationException: Operation is not valid due to the current state of the object.
       at Microsoft.SharePoint.PostSetupConfiguration.WebSiteCollection.GetServerBindings(PropertyCollection properties, Boolean& secure, String& ip, Int32& port, String& host)
       at Microsoft.SharePoint.PostSetupConfiguration.WebSiteCollection.TryGetIisMetaData(DirectoryEntry entry)

     Solution Deployment : Error : Removing files for template.wsp from IIS site MySitesWeb in WebAppUnextend. Vdir - D:\Web\MySitesWeb. ErrorMessage - Error: The web.config is invalid on this IIS Web Site: D:\Web\MySitesWeb\web.config. 
    Updating SPPersistedObject SolutionOperationStatus Name=SolutionOperationStatus. Version: 157039 Ensure: False, HashCode: 24129853, Id: ade1693d-36fe-43e1-a45d-0d4cc3e9f73b, Stack:    at Microsoft.SharePoint.Administration.SPPersistedObject.BaseUpdate()     at Microsoft.SharePoint.Administration.SPSolutionLanguagePack.SetOperationResult(SPSolutionOperationResult opResult, String msg, SPWebApplication webApp, Int32 updatesPerServer)     at Microsoft.SharePoint.Administration.SPSolutionLanguagePack.OnUnextendWebApp(Guid webAppId, String[] vdirs, String[] serverComments, Boolean webAppUnprovision)     at Microsoft.SharePoint.Administration.SPSolution.RetractSolutions(SPFarm farm, Guid webAppId, String[] vdirs, String[] serverComments, Boolean lastVdir)     at Microsoft.SharePoint.Administrati... 
    ...on.SPWebApplication.Unprovision(Boolean deleteWebSites)     at Microsoft.SharePoint.Administration.SPWebServiceInstance.Unprovision()     at Microsoft.SharePoint.Administration.SPServer.Unprovision()     at Microsoft.SharePoint.Administration.SPFarm.Unjoin()     at Microsoft.SharePoint.Administration.SPFarm.Join()     at Microsoft.SharePoint.StsAdmin.SPSetConfigDb.Run(StringDictionary keyValues)     at Microsoft.SharePoint.StsAdmin.SPStsAdmin.RunOperation(SPGlobalAdmin globalAdmin, String strOperation, StringDictionary keyValues, SPParamCollection pars)     at Microsoft.SharePoint.StsAdmin.SPStsAdmin.Main(String[] args)   
    Updating SPPersistedObject SPWebServiceInstance. Version: 157047 Ensure: False, HashCode: 14976165, Id: 6db832cb-e7a5-4ac2-9814-74a7ac56c1f8, Stack:    at Microsoft.SharePoint.Administration.SPPersistedObject.BaseUpdate()     at Microsoft.SharePoint.Administration.SPWebServiceInstance.Unprovision()     at Microsoft.SharePoint.Administration.SPServer.Unprovision()     at Microsoft.SharePoint.Administration.SPFarm.Unjoin()     at Microsoft.SharePoint.Administration.SPFarm.Join()     at Microsoft.SharePoint.StsAdmin.SPSetConfigDb.Run(StringDictionary keyValues)     at Microsoft.SharePoint.StsAdmin.SPStsAdmin.RunOperation(SPGlobalAdmin globalAdmin, String strOperation, StringDictionary keyValues, SPParamCollection pars)     at Microsoft.SharePoint.StsAdmin.SPStsAdmin.Main(String[] args)   
    The  instance of the  service was unprovisioned successfully. 
    Attempting to unprovision the WSS_Administration instance of the WSS_Administration service. 
    Updating SPPersistedObject SPWebServiceInstance Name=WSS_Administration. Version: 156886 Ensure: False, HashCode: 15842089, Id: ee1cda48-94fb-4239-9e68-4277c400a555, Stack:    at Microsoft.SharePoint.Administration.SPPersistedObject.BaseUpdate()     at Microsoft.SharePoint.Administration.SPWebServiceInstance.Unprovision()     at Microsoft.SharePoint.Administration.SPServer.Unprovision()     at Microsoft.SharePoint.Administration.SPFarm.Unjoin()     at Microsoft.SharePoint.Administration.SPFarm.Join()     at Microsoft.SharePoint.StsAdmin.SPSetConfigDb.Run(StringDictionary keyValues)     at Microsoft.SharePoint.StsAdmin.SPStsAdmin.RunOperation(SPGlobalAdmin globalAdmin, String strOperation, StringDictionary keyValues, SPParamCollection pars)     at Microsoft.SharePoint.StsAdmin.SPStsAdmin.Ma... 
    ...in(String[] args)

    Any idea, what is the problem here?


    ®©™½¼
    • Edited by jwill92 Friday, September 16, 2011 10:31 AM
    Friday, September 16, 2011 10:29 AM

All replies

  • Hi jwill92,

     

    did you find a Solution for this Problem?

    I am getting the same Error Message everytime i run this STSADM Command.

     

    Thanks for help...

    Thursday, February 2, 2012 11:06 AM