Skip to main content
Solved

External File Storage on NAS


martinxfe
Jr Varsity II
Forum|alt.badge.img

I’m having trouble getting external file storage to work when pointed to a Synology NAS.

The NAS directory is mapped to the S:\ drive on my Acumatica server, and I am able to interact with it using my admin account. This is the same account I use when installing Acumatica. However, when I attempt to add either the S:\ drive or a C:\user\administrator\desktop directory as the external storage address, I get an invalid path error.

This is not the case when I use a C:\ directory, so I assume it is user permissions related, but I do not know which user context Acumatica or IIS are running in to grant the needed permissions. 

Any input would be appreciated. 

Best answer by darylbowman

This is how you would normally go about giving folder permissions to an IIS app pool:

Try opening IIS Manager, selecting App Pools on the left, and selecting the App Pool your Acumatica instance is installed in. Note its name.

Locate the folder you wish to allow permission to, and open it’s Properties. Switch to the security tab. Click Edit, and then click Add. In the box that comes up, type ‘IIS AppPool\*appPoolName*’ (replacing *appPoolName* with the actual app pool name, and without ‘ ‘). Click Ok. For good measure, restart the app pool (this will take Acumatica down for a bit).

BUT

Since you are using a secondary device, I’m not sure the above will work. You can try it. It should at least work for a local folder.

 

View original
Did this topic help you find an answer to your question?

3 replies

darylbowman
Captain II
Forum|alt.badge.img+13

This is how you would normally go about giving folder permissions to an IIS app pool:

Try opening IIS Manager, selecting App Pools on the left, and selecting the App Pool your Acumatica instance is installed in. Note its name.

Locate the folder you wish to allow permission to, and open it’s Properties. Switch to the security tab. Click Edit, and then click Add. In the box that comes up, type ‘IIS AppPool\*appPoolName*’ (replacing *appPoolName* with the actual app pool name, and without ‘ ‘). Click Ok. For good measure, restart the app pool (this will take Acumatica down for a bit).

BUT

Since you are using a secondary device, I’m not sure the above will work. You can try it. It should at least work for a local folder.

 


martinxfe
Jr Varsity II
Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • 22 replies
  • August 4, 2023

Just for closure:

This worked to give permission to the local C:/user/... folder that was previously denied.

However with a folder that lives on a Synology NAS, the properties/permissions/locations in windows do not include the local machine, so IIS AppPools can’t be granted permission. Only entities from the greater domain or local to the NAS.

 


darylbowman
Captain II
Forum|alt.badge.img+13

One way to resolve this would be to create an AD user that has local admin permission on the host server (or something similar) and set the IIS AppPool to use that user account. Then permission can be given to that user on the NAS folder.

This can cause more complications to arise, but it is possible.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings