I'm hoping this is something that you can help me with. I have a VM running SharePoint Server 2019, on Windows Server 2019 (Standard).
I'm using a SharePoint "publishing" site but for whatever reason Image Renditions / BlobCache does not work.
Summary of the problem
- BlobCache entry is enabled in the web.config
- Publishing features are all fully enabled
- "Edit Renditions" menu appears in picture libraries
- No corresponding errors in either the ULS or IIS logs
but ...
- The defined blobcache location is always empty .. it is never populated
- The "Image Renditions" do not work, and always return the full image size
Things I've already tried
- I have performed numerous IISRESET and server reboots
- I have triple checked the web.config entry and compared it to known working configurations
- I have also triple checked the folder permissions - I can confirm that the application pool accounts and the built in .\WSS_WPG have "full control" to the target blob cache folder
- I tried changing the blobcache location and creating the folder in advance
- I tried changing the blobcache location and NOT pre-creating the folder (after loading the site the folder was created - with the correct permissions).
...
So what next?
I am at my wits end. I have done this dozens (hundreds?) of times in loads of different OS/SP permutations (MOSS 2007 / SP2010 / SP2013 / SP2016). This is the first time I've ever had a problem (beyond "turning it on").
oh .. one other thing
I do have one related error showing in the Event Viewer:
Source: Web Content Management Task Category: Publishing Cache Event ID: 5538 "An error occured in the blob cache. The exception message was 'Retrieving the COM class factory for remote component with CLSID {2B72133B-3F5B-4602-8952-803546CE3344} from machine SPSQL2019 failed due to the following error: 80070005 SPSQL2019.'."
This doesn't happen all the time, and seems to correspond to either a server reboot or IISRESET operation.
I believe that "80070005" means "Access Denied" and the CLSID relates to the Remote Automation DCOM component for Web Management.
I think this is SharePoint 2019 attempting to "configure" blob cache when IIS restarts .. so I've dismissed it for now as I've already manually done this in the web.config.
UPDATE - Permissions Issue? I tried adding the application pool account to the local "Administrators" group just to check .. and it worked!
Interesting the Event Viewer error also went away .. so I'm wondering if this is some new DCOM+ permission required in Server 2019 to allow creation of the Blob Cache folders?