IIS is recording the following unhandled exception on a website running DynamicPDF Generator/Merger 5.1. We aren't encrypting/decrypting anything on our end. Have you guys seen this before? Any ideas?
Exception information:
Exception type: CryptographicException
Exception message: Padding is invalid and cannot be removed.
Request information:
Request URL: http://www.websitename.com/WebResource.axd?d=yPoIY5Y1j4fEvyQUkTK5sg2&t=633437666342608750
Request path: /WebResource.axd
Is authenticated: False
Authentication Type:
Thread information:
Thread ID: 6
Is impersonating: False
Stack trace: at System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode paddingMode, Boolean fLast)
at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
at System.Security.Cryptography.CryptoStream.FlushFinalBlock()
at System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean useValidationSymAlgo)
at System.Web.UI.Page.DecryptString(String s)
at System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
CryptographicException
Re: CryptographicException
Support · Jun 11, 2009Hello,
We have not see this error message come up in the past. The error message does not appear to be related to using DynamicPDF for .NET product. Is the web site using some encryption and decryption algorightm?
Thanks,
ceTe Software Support Team