I deployed the asp.net mvc web application to IIS 8 inside a virtual machine (Windows Server 2012 R2). The laser file storage appears as a network drive on this Windows Server 2012 R2 virtual machine. Now my asp.net mvc web application should read the files and folders of this mapped drive using the C # System.IO code. By default, IIS is not allowed to access mapped drives.
This is why a web application throws a System.IO exception
"Could not find the specified path Z: \"
. I also tried to get through "\\\\{storage-name}.file.core.windows.net\\{fileshare-name}
but still no success.
Can someone help me with the correct settings and the settings that I have to do in IIS and the web application?
source
share