licence key error

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
chipbom11
Ensign (ENS)
Ensign (ENS)
Posts: 8
Joined: Sat Aug 23, 2008 2:26 am

licence key error

Post by chipbom11 » 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

User avatar
Shopping Cart Admin
AbleCommerce Admin
AbleCommerce Admin
Posts: 3055
Joined: Mon Dec 01, 2003 8:41 pm
Location: Vancouver, WA
Contact:

Re: licence key error

Post by Shopping Cart Admin » Wed Sep 03, 2008 11:31 pm

Hello,

It's not a 'bug' it's a Microsoft feature that has been enabled by your web host provider.

The error message pretty much tells you what to do.

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.
Thanks for your support

Shopping Cart Guru
AbleCommerce.com
Follow us on Facebook

Post Reply