Click here to Skip to main content
15,888,254 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All
I have to do update APS.Net MVC System someones did long time ago.
there is a problem to run page while debugging web.config file section called appSecureSection.

that developer leave the company long time ago and cannot to contact him

Is there is any way to do this ?
Thanks In Advance!

This is The ScreenShot

C#
<appSecureSection configProtectionProvider="RsaProtectedConfigurationProvider">
  <EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element"
   xmlns="http://www.w3.org/2001/04/xmlenc#">
   <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc" />
   <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
    <EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#">
     <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5" />
     <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
      <KeyName>Rsa Key</KeyName>
     </KeyInfo>
     <CipherData>
      <CipherValue> Some Chipper Data</CipherValue>
     </CipherData>
    </EncryptedKey>
   </KeyInfo>
   <CipherData>
    <CipherValue> Some Chiiper Data</CipherValue>
   </CipherData>
  </EncryptedData>
 </appSecureSection>


What I have tried:

I Tryed
Setting full privilege and export key containers from server side to my development pc and restore them but no luck

i Use these commands in server Side
aspnet_regiis -pa RSAProviderName "IIS APPPOOL\DefaultAppPool" -full
aspnet_regiis -px RSAProviderName C:\RSA_configkey.xml -pri


this from my local pc
aspnet_regiis -pi RSAProviderName C:\RSA_configkey.xml -exp
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900