Failed to decrypt using provider 'CustomProvider'
Running Vista Ultimate and VS 2008
Trying to use a private key to encrypt/decrypt the connection string
have successfully run aspnet_regiis -pi
have successfully run the aspnet_regiis -pa for the network service
it will not run for aspnet
when trying to debug my code i receive
Failed to decrypt using provider 'CustomProvider'.
can not decrypt the connection string - what do i need to do differently for
IIS7?
.
Relevant Pages
- ConnectionString encryption decryption
... Decrypt function used to encrypt and decrypt the connection string pass to ... at System.EnterpriseServices.Thunk.Proxy.CoCreateObject(Type serverType, ... (microsoft.public.dotnet.general) - Re: Using encrypted dB connection string
... > Using 2-way to Encrypt and Decrypt and email forgotten passwords ... > connection string every single time you are going to connect to it. ... >> machine key for the actual machine on which you are running, ... (microsoft.public.dotnet.framework.aspnet) - Re: Security in windows forms apps
... I have encrypted the connection string in the app.config file, code behind, ... Add whatever encryption ... your source, put an encrypted version into the source, and decrypt it ... Obfuscation will not hide the sourcecode key from anything more than a ... (microsoft.public.dotnet.languages.csharp) - failed to decrypt using custom provider
... Trying to use a private key to encrypt/decrypt the connection string ... Failed to decrypt using provider 'CustomProvider'. ... (microsoft.public.inetserver.iis) - RE: RSACrypto.. - can I reuse the private key and more..?
... -Create RSACryptoServiceProvide with the same params for the CSP as above ... And it works - now the 2 machines use the same private key ... > 2) Is it possible to encrypt/decrypt using a key pair created by sn.exe> tool? ... I also> realized that there is also a problem when trying to decrypt with a private> key created by sn tool - an exception occurs - I have used thr right> container name and tried to decrypt info which has been encrypted with the> public key) ... (microsoft.public.dotnet.security) |
|