Wednesday, July 27, 2016

Clear Cache for SharePoint desinger

Delete all files from the below locations.


%USERPROFILE%\AppData\Local\Microsoft\WebsiteCache

%APPDATA%\Microsoft\Web Server Extensions\Cache

The below location go to manually: 

%APPDATA%\Roaming\Microsoft\SharePoint Designer\ProxyAssemblyCache





uninstall assemblies from GAC - Access Denied

On a SharePoint 2010 development server running Windows Server 2008 R2, I had to uninstall some assemblies in the GAC and keep getting access denied, when trying to delete them.
So, looking for at a way to do this, I had to change a Local Security Policy, in order to allow them to be deleted:
* Open Local Security Policy MMC
* Goto Security Settings -> Local Policies -> Security Options
* Locate “User Account Control: Run all administrators in Admin Approval” and change the setting from Enabled to Disabled
* Reboot and now the assemblies can be deleted
IMPORTANT! Never ever do this on a production system, and always turn it back on afterwards.