FileOperation unc file path issues

113 views
Skip to first unread message

Conor B

unread,
Feb 9, 2017, 6:31:19 PM2/9/17
to InterSystems: Ensemble in Healthcare
Hi,

Hoping someone can help.

On my Production I have the 'File Path' option in settings set to a UNC path ( //someshare/folder/My Files/ )

I am getting the following error when trying to write files to this share: ( ERROR #5005: Cannot open file ..... )
I assume it's some type of permission issue. Could a space in the folder name cause this issue? ( folder = 'My File' )

If I click on the magnifying glass beside the 'File Path' setting I don't see the contents of the share ( //someshare/folder/My Files/ ).
I can however access this share from Windows Explorer.

This is on Windows, the Ensemble controller Service is running under 'Local System'
The cache.exe processes in the task manager are running under 'SYSTEM'

Any suggestions would be most welcome.

Thanks,

Conor


Tom Spencer

unread,
Feb 9, 2017, 6:40:14 PM2/9/17
to Ensemble-in...@googlegroups.com

So if the file(s) are on a UNC path this almost certainly suggests a network path of some sort. It is extremely likely that the network is configured such that the local System account does not have access to network paths. I’d go so far as to suggest that this is the default behavior, but I am not an expert on that so don’t take my word for it!

 

What I have seen in a number of places though is that they setup the Ensemble Controller Service to run under a different user and they give that user the permissions to access the relevant file paths on the network resources. This normally works anyway!

 

Good luck.

--
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/d/optout.

Conor B

unread,
Feb 9, 2017, 11:12:39 PM2/9/17
to InterSystems: Ensemble in Healthcare
Thanks Tom,
 I changed the Ensemble Controller Service to use a specific account and it works now.
Thanks for your advise!


On Thursday, February 9, 2017 at 5:40:14 PM UTC-6, Tom Spencer wrote:

So if the file(s) are on a UNC path this almost certainly suggests a network path of some sort. It is extremely likely that the network is configured such that the local System account does not have access to network paths. I’d go so far as to suggest that this is the default behavior, but I am not an expert on that so don’t take my word for it!

 

What I have seen in a number of places though is that they setup the Ensemble Controller Service to run under a different user and they give that user the permissions to access the relevant file paths on the network resources. This normally works anyway!

 

Good luck.

 

From: <ensemble-in...@googlegroups.com> on behalf of Conor B <conorb...@gmail.com>
Reply-To: "Ensemble-in...@googlegroups.com" <Ensemble-in...@googlegroups.com>
Date: Thursday, 9 February 2017 at 23:31
To: "InterSystems: Ensemble in Healthcare" <Ensemble-in...@googlegroups.com>
Subject: [InterSystems-EnsHlth] FileOperation unc file path issues

 

Hi,

Hoping someone can help.

On my Production I have the 'File Path' option in settings set to a UNC path ( //someshare/folder/My Files/ )

I am getting the following error when trying to write files to this share: ( ERROR #5005: Cannot open file ..... )
I assume it's some type of permission issue. Could a space in the folder name cause this issue? ( folder = 'My File' )

If I click on the magnifying glass beside the 'File Path' setting I don't see the contents of the share ( //someshare/folder/My Files/ ).
I can however access this share from Windows Explorer.

This is on Windows, the Ensemble controller Service is running under 'Local System'
The cache.exe processes in the task manager are running under 'SYSTEM'

Any suggestions would be most welcome.

Thanks,

Conor

--
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-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.

Reply all
Reply to author
Forward
0 new messages