kdlovell
Joined: 20 Feb 2008 Posts: 2
|
Posted: Wed Feb 20, 2008 4:05 am Post subject: Security Exception |
|
|
I have completed testing the IPN server and I am in the process of implementing it on my web server.
I am getting a Security Exception when trying to generate a license key. The exception is being thrown from the infralution DLL so I am not sure what to do.
The exception is below:
Thanks
Unhandled Exception: SecurityException
Message: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Stack Trace:
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.Environment.GetFolderPath(SpecialFolder folder)
at Infralution.Licensing.EncryptedLicenseProvider.get_ILSLicense()
at Infralution.Licensing.EncryptedLicenseProvider.GenerateKey(Int32 keyStrength, String password, String productInfo, Boolean checksumProductInfo, TextEncoding textEncoding, Int32 serialNo)
at _Default.GenerateLicenseKeys(PurchaseItem item, Int32 count) in e:\kunden\homepages\1\d168285616\IPN.aspx.cs:line 206
at _Default.ProcessPurchaseItem(PurchaseItem item, Int32 quantity) in e:\kunden\homepages\1\d168285616\IPN.aspx.cs:line 290
at _Default.ProcessSinglePurchaseItem() in e:\kunden\homepages\1\d168285616\IPN.aspx.cs:line 470
at _Default.ProcessPayment() in e:\kunden\homepages\1\d168285616\IPN.aspx.cs:line 492
at _Default.Page_Load(Object sender, EventArgs e) in e:\kunden\homepages\1\d168285616\IPN.aspx.cs:line 898 _________________ Keith D Lovell |
|