2016-11-04 59 views

回答

0

屬性useMachineProtection添加到您的configProtectedData /供應商/在你的web.config中添加元素:

<configuration> 
    <configProtectedData defaultProvider="SampleProvider"> 
    <providers> 
     <add name="SampleProvider" 
     type="System.Configuration.DpapiProtectedConfigurationProvider, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" 
     useMachineProtection="false" /> 
    </providers> 
    </configProtectedData> 
</configuration> 
相關問題