Access to the path 'C:\ProgramData\Microsoft\SharePoint\Config\0814654b-d8ce-47ee-9488-244648f8ad98\' is denied

Respondido Access to the path 'C:\ProgramData\Microsoft\SharePoint\Config\0814654b-d8ce-47ee-9488-244648f8ad98\' is denied

  • יום שלישי 01 מאי 2012 21:36
     
     

    When I try to run the SharePoint Products and technology wizard on one of my WFE servers I get the errror:

    Failed to initiate the upgrade sequence.
    An exception of type System.IO.IOException was thrown.  Additional exception information: Access to the path 'C:\ProgramData\Microsoft\SharePoint\Config\0814654b-d8ce-47ee-9488-244648f8ad98\' is denied.
    System.IO.IOException: Access to the path 'C:\ProgramData\Microsoft\SharePoint\Config\0814654b-d8ce-47ee-9488-244648f8ad98\' is denied.
       at System.IO.DirectoryInfo.MoveTo(String destDirName)
       at Microsoft.SharePoint.Administration.SPProvisioningAssistant.MoveFileOrDirectory(FileSystemInfo fi, String newPath)
       at Microsoft.SharePoint.Administration.SPProvisioningAssistant.DeleteFileOrDirectory(FileSystemInfo fi)
       at Microsoft.SharePoint.Administration.SPConfigurationDatabase.InvalidateLocalConfigCache()
       at Microsoft.SharePoint.Upgrade.SPManager.BootStrap(Guid sessionId, SPUpgradeOperationFlags flags)
       at Microsoft.SharePoint.PostSetupConfiguration.UpgradeBootstrapTask.Run()
       at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

    I have also tried running:

    PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures

    but this also throws the same error.

    The upgrade runs fine on all my other WFE's.

    What causes this?

כל התגובות

  • יום שלישי 01 מאי 2012 21:52
     
     

    Are you local system administrator?


    백상하 - Stop hacking my blog http://blog.naver.com/agilepoint
    쉐어포인트 배움터 http://sharepointkorea.com

  • יום שלישי 01 מאי 2012 22:24
     
     
    Yes.  Logged in as sharepoint account with local admin rights.  Running both Configuration tool and the cmd prompt as administrator also.
  • יום רביעי 02 מאי 2012 06:57
    מנחה דיון
     
     

    Hi,

    Just try to giving full control to the "WSS_WPG" user on the folder where the cache.ini file is searched. (Normally in "C:\ProgramData\Microsoft\SharePoint\Config\GUID").

    Let us know your result


    Cheers, Hemendra-MCTS "Yesterday is just a memory,Tomorrow we may never see"

  • יום רביעי 02 מאי 2012 08:20
     
     

    I tried your suggestion but it didn't work.

    Any other ideas?

  • יום רביעי 02 מאי 2012 12:00
     
     תשובה

    Hi,

    That is the config cache for an SPS2010 install on Windows server 2008.

    If you have other servers in your farm I can only suggest that you check the permissions on in the same location on one of your other servers. They should match

    This article talks about the config cache

    http://blogs.msdn.com/b/jamesway/archive/2011/05/23/sharepoint-2010-clearing-the-configuration-cache.aspx

    If that does't help, have you thought about removing your server from the farm and readding, as this should recreate the cache GUID folder

    Regards,

    Neil

    • סומן כתשובה על-ידי motionpotion יום רביעי 02 מאי 2012 14:38
    •  
  • יום רביעי 02 מאי 2012 14:38
     
     

    Thank you for replying Spotty41.  

    The blog post you referenced worked in my case.