mahesh reddy
mahesh reddy

Reputation: 377

Decrypting Connection String Throwing Not enough storage available to process the command

I succesfully imported an RSAkeyProvider from production to local machine. Then I tried to decrypt the connectionstring, but I am getting following error..

C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -pdf "connectionStrings" D:\ Decrypting configuration section... Failed to decrypt using provider 'RsaProtectedConfigurationProvider'. Error mess age from the provider: Not enough storage is available to process this command. (D:\web.config line 9)

Not enough storage is available to process this command.

Failed!

Please help, I am tried googling all day but found no solution

Upvotes: 3

Views: 1306

Answers (1)

developer747
developer747

Reputation: 15958

According to this link, your code should be like this

aspnet_regiis -pd "connectionStrings" -app "/SampleApplication"

I noticed you used a -pdf instead of a -pd

Upvotes: 2

Related Questions