R I have a problem when reading from a Folder on my hostingaccount. When doing that with the code below, I get this Errorpage about a securityproblem and also pointing to this line.
Line 16: System.IO.StreamReader Read = new System.IO.StreamReader("Folder1/File1.txt");
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral ...
Go to the complete details ...