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

前端 未结 7 1827
执笔经年
执笔经年 2021-02-13 02:46

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:20

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

提交回复
热议问题