Map path server with workgroup to other server with domain

Posted by bzamfir on Server Fault See other posts from Server Fault or by bzamfir
Published on 2012-11-21T20:56:26Z Indexed on 2012/11/21 23:01 UTC
Read the original article Hit count: 212

Filed under:
|
|

I have the following situation, and I need some help to setup properly

I have two VPS (hosted with the same provider, maximumasp). Server A is 2008R2, set with WORKGROUP, and server B is 2012, set with domain, maximumasp.local.

On server A I have an old web app, which uses a special folder, c:\MyUploads, to store uploaded files. App is using this using an appSetting. It will be kept running for a while for safety / compatibility reasons.

I installed a new version of the application on server B, running under AppPoolIdentity. Both instances of the app (A and B) will connect to the same database, so I need them to share also the access to upload folder c:\MyUploads.

How should I setup the app on machine B to access the folder c:\MyUploads ? My idea is to share the folder as \A\MyUploads, and then map it to server B. But the problem is, I don't know to give Read/write to c:\MyUploads on machine A to IIS AppPools\ on machine B

I was trying a test, and shared the c:\MyUploads to Everyone, ReadWrite. I was able to access it from machine B using \\MyUploads But when app from machine B tried to access a file, it gave error.

Any idea how can I accomplish this? Some advice on best practices for such situation would be great.

Thank you

© Server Fault or respective owner

Related posts about iis

Related posts about mappeddrive