I believe the user that Ensembke/HealthShare runs under must have permissions.
When running from Terminal it is using your identity.
Ken
Sent from my Verizon, Samsung Galaxy smartphone
-------- Original message --------From: mullaghmeen <it.m...@gmail.com>Date: 4/10/18 16:40 (GMT-05:00)To: "InterSystems: Ensemble in Healthcare" <Ensemble-in-Healthcare@googlegroups.com>Subject: [InterSystems-EnsHlth] How can I create a directory on a network shared drive from a business operation
Hi All,--
I have a line of mumps code that creates a folder on a network shared drive.
Example:
d ##class($Library.File).CreateDirectory("\\share\folder\newfolder")
If I run this line of code from terminal it works fine and creates the folder without problems.
However If I create a very simple business operation in a production in the same namespace that simply runs this one line of code then the code fails.
Anybody encountered this issue in the past and If so how did you overcome the problem.
Thanks in advance,
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare Community" group.
To post to this group, send email to Ensemble-in-Healthcare@googlegroups.com
To unsubscribe from this group, send email to Ensemble-in-Healthcare-unsub...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/Ensemble-in-Healthcare?hl=en
---
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Ensemble-in-Healthcare+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare Community" group.
To post to this group, send email to Ensemble-in-Healthcare@googlegroups.com
To unsubscribe from this group, send email to Ensemble-in-Healthcare-unsub...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/Ensemble-in-Healthcare?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "InterSystems: Ensemble in Healthcare" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/Ensemble-in-Healthcare/yK68HMNGojM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to Ensemble-in-Healthcare+unsub...@googlegroups.com.