Author: AlbireoYellow | Posted on: 11/26/2009 8:25:15 AM | Views : 364

Hi there!
I have a IIS website, physical folder named "test" and virtual folder named the same - "test" in this website. Then, when I'm trying to use HostingEnvironment.MapPath("~/test") I get an error -  System.Security.SecurityException: Falt when trying to get security permission.
I don't know exactly what is happened in MapPath() and how to avoid this behavior.

...

Go to the complete details ...