Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Unable to Create File - Adobe

(0) ShareShare
ReportReport
Posted on by 48

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:

pastedimage1650568690993v1.png

Thx!!

Categories:
  • Suggested answer
    Beat Bucher  GP Geek  GPUG All Star Profile Picture
    28,058 Moderator on at
    RE: Unable to Create File - Adobe

    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/

  • G_K Profile Picture
    48 on at
    RE: Unable to Create File - Adobe

    Thanks Richard!  I will give that a try.  

  • Richard Wheeler Profile Picture
    75,842 Moderator on at
    RE: Unable to Create File - Adobe

    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?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,125 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,871 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans