I am trying to develop a ASPX form with .NET 2.0 on a Shared Hosting Environment.
The problem I am having is that the ISP is saying that their Security Policy is Medium Trust and according to the articles I've read such as http://msdn.microsoft.com/en-us/library/ms998326.aspx#paght000017_aspnettrustlevel and http://msdn.microsoft.com/en-us/library/ms998341.aspx, under Medium Trust, my ASPX form should have access to everything (i.e. read/write access to the folders and files) under the root of the hosted domain.
So, I am using Server.MapPath to map to the physical path of the file to which I am trying to write and I keep getting the following exception:
Exception Details: System.UnauthorizedAccessException: Access to the path '[ Go to the complete details ...