Cryptographic Exception

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 年 前
Hello,

So far everything has been fine till today that I get an error from a customer. After he placed an order and entered his credit card info. I also found it in log file of noC.

What is causing this? could be a not registered DLL?

Thanks in advance!


Exception of type 'System.Web.HttpUnhandledException' was thrown.

System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Security.Cryptography.CryptographicException: Bad Data. at

System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr) at System.Security.Cryptography.Utils._DecryptData(SafeKeyHandle hKey, Byte[] data, Int32 ib, Int32 cb, Byte[]&
outputBuffer, Int32 outputOffset, PaddingMode PaddingMode, Boolean fDone) at System.Security.Cryptography.CryptoAPITransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) at
System.Security.Cryptography.CryptoStream.Read(Byte[] buffer, Int32 offset, Int32 count) at System.IO.StreamReader.ReadBuffer() at System.IO.StreamReader.ReadLine() at
NopSolutions.NopCommerce.BusinessLogic.Security.SecurityHelper.DecryptTextFromMemory(Byte[] data, Byte[] key, Byte[] iv) at NopSolutions.NopCommerce.BusinessLogic.Security.SecurityHelper.Decrypt(String
cipherText, String encryptionPrivateKey) at NopSolutions.NopCommerce.BusinessLogic.Security.SecurityHelper.Decrypt(String cipherText) at
NopSolutions.NopCommerce.Web.Modules.CheckoutCompletedControl.GetFirstFileOrderDetailsLines(Order order) at NopSolutions.NopCommerce.Web.Modules.CheckoutCompletedControl.ExportDetailsToCSVFiles(Order order)
at NopSolutions.NopCommerce.Web.Modules.CheckoutCompletedControl.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean
includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at
ASP.checkoutcompleted_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\8d40bca0\e850a53e\App_Web_w2picy4v.35.cs:line 0 at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
13 年 前
Please ignore this question. I solved the issue.

Thanks.
2 年 前
rsavra wrote:
Please ignore this question. I solved the issue.

Thanks.


Please share your experience
2 年 前
@noptech
The original post is from 11 years ago.  It may be best if you post your exception message and what version of nopCommerce you are using.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.