I get this error when I try to "Setlicense"
Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failedv
using this code:
Dim path As String = HttpContext.Current.Server.MapPath("~")
Dim licFile As String = path & "\Aspose.Cells.lic"
Dim license As Aspose.Cells.License = New Aspose.Cells.License()
license.SetLicense(licFile)
The same code has no problem when I use "Aspose.Words.lic". Aspose.Words.lic and Aspose.Cells.lic are in the same directory that a grant Full Control to Everyone. I use Windows Server 2008 R2. What am I doing wrong ?
I had the same problem some months ago, but with code above I solved, but now on another server I get again the same error !!!
Regards
Stefano