[Html2PdfConverter] Error uploading binaries in administration page

[Html2PdfConverter] Error uploading binaries in administration page

  
Forge Component
(52)
Published on 30 Oct by Guilherme Pereira
52 votes
Published on 30 Oct by Guilherme Pereira
Hi. I am getting a permission denied error when uploading the binaries in the administration page:

Hi Leo,

Never happened to me not even on my personal environment.

Are you running under some impersonate specific configuration? 

Maybe the user from the application pool needs permissions on the Platform Server\running folder.

Cheers,
Hello Guilherme.

The error happened during a proof of concept. It was on a humble Windows Server 2012, with nothing special on it regarding configurations or policies.
I don't understand why should I change privileges on the operating system just to download a pdf...

I simply downloaded the previous version and continued my proof of concept without any problems.
Hello,

We experience the same "Access" error as mentioned above. Outsystems platform (on premise) 9.0.0.23, running on Windows 2012 (and MySQL). HTML2PdfConverter used is most recent version (just downloaded from forge).

I will try the solution mentioned above...
or just try to copy the installation files to the running path (c:\Program Files\Outsystems\Platform Server\running\HtmlToPdfConverter.158456810\binaries) 

Cheers,
 

Hello,

Still experiencing the same Acces to path error :-(, cannot get it to work. Installing a previous version does not make a difference. Copy the files directly to the directory on the server isn't working either.

Any help on how to solve this will be greatly appreciated.

Thanks is advance,

Bert  

Hello Community,

Fixed it by changing the security settings/privileges on the Outsystems platform running directory.
Still think it is a bit odd that manually changing security privileges appears to be necessary anyway.

Cheers,

Bert
I'm having the same problem.  Why do we have to change server permissions or include dll's in order to install an extension?  Shouldn't this be included in the extension?
Hi Rebecca,

The changes in the mechanism had two goals. One was to support the growing community of customers and developers that use the OutSystems Platform in a Java/Linux environment and in those environements the executables are different ones and the extension didn't work.

The second main goal was to decrease the size of the extension and therefore reduce the footprint of the application and reduce publication times. The recent versions of wkhtml to pdf only for windows exceed 100MB of executables and dlls. This size would make impracticable the upload e republish of the application (not to mention that these were copied to all consumers increasing a lot the space taken on the harddrive).

Regarding this specifc problem today I personaly saw a case where it occured and it was because the espace had the runas settings using a user that didn't have permission to write on the filesystem. If that's the case I'd recommend that you give permission to the user or use the default OSPlatform user.

If you wish to use a version with everything included you can always customize your own extension or use one of the older versions (1.0.5 or bellow). if it suits your use case you should be fine with these older versions but the risk in using these versions that package discontinued wkhtml binaries is that you have no guarantee that they will work
on more recent html because the webkit engine is also an old one.

Cheers,
Guilherme
I have just installed HTML2PDFConverter and receive the following error when attempting to execute. Any help appreciated.  Running on OSP 9.0.1.3 SS 9.0.1.5



Hi all, 


facing the same issue, 

'D:\Program Files\OutSystems\Platform Server\running\HtmlToPdfConverter.0235023358\binaries' is denied'

It is very strange, on one of the server I was able to enable to upload the files without any problem, however on other 3 servers I am getting this error. 

I asked the Hosting team to look at this issue, and they informed me that, on 3 server the folder binaries does not exist, only bin or bin2. 

How to fix this issue?

all help is welcome. 


PS: Servers are hosted in house (on-Prem installation) , platform version is 10. XXX


thanks, Walid 


Hi all. 

Here in Estfeta, we´re presenting the same issue... 

Someone have the answer ? 


Best regards. 


Hi Ernesto,


As you’re using a PaaS environment you cannot upload the binaries to the running dir.

You need to set that option to false and define the path where the runtime user can write (by default it should b d:\user)

You can check this thread for more info

Cheers,

Guilherme

Guilherme Pereira wrote:

Hi Ernesto,


As you’re using a PaaS environment you cannot upload the binaries to the running dir.

You need to set that option to false and define the path where the runtime user can write (by default it should b d:\user)

You can check this thread for more info

Cheers,

Guilherme


Hi Guilherme can you tell me in which part that option appears. 

Hi Ernesto,

Any version from 1.1.9 or newer has that option.

If possible update to the latest. 


Cheers,

Guilherme