Access to the path denied

Access to the path denied

  

Hi,

I´m trying to use a path from a Personal Environment on P10. To do so, I´m using the Path_GetApplicationDirectory action from FileSystem Extension. However I´m receiving always the "Access to the path 'C:\Outsystems\Sandboxes\xxxxxxxxx\Platform Server\running\Test' is denied."

Can somebody help me to solve this issue?

Best Regards,


Solution

Hi,

I don't think you'll be able to access that path in your Personal Environment. You are getting that error because the user Outsystems uses to access the filesystem doesn't have permissions to access that directory (it does not have access to the C and D drives).

From what I found you can use the Path_GetTemporaryFileName action from the FileSystems extension to save temporary files in the Personal Environment. For more information check this post.

Cheers,

João

Solution