licence key error
Posted: Wed Sep 03, 2008 10:30 pm
when i entered a licence key
this bug appear:
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.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Source Error:
Line 79: formData.Append(UrlEncode("Key", LicenseKey.Text));
Line 80: formData.Append("&" + UrlEncode("Path", Server.MapPath("~").ToLowerInvariant() + "\\"));
Line 81: HttpWebRequest httpWebRequest = (HttpWebRequest)WebRequest.Create("https://www.ablecommerce.com/livereg7/GetKey.ashx");
Line 82: httpWebRequest.Method = "POST";
Line 83: httpWebRequest.ContentType = "application/x-www-form-urlencoded";
how can i fix this bug and enter a licence key??? Need help
this bug appear:
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.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Source Error:
Line 79: formData.Append(UrlEncode("Key", LicenseKey.Text));
Line 80: formData.Append("&" + UrlEncode("Path", Server.MapPath("~").ToLowerInvariant() + "\\"));
Line 81: HttpWebRequest httpWebRequest = (HttpWebRequest)WebRequest.Create("https://www.ablecommerce.com/livereg7/GetKey.ashx");
Line 82: httpWebRequest.Method = "POST";
Line 83: httpWebRequest.ContentType = "application/x-www-form-urlencoded";
how can i fix this bug and enter a licence key??? Need help