Web.Config encryption using RsaProtectedConfigurationProvider - “Bad Data” error

前端 未结 7 1734
悲哀的现实
悲哀的现实 2021-02-13 03:07

I am attempting to encrypt connection string values in the Web.Config file for an ASP.NET 2.0 web application, following the procedure described on MSDN. Using the RsaProtectedC

7条回答
  •  暖寄归人
    2021-02-13 03:28

    Be careful that the name of the element to encrypt is case sensitive. So you should use "connectionStrings" not "connectionstrings" or "ConnectionStrings".

提交回复
热议问题