0

I have a problem here. I have implemented a web application ASP.NET MVC to IIS Manager. When the web app runs, it will create a file (.txt) to the virtual disk (share folder), but it throws an error that can not find the virtual disk (share folder). I don't have experience with implement web apps and IIS Manager, so I hope everyone can help me with this problem!

Thank you very much!

  • What "share folder"? You have to describe in accurate words (such as mapped drives), or share screen shots to illustrate clearly. IIS does not support mapped drives in all kinds. – Lex Li Aug 04 '20 at 04:12
  • Thanks for your reply. I mean the shared folder is a network location (ex: Y:\ or P:\) as you called mapped drivers as well. – Nguyen Anh Duy Aug 04 '20 at 04:36
  • Then you cannot use that in any IIS settings or web apps. Microsoft removed KB257174 for no clear reason, but there are other posts over the internet talking about mapped drives and UNC paths, https://west-wind.com/wconnect/weblog/ShowEntry.blog?id=911 – Lex Li Aug 04 '20 at 05:51
  • As far as i know, the virtual disk is based on the current user account. Since the application pool identity is another user, it couldn't see the virtual disk. I suggest you use share folder instead of using virtual disk. about how to use the share folder you can refer to this link:[share folder](https://stackoverflow.com/questions/56772997/cant-access-to-network-share-from-application/56802141#56802141). – samwu Aug 04 '20 at 07:55
  • Thanks to everyone for helping me! – Nguyen Anh Duy Aug 04 '20 at 09:16
  • Have you solved your problem? – samwu Aug 05 '20 at 01:15
  • Has not been resolved yet! I've tried but... Thanks for asking! – Nguyen Anh Duy Aug 05 '20 at 01:53

0 Answers0