Solved

Preview component

  • 14 August 2019
  • 4 replies
  • 249 views

Userlevel 1
Badge +3
When we use the preview component in the web GUI we don' t get the result we expect. Instead we get an error which we can't explain. Do we need to adjust some security settings? To me it looks like the preview component needs to access local file storage.

icon

Best answer by Erik Brink 20 August 2019, 10:47

View original

4 replies

Userlevel 5
Badge +5
Maybe the file is already opened by someone else and locked by the file system?
Userlevel 1
Badge +3
We still see the same result after a few days. Is there a specific account the web-service uses to preview documents?
Userlevel 5
Badge +5
We enabled file caching of the preview component in our Web GUI a few releases ago. The preview component now takes a dependency on the "App_Data" directory within the directory the GUI is deployed to on the web-server.

To perform the file caching the IIS Application Pool user(Identity) needs read and write rights to the "App_Data" directory.



This was already needed for using a file upload control storing a uploaded file temporary until the record is saved.

Did this solve your problem?

Regards, Erik
Userlevel 1
Badge +3
Thanks Erik, this was the answer we needed. We will use this information and communicate this to our third party.

Reply