Failed to decrypt

F

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
 
D

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
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top