I am trying to encrypt the connection string that is being given in the web.config file using aspnet_regiis. So I have the Connection String as
<connectionStrings>
<add name="ProConnection" connectionString="Data Source=J;User Id=T;Password=C;pooling=true;min pool size=5;Max Pool Size=60" providerName="Oracle.DataAccess.Client"/>
</connectionStrings>
So I am trying to open the aspnet_regiis.exe as
aspnet_regiis -pe "ProConnection" -app "/NewTestAPI" -prov "RsaProtectedConfigurationProvider"
in the C:\Windows\Microsoft.NET\Framework\v4.0.30319 but I am not able able to open it. I tried even giving the Run as administrator but still nothig opens. Is it the same way doing it or I am I missing something. Any help is greatly appreciated