Skip to main content
Solved

Preview component


Raj Rozendaal
Sidekick
Forum|alt.badge.img+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.

Best answer by Erik Brink

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
View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

4 replies

Erik Brink
Moderator
Forum|alt.badge.img+5
  • Moderator
  • 497 replies
  • August 14, 2019
Maybe the file is already opened by someone else and locked by the file system?

Raj Rozendaal
Sidekick
Forum|alt.badge.img+3
  • Author
  • Sidekick
  • 12 replies
  • August 20, 2019
We still see the same result after a few days. Is there a specific account the web-service uses to preview documents?

Erik Brink
Moderator
Forum|alt.badge.img+5
  • Moderator
  • 497 replies
  • Answer
  • August 20, 2019
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

Raj Rozendaal
Sidekick
Forum|alt.badge.img+3
  • Author
  • Sidekick
  • 12 replies
  • August 23, 2019
Thanks Erik, this was the answer we needed. We will use this information and communicate this to our third party.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings