Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...CryptographicException: Bad Data.CryptographicException: Bad Data.
Previous
 
Next
New Post
10/27/2006 1:39 PM
 

Error stock (at bottom)

4.3.5 was installed "successfully" locally (SQL Express).

After DNN goes through its install process, the standard initial home page loads, appears are fine, but note the URL already -

http://localhost/RP/Default.aspx?def=ErrorMessage

Any DNN action now will result in the crypto exception, actions like click on Login, Register, or Home link.

--------------------------------------------------------------------

On my machine, IIS is running both 1.1 and 2.0, one of the other apps being DNN 3.2 (but not active).

4.3.5 was previously installed in a different sub-folder.

Had used and modified release.config and applied needed changes, such as debug=true.

Components look OK in WebSite folders, including the mdf in app_data

-----------------------------

On my machine, IIS is running 1.1 and 2.0, one of the other apps being DNN 3.2 (but not active).

4.3.5 was previously installed in a different sub-folder, but there were issues with that installation, so that attempt was de-installed (ie. removal from IIS, folder).

I somehow think the problem is created by the machineKeys. If I could narrow down the source of the problem, I could experiment with the solution. But what is the following stack trace really saying?

TIA

----------------------------

System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr) +33
   System.Security.Cryptography.Utils._DecryptData(SafeKeyHandle hKey, Byte[] data, Int32 ib, Int32 cb, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode PaddingMode, Boolean fDone) +0
   System.Security.Cryptography.CryptoAPITransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) +319
   System.Security.Cryptography.CryptoStream.FlushFinalBlock() +30
   System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean useValidationSymAlgo) +154
   System.Web.Security.FormsAuthentication.Decrypt(String encryptedTicket) +247
   DotNetNuke.HttpModules.DNNMembershipModule.OnAuthenticateRequest(Object s, EventArgs e) +514
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...CryptographicException: Bad Data.CryptographicException: Bad Data.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out