Similar: IIS AppPoolIdentity and file system write access permissions
I'm working with an MVC3 IIS Application where the user should be able to upload images (not to a database, but to the Local File System) and have these images displayed (something of a profile picture kind of system).
The problem I'm having is that there's a so-called load balancer in between the user and application meaning our users will get to either let's call them [Web 1]:192.168.0.1 and [Web 2]:192.168.0.2.
So obviously in order for this feature to be useful if we were to host the images on [Web 1]'s LFS, [Web 2] would need to access it.
So far I've tried the paths;
- \\192.168.0.1\c$\etc...\images
- \\[Web 1]\images
For testing, I've added 'Everyone' with Full Control to the \images\ directory, however when my application has no luck with read of write access to the remote system.
Additional notes:
- [Web 1] and [Web 2] are not on the same domain, they are both independent
- The [Web 2] user in the application pool is the [ApplicationPoolIdentity]
If any more information is required, please don't hesitate to let me know.