System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib Version=220.127.116.11, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
You might receive this error, if your website/application is hosted under our Windows 2008 Shared server and your application requires Full Trust Level. Please note that we do not allow ASP.NET Full Trust hosting on our Windows 2008 Shared plans.
If Full Trust Level is essentilal to run your application, you can switch to our Windows 2012 Shared Hosting. In Windows 2012 Shared Hosting, we allow Full Trust Level hosting with dedicated application pool. To switch your web hosting from Windows 2008 Shared to 2012 Shared, you can submit the ticket from client area.