Reputation: 191
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
Upvotes: 0
Views: 228