Open jjcua opened 10 years ago
There seem to be some medium trust issues with NLog (the logging library used internally by Moolah).
It is possible that maybe changing your NLog.config to disable logging MIGHT fix it, but will need to do some further investigation into NLog to figure out a more permanent solution...
Hi Moolah community, The checkout function of my web application is working fine when testing locally. But when I deploy my web application on GoDaddy and test the checkout function, I encounter FileIOPermission error. So far, I have set all folders to write permission in GoDaddy but still doesn't solve the problem.
Stack trace: [SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.] System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0 System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark) +31 System.Security.CodeAccessPermission.Demand() +46 System.Reflection.RuntimeAssembly.get_Location() +100 NLog.d__a.MoveNext() +410
NLog.LogFactory.get_Configuration() +331
NLog.LogFactory.GetLogger(LoggerCacheKey cacheKey) +458
NLog.LogFactory.GetLogger(String name) +54
NLog.LogManager.GetCurrentClassLogger() +187
Moolah.PayPal.PayPalExpressCheckout..cctor() +8