PDF doesn't export

I am using libreoffice to export to pdf on a website which works perfectly fine on the local sandbox environment with Visual Studio but does not work on the published site on the server. I am using Blazor with IIS. I have already set the environment variable. Is there anything else that needs to be modified or permissions need to be changed? Thank you!

This is the guide - How to use the Ask site? - #3 by Hrbrgr

Obviously, as “it doesn’t seem to work”, or you wouldn’t ask here.
.
You may start with improving your question. I’m not sure, if this is a problem with LibreOffice or more about configuration of your IIS, but from my experience this is a bit more complicated than “I have already set the environment variable”. By the way: Wich variable? DoWhatIMean=TRUE
.
On the LO-part: Is this a command-line job, or do you have an active Writer wich handles conversion? By macro?