0

The system has a virtual disk connected to another server (M:) There is an application on IIS that requires access to files on this virtual disk.

DriveInfo[] dis = DriveInfo.GetDrives();

Returns the disks A, C, D, F - ie Local drives and discs.

In the console application, it works fine

DriveInfo[] dis = DriveInfo.GetDrives();

Returns A, C, D, F, M

In IIS server, pools and site work with the user with admin permissions

Valery Yegorov
  • 171
  • 1
  • 11
  • 2
    The virtual disk is connected by the User, the IIS runs as service and not interact with the UI. Its logical that you can not see it, Its like two different users - the one have the virtual disk, the other is not. – Aristos Aug 05 '16 at 15:23
  • hi @aristos. IIS (server, pool and site) works under **same** user who connect virtual disk – Valery Yegorov Aug 08 '16 at 09:55
  • 1
    The IIS and Pool is run as service, the connection you talk about is done from file explorer of windows that have access to the UI, serviced did not have that. Try to direct connect and not use virtual disk. Virtual disk is done from the user interface. – Aristos Aug 08 '16 at 10:10

0 Answers0