Issue:
I was working on timer job issue at dev environment and while clearing the cache.ini, mistakenly deleted the the config folder.
Unable to recall the GUID of that config folder.
Resolution:
- Stop the SharePoint 2010 Timer process.
- Open Windows Registry Editor
- Locate the CinfigDB key. Usually it must be in this place if you are using SharePoint 2010. [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\Secure\ConfigDB]
- You will see String Values entries for
- DSN :- Connection string for your configuration database.
- Id :- GUID of SharePoint configuration database. Copy this GUID.
- Goto [SharePoint InstallDrive]\ProgramData\Microsoft\SharePoint\Config\ folder. (ProgramData folder is hidden, make sure change windows folder options to make it visible to you)
- Create a folder and name it as the GUID (that you just copied from Registry).
- Go into this folder, create a text file and name it as Cache.ini.
- Now edit this Cache.ini, key in value 1. Save and close the file.
- Start the SharePoint 2010 Timer process.
- Do an IIS RESET
- Now check all your application pools are up and running. Otherwise, start them manually.
No comments:
Post a Comment