Home All Groups Group Topic Archive Search About
Author
5 Jun 2006 5:41 AM
Firman
Dear All,

I'm developing application using VB.Net, and I encrypt connectionstring in configuration file. The application running well on my computer, but the error coming when running at another computer. This the error message:

"Failed to decrypt using provider 'RsaProtectedConfigurationProvider'. Error message from the provider. RSA container could not be opened".

Please help me to solve this problem.

Thanks
Firman

Author
7 Jun 2006 12:38 AM
Darin Clark
If you are using the new encrypt/decrypt methods of the IO.File be aware that only the user that encrypts can decrypt.

Look at the System.Security.Cryptography namespace
  "Firman" <syahm***@yahoo.com> wrote in message news:OGThWNGiGHA.3296@TK2MSFTNGP05.phx.gbl...
  Dear All,

  I'm developing application using VB.Net, and I encrypt connectionstring in configuration file. The application running well on my computer, but the error coming when running at another computer. This the error message:

  "Failed to decrypt using provider 'RsaProtectedConfigurationProvider'. Error message from the provider. RSA container could not be opened".

  Please help me to solve this problem.

  Thanks
  Firman