we have this error on all Umbraco 7.3 installs on shared hosting. When we try to browse any image on website we get "Access is denied". Permissions are all set correctly.
Our hosting admin told us that ImageProcessor.Web is trying to run some async tasks trough cmd.exe and that it has no permissions to do that.
ImageProcessor - Access is denied for all images
Hi,
we have this error on all Umbraco 7.3 installs on shared hosting. When we try to browse any image on website we get "Access is denied". Permissions are all set correctly.
Our hosting admin told us that ImageProcessor.Web is trying to run some async tasks trough cmd.exe and that it has no permissions to do that.
When we add this configuration to web.config:
images are working but than we can't do any manipulation on images like: image.jpg?width=100, all we got is unprocessed image.
Can someone shed some light on this issue?
Thanks, Almir
Any idea?
Thanks!
Hi Almir,
Have you checked that the file permissions are correct? ImageProcesor should have permission to execute (it uses some optimisation tools)
Jeavon
Hi Almir,
The error is being thrown when the post processor tries to run some third party code via cmd.exe to further compress the output of the NET encoder.
You have two choices, Either turn off post processing via the config and serve larger files or find an alternative provider who isn't an idiot.
Azure and AWS both allow access to cmd.exe through shared hosting.
I hope that clears things up.
Cheers
James
is working on a reply...