web.config section encryption fails

Discussion in 'ASP .Net Security' started by Olivier MATROT, Jan 11, 2008.

  1. Hello,
    Im using ASP.NET 2.0.
    I'm trying to encrypt the connectionStrings section of the web.config file
    with the following command :
    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -pef
    "connectionStrings" "C:\inetpub\wwwroot\NAWEB3"

    Usually this is working fine but today one of our customers encounters the
    following error message :
    Failed to encrypt the section 'connectionStrings' using provider
    'RsaProtectedConfigurationProvider'. Error message from the provider: Object
    already esists.

    I could not figure out what is wrong but I suspect an operating system
    configuration issue.
    Any Help appreciated.
    TIA.
     
    Olivier MATROT, Jan 11, 2008
    #1
    1. Advertising

  2. UP (Managed Newsgroup/Profile change)
    TIA.


    "Olivier MATROT" wrote:

    > Hello,
    > Im using ASP.NET 2.0.
    > I'm trying to encrypt the connectionStrings section of the web.config file
    > with the following command :
    > C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -pef
    > "connectionStrings" "C:\inetpub\wwwroot\NAWEB3"
    >
    > Usually this is working fine but today one of our customers encounters the
    > following error message :
    > Failed to encrypt the section 'connectionStrings' using provider
    > 'RsaProtectedConfigurationProvider'. Error message from the provider: Object
    > already exists.
    >
    > I could not figure out what is wrong but I suspect an operating system
    > configuration issue.
    > Any Help appreciated.
    > TIA.
     
    Olivier MATROT, Feb 25, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. clintonG
    Replies:
    4
    Views:
    357
    clintonG
    Aug 24, 2006
  2. Brian McCullough
    Replies:
    0
    Views:
    500
    Brian McCullough
    Feb 16, 2007
  3. CSharpner
    Replies:
    0
    Views:
    1,048
    CSharpner
    Apr 9, 2007
  4. Olivier MATROT

    web.config section encryption and IIS7

    Olivier MATROT, Jan 23, 2008, in forum: ASP .Net Security
    Replies:
    1
    Views:
    170
    Olivier MATROT
    Jan 30, 2008
  5. kampy
    Replies:
    9
    Views:
    337
    Steven D'Aprano
    Oct 19, 2012
Loading...

Share This Page