locked
Cryptography Application block - Key not valid for use in specified state RRS feed

  • Question

  • User-713317234 posted

    I use Enterprise libraray Cryptography Application block to do encryption/decryption. On develpment machine, everything works properly when I call Cryptographer.EncryptSymmetric method. However, on production server, I got the error - Key not valid for use in specified state. It is the same application with the same key that I deployed to the server. Could anyone know why and how to [:'(]fix this? Thanks,

    Tom

    Friday, September 15, 2006 12:05 PM

All replies

  • User-713317234 posted
    This posting: http://forums.asp.net/thread/1400737.aspx solved my issue. I installed Enterprise Manager on production server to make the Enterprise Library Configuration app available and then create a key on that machine.
    Monday, September 18, 2006 9:46 AM