Skip to Content
0
Former Member
Apr 03, 2008 at 05:16 AM

Padding is invalid and cannot be removed

331 Views

Hi,

I have upgraded my Web tools version from PL02 to PL04 and restored the web tools database to a new instance database. I get the below error when I try to access the web site. I have checked the Private key in the Synch manager and web.config file they are same. I have also tried set hash value (-tasks). it does not work.

Not sure why the version is 620? does it requires an upgrade of database in the installer?

Any suggestions will be helpful?

An Internal Error has occurred.

Version 2007.0.620.0

Message Padding is invalid and cannot be removed.

Source mscorlib

Stack 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.Read(Byte[] buffer, Int32 offset, Int32 count)

at System.IO.StreamReader.ReadBuffer()

at System.IO.StreamReader.ReadToEnd()

at netpoint.api.encryption.RMEncryption.DecryptString(String InputText, String Password)

at netpoint.api.encryption.Encryption.Decrypt(String encryptedtext)

at netpoint.api.account.NPUser.Fetch()

at netpoint.api.account.NPUser..ctor(String userid)

at netpoint.providers.NPMembershipProvider.ValidateUser(String username, String password)

at System.Web.UI.WebControls.Login.OnAuthenticate(AuthenticateEventArgs e)

at System.Web.UI.WebControls.Login.AttemptLogin()

at System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e)

at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)

at System.Web.UI.WebControls.ImageButton.OnCommand(CommandEventArgs e)

at System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument)

at System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)

at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)

at System.Web.UI.Page.RaisePostBackEvent(NameValueCollectio

Our technical people have been notified.

We're sorry for the inconvenience.

Regards,

Mohan

Edited by: Mohanakrishnan T on Apr 3, 2008 9:28 AM