I am currently working on a product that needs to use some specific PGP commands. The code is running on Windows server 2008 using IIS7. When the user chooses a certain action, I need to encrypt or decrypt a file before processing it.
The problem that I am having is that when I logon to the server, I can run any pgp command directly through command line and it works, but when I have the code call PGP, I get the following error:
"Error: no personal documents directory found"
Is it not possible to automate PGP on a server that is running an application? If it is possible, what am I doing wrong that is stopping PGP from working?
Thanks in advance for any help you can give me!