Hi Mauri
I think it’s not Ensemble
The ensemble instance is running on the server – it is this that has access to UNC’s and I don’t believe that windows will let you change this
What you need to do is give set the username that is running Ensemble at start up the correct access – or change the service account – look in Control Panel ->services
Or so I think
Peter
--
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...@googlegroups.com
To unsubscribe from this group, send email to Ensemble-in-Healt...@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-Healt...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Hi Mauri
That’s neat – did not know you could do that
Peter
--
I agree. That is neat. And I guess one could retrieve Username and Password from Ens_Config.Credentials. It’s a wonder why Intersystems’ doesn’t make this a standard FileIn/FileOut Adapter. Sure beats having to map a drive via %ZSTART.mac
You've found a solution, but it doesn't allow you to use UNC paths with all of the pre-built file operations. You may prefer to just use UNC paths with the existing file operations.
The key to using UNC paths is that the service account that is running the ensemble service must be given appropriate permissions on the share you are trying to read/write
So, if you run ensemble under mydomain\myuser ensure that this account has read/write access on the file share you are trying to use
A simple way to test is to log into your ensemble server as the service account (mydomain\myuser) and try to browse and read/write the same UNC path you want to use in file operation.
This is how I have always done file operations on file shares using UNC paths
-Matt