Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 904
mahesh reddy Avatar asked Mar 23 '26 03:03

mahesh reddy


1 Answers

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

like image 96
developer747 Avatar answered Mar 25 '26 16:03

developer747



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!