Announcements
Hello,
I was wondering if anyone else came across this issue when generating .pdf files out of GP? It only happens every once in a while while invoicing - and the folder does have the proper permissions:
Thx!!
As a side note... nobody should have the ability to create documents in the GP program folder..
Sure, you need to have full access to get the program working properly, but this is a huge security hole.. Regular users shouldn't be allowed to save files into the GP Program folder and the way to remediate that is to get the essential files put on a different location and start GP by providing the path of those file location (like the DEX.ini and some .DIC files).
GP can be started with a Batch file and user variables to prevent this.. And user documents like PDF should even less be written to the program folder and the application configuration should make sure it's pointing to some share network location where users have read/write access.
For more details on how to achieve this, read my blog post : https://dyngpgeek.wordpress.com/2014/07/25/using-dynamics-gp-in-a-citrix-ts-environment/
Thanks Richard! I will give that a try.
Since the filename is always DOCUMENTS.PDF most likely what is happening is the file is open and cannot be overwritten.
Can you have it saved with a random name instead?
André Arnaud de Cal...
294,125
Super User 2025 Season 1
Martin Dráb
232,871
Most Valuable Professional
nmaenpaa
101,158
Moderator