Grant IIS Express permission to access network drive in VMWare

白昼怎懂夜的黑 提交于 2019-11-29 14:18:07

VMware/VirtualBox's shared folder between the guest and host is kind of using mapped drive feature of Windows. However, neither IIS nor IIS Express supports mapped drives. If possible, use a sync tool, such as Dropbox, or simply Git to share bits between the two.

I just had a similar issue to this, and what I found was that when you specify your physical path in IIS as a mapped drive, e.g. Z:\shared-folder IIS fails with HTTP 500 error.

However is you specify the path like this: \\vmware-host\Shared Folders\shared-folder then suddenly it works and the app has all the permissions to write to files.

This works both in IIS and IISExpress.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!