I have a Windows 7 virtual machine in VMWare that I'm using to develop ASP.NET MVC 5 Web applications with the default IIS Express server. I like to keep my projects saved on an external hard drive which I can access in the virtual machine through a shared folder / network drive. However, when I run my applications, IIS Express cannot access my web.config files in the project directory. It's looking in the right folder so I'm pretty sure this is a permissions issue. How can I grant IIS Express file access to the files on my network drive?
Things I've tried
Known last resorts that I'd prefer to avoid
Copying the project files from the external hard drive to the VM's storage space and vice versa
Running the projects on a full IIS server
Other things to know
Using Visual Studio 2013 and MVC 5
Using IIS Express 7.5
VMWare Workstation 11
The virtual machine is also on the external hard drive, so I can't connect the usb to the guest, I need to access the rest of the hard drive through shared folders (although doubtful, maybe partitioning the hard drive would fix this?)
Guest OS is Windows 7 Professional
Host OS is Debian Jessie RC1
External HDD is formatted as NTFS, although it shows up as HGFS on the network drive
I can read and write to files on the network drive, it's just IIS Express that is having trouble
A permission is set on an object in the vCenter object hierarchy. Each permission associates the object with a group or user and the group's or user's access role.
The tables in this section list the default New Technology File System (NTFS) permissions that are assigned to certain folders and files. These folders and files are installed together with IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, and IIS 10.0. Equivalent to Full control. Applies to subfolders and files only. Equivalent to Full control.
Network drives aren't connected to a computer; they're connected to a session. IIS is running the code under a different user account, in a different session. So even if it's on the same computer, it won't see the mapped drives from the OP's session. Solution 3
Initially, only the administrator user for the vCenter Single Sign-On domain is authorized to log in to the vCenter Server system. The default domain is vsphere.local and the default administrator is [email protected].
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With