Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
191
Deployed Infragistics 2009 35 v2 and getting Cryptographic Errors, Reverted back to 2006 no problems
posted

Deployed Infragistics 2009 3.5 v2 and getting Cryptographic Errors, Reverted back to 2006 and the errors go away. This only happens in release on the production server, locally it works fine. We are encrypting and decrypting our querystring for security purposes. 

** Exception    : Bad Data.

 

** Stack Trace  :    at System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(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.FlushFinalBlock()

   at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing)

   at System.IO.Stream.Close()

   at EncryptionWrapper.Symmetric.Decrypt(Data encryptedData)

   at URLParms.DecryptURL()

   at URLParms.set_ParmStringEnc(String value)

   at Diagnostics.CaptureRequestAndSessionInfo(HttpRequest& req, HttpSessionState& ses)

   at PopUpFixedWidth.Page_Init(Object sender, EventArgs e)

   at System.Web.UI.Control.OnInit(EventArgs e)

   at System.Web.UI.UserControl.OnInit(EventArgs e)

   at System.Web.UI.Control.InitRecursive(Control namingContainer)

   at System.Web.UI.Control.InitRecursive(Control namingContainer)

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

** InnerException Stack:

  • 12025
    posted

    Hello Chris, 

    It would be really hard to debug or further look into the issue without knowing the overall context of the problem, when does it happen, controls being using, browser, IIS version etc... 

    Within the stack trace there is no mention of Infragistics controls, so it doesn't look like it is being initiated from one of our controls. I don't know if it will be possible, but if it can be reproduced in a smaller sample, then please send it to us so that we can look into the problem. 

    http://es.infragistics.com/support/submitrequest.aspx

    -Taz.