Failed to decrypt using provider rsaprotectedconfigurationprovider appconfig


















DecryptConfig string exeConfigName. In this thread , Jeremy said:. You need to publish with the section decrypted. My app will be installed on a network share and run from there but there will be more than one person who may access the app from their work stations, How can I specify a single key to decrypt the connectionString section that will work from all the machines used to access the app. I'm looking for a way to do this job encrypt in my machine and decrypt in user's machines using c.

As stated by the earlier answerers. This will allow you to remove the need to authenticate on a machine level, which doesn't suit all applications. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Failed to decrypt using provider 'DataProtectionConfigurationProvider' in app.

Asked 5 years, 3 months ago. Active 5 years, 3 months ago. Viewed 9k times. IsProtected section. DecryptText String encText at System. Decrypt XmlNode encryptedNode at System. To workaround this issue, we can upload the unencrypted web. About how to encrypt web. Edit and Encrypt Web. Config sections using C 2. The replies here are all for Web. However in my case the app. That is all you have to do, the encryption is transparent to your application. This encryption works great for Web.

Is there any work around, if one has to use the Encrypt and Decrypt for app. Any information about it is appreciated. I tried converting app. Encryption was successfull. I then renamed the file to app. The content you requested has been removed. Ask a question. Quick access. Disable ASP. NET impersonation Kind regards,. Please help , Its very urgent and highly appreciated. Posted 9-Nov pm Bhanu Pratap Verma. Posted 6-Feb pm altafsagar. Bhanu Pratap Verma Nov am. Add your solution here.

OK Paste as. Treat my content as plain text, not as HTML. Existing Members Sign in to your account. This email is in use. Do you need your password? Submit your solution! When answering a question please: Read the question carefully. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.

If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome. Don't tell someone to read the manual. Chances are they have and don't get it.



0コメント

  • 1000 / 1000