I am getting following error message. Request for the permission of type System.Web.AspNetHostingPermission.
Request for the permission of type System.Web.AspNetHostingPermission. Exception: Security Exception Solution: Problem was cause by there being no Anonymous access set on the virtual directory and ASPNET user not having the security privileges to access that directory.