I'm having trouble migrating an existing db from our dev environment to our prod environment. I have backed up the existing db and restored it to a new db instance on the same machine. I have two instances of DSC on two different machines. The problem is if I point the prod instance of DSC to the newly created DB instance I get the following error:
Type : System.Security.Cryptography.CryptographicException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Padding is invalid and cannot be removed.
Source : mscorlib
I believe this is caused by DotshoppingcartMaster.key issues. Now I can't copy the DotshoppingcartMaster.key from the dev environment to the prod environment or I get the following error:
Type : System.Security.Cryptography.CryptographicException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Key not valid for use in specified state.
What I need to know is how can I copy an existing DB for use with another instance of DSC and not run into Crypto problems? I really don't want to start fresh and re-add all of my items and other customizations.
Any pointers?
|