I deleted the entire configuration cache directory. Now What?

a)     To recreate the directory, you need to know the directory name (which is a GUID). You can find this GUID in the registry entry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14\Secure\ConfigDB. Copy the GUID from Id attribute and create the new directory: C:\ProgramData\Microsoft\SharePoint\Config\GUID. b)     In the directory you just created, create another…

Watermark for SharePoint 2013

#watermark { display: block; position: fixed; top: -10%; left: 105px; transform: rotate(-45deg); transform-origin: 50% 50%; opacity: .2; font-size: 80px; color: #d3d3d3; width: 480px; text-align: center; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -o-user-select: none; -moz-user-select: -moz-none; -khtml-user-select: none; -webkit-user-select: none; -o-user-select: none; user-select: none; } atermark { display:none; } </style> <script…

Disable Right Click in SharePoint 2015

<script language="javascript"> function Disable_Control_C() { var keystroke = String.fromCharCode(event.keyCode).toLowerCase(); if (event.ctrlKey && (keystroke == 'c' || keystroke == 'v')) { alert("Duplication of data is not allowed!"); event.returnValue = false; // disable Ctrl+C; document.addEventListener("keydown", function(e) { if (e.keyCode == 83 && (navigator.platform.match("Mac") ? e.metaKey : e.ctrlKey)) { e.preventDefault(); alert('captured'); } },…

Disable Clipboard

<script language="JavaScript"><!-- function clp_clear() { var content=window.clipboardData.getData("Text"); if (content==null) { window.clipboardData.clearData();} setTimeout("clp_clear();",1000);} --></script>

The file system cache on all FE’s on which the timer service is running needs to be cleared.

Stop the Windows SharePoint Services Timer service (Found in Windows Services) Navigate to the cache folder  In Windows Server 2008, the configuration cache is in the following location:  Drive:\ProgramData\Microsoft\SharePoint\Config  In Windows Server 2003, the configuration cache is in the following location:  Drive:\Documents and Settings\All Users\Application Data\Microsoft\SharePoint\Config  Locate the folder that…