A
Alan Silver
Hello,
I have an error logging system on one of my sites, so that if an
unexpected exception occurs, I get an e-mail sent. The e-mail includes
the name of the page on which the exception occurred, so I can track it
down.
I have been getting a lot of e-mails recently showing the source of the
exception as being WebResource.axd, and I'm not sure what's happening. I
wonder if anyone here has any ideas.
The most common exception I get is...
Exception: System.Security.Cryptography.CryptographicException
Message: Padding is invalid and cannot be removed
Source = mscorlib
Stack trace =
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.Proces
sRequest(HttpContext context)
at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplic
ation.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously)
Anyone any ideas what this could be, or how I work out what was going on
at the time? I don't even know which page on the site caused this, as
Request.ServerVariables["SCRIPT_NAME"] simply returns WebResource.axd,
which is a .NET resource that is used all over the place.
TIA for any help.
I have an error logging system on one of my sites, so that if an
unexpected exception occurs, I get an e-mail sent. The e-mail includes
the name of the page on which the exception occurred, so I can track it
down.
I have been getting a lot of e-mails recently showing the source of the
exception as being WebResource.axd, and I'm not sure what's happening. I
wonder if anyone here has any ideas.
The most common exception I get is...
Exception: System.Security.Cryptography.CryptographicException
Message: Padding is invalid and cannot be removed
Source = mscorlib
Stack trace =
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.Proces
sRequest(HttpContext context)
at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplic
ation.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously)
Anyone any ideas what this could be, or how I work out what was going on
at the time? I don't even know which page on the site caused this, as
Request.ServerVariables["SCRIPT_NAME"] simply returns WebResource.axd,
which is a .NET resource that is used all over the place.
TIA for any help.