Hello,
I am trying to update arcgis server directories from local server drive to network location. It gives me below error. Kindly suggest
Failed to create the folder '\\192.168.0.1\GISRepository\ArcGISServer106\ArcGISServerDir'.
Environment:
ArcGIS Server 10.6 on Windows 2012 R2
Access to above folder is granted to everyone
I can add above location as 'connect folder' from ArcMap from server.
Thanks again
-AS
Solved! Go to Solution.
Try giving the account explicit read/write access through the Share rather than relying on "Everyone". I rarely expect Server to be able to write to a directory because "Everyone" can write to it anymore and typically need to give the ArcGIS Server user explicit permissions.
No. The user you log into the portal as is irrelevant. The account that matters is the 'ArcGIS Account', aka the runas account that is used to start the portal service. If you were to log into this machine as the runas account, can you write to this share?
Is ArcGIS Server running under a local account or a domain account?
It's a domain account.
and, Network Storage is on different domain than ArcGIS Server.
Try giving the account explicit read/write access through the Share rather than relying on "Everyone". I rarely expect Server to be able to write to a directory because "Everyone" can write to it anymore and typically need to give the ArcGIS Server user explicit permissions.
still facing the issue, even after granting 'read/write/full-control' access.
any more suggestions please
Run ProcMon on the Server and filter the path for the share you're trying to use. It may help you determine why it's failing:
I found below info, mostly highlighting access denial.
10:27.8 | javaw.exe | 19592 | CreateFile | \\192.168.0.1\GISRepository\ArcGISServer106\ArcGISServerDir | ACCESS DENIED | Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a |
I want to add below information
Users are managed by portal. I am logged in as admin using Portal named user not a domain user. Will this make difference in access grants ?
No. The user you log into the portal as is irrelevant. The account that matters is the 'ArcGIS Account', aka the runas account that is used to start the portal service. If you were to log into this machine as the runas account, can you write to this share?
Thank you so much, works fine now.