Posted on 04/07/2024 15:08:55
Hi Adrian
We need a copy of the entire solution in our dev environment and we need it reproduced there. We do not have access to your host.
I am pretty sure this is a server related issue - but we cannot debug this for you if it is not in our environment (and my guess would be that it cannot be reproduced here). But we have to test that.
When googling the "no such file or directory" exception, what I see is missing permissions from the windows box user executing the request. So if you see this exception on a website, that website runs in an app-pool with an identity - and that identiy do not have sufficient permissions to write to some folder on your box - could be temp, could be somewhere under /files solution.
It can be broken permission tree in your folders.
Depending on what user your app pool is running under (default is app pool identity), you can try to switch the app pool to "network service" or "System" which has elevated previliges. If that makes it works you have verified it is a permissions issue.
Also on the window box, you have the windows eventviewer which could reveal the underlying cause - pls. look at that.
The reason you might only see this for webp is that webp is using an other encoder than jpg and gif - the webp encoder is a google based code base, and it might use a different temp folder or something to handle the encoding....
BR Nicolai