Encrypting ConnectionStrings with aspnet_regiis -pef

Last post 05-16-2008 8:42 PM by EVETS. 4 replies.

Sort Posts:

  • Encrypting ConnectionStrings with aspnet_regiis -pef

    02-27-2008, 7:30 AM

     

    See bellow is a snap shot of my command prompt.

    I am trying to encrypt my connection string section

     

     

     

    C:\Program Files\Microsoft Visual Studio 8\VC>aspnet_regiis -pef "connectionStri

    ngs" "D:\MyprojectFolder"

    Encrypting configuration section...

    An error occurred executing the configuration section handler for connectionStri

    ngs.

     

    Failed to encrypt the section 'connectionStrings' using provider 'RsaProtectedCo

    nfigurationProvider'. Error message from the provider: Object already exists.

     

    Failed!

     

     

    what can i dooo :( 

  • Re: Encrypting ConnectionStrings with aspnet_regiis -pef

    02-27-2008, 9:29 AM
    • Loading...
    • WoodsFlake
    • Joined on 11-17-2003, 9:16 PM
    • Gatineau
    • Posts 58

    What are the keys contained in the connectionStrings section? Is there a single one in there?

    Nikolas Charlebois-Laprade
    Software Engineer
  • Re: Encrypting ConnectionStrings with aspnet_regiis -pef

    02-28-2008, 12:13 AM

     there are more  2 connection strings

  • Re: Encrypting ConnectionStrings with aspnet_regiis -pef

    02-29-2008, 4:53 AM

    Hi

    Can you repro this problem on other machine?

    I think the best place to send this issue within the Visual Studio & .NET Framework  is

    http://connect.microsoft.com/Main/content/content.aspx?ContentID=2220
    Our VisualStudio team member will triage and resolve the problem if you post the steps and test project. Thanks for your understanding.

     

     

    Best Regards
    XiaoYong Dai
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
  • Re: Encrypting ConnectionStrings with aspnet_regiis -pef

    05-16-2008, 8:42 PM
    • Loading...
    • EVETS
    • Joined on 05-16-2008, 8:40 PM
    • Posts 1

    Hello,

    I am having the same issue, is there a solution yet

    Thanks 

     

     

Page 1 of 1 (5 items)