Hi Leonardo
When using the `PrintToPDF_Advanced` server action from my application the generated PDF presents and IIS error screen with HTTP 404.0 and it has converted the URL to "https://localhost.outsystemsenterprise.com/PrintStuff"
Any reason it would replace the subdomain with localhost?
If I paste the URL I wanted to print into the Demo application it prints from there.
@Leonardo Fernandes, thanks for the help in troubleshooting and identifying the problem as fat-finger mistake.
Oh, how much pain that extra forward slash has caused me! ^_^
It does the same (HTTP 404 when using the server action) for both relative and absolute URLs
Hi Hanno.
Are you using deployment zones by any chance? Ultimate PDF will use the deployment zone address to retrieve the PDF screen using an internal network address. I suspect your deployment zone is configured using "localhost.outsystemsenterprise.com" as its address.
You can also install Ultimate PDF Management and download a troubleshooting zip file, to better understand why this address is being used.
Thanks, Leonardo
We don't have deployment zones. It is a default PaaS setup, no weird configs.
I've downloaded the troubleshooting zip file but couldn't find anything anything obvious at first glance. I'll dig deeper to see why this is happening.