Results 1 to 32 of 32

Thread: [.NET 2.0+] Protected Configuration (Encrypting Config Files)

Threaded View

  1. #8
    Fanatic Member
    Join Date
    Jul 2007
    Posts
    617

    Re: [.NET 2.0+] Protected Configuration (Encrypting Config Files)

    everything's clear except this line

    vb Code:
    1. Private Sub LoadConnectionString()
    2.         'Load the current connection string.
    3.         Dim builder As New SqlConnectionStringBuilder(My.Settings.PrimaryConnectionString)
    4. ...
    5. end sub

    i dont understand the line and its produce an error. i change the argument to

    Code:
            Dim builder As New SqlConnectionStringBuilder("Data Source=ConnectionStringsServer;Initial Catalog=ConnectionStringsDatabase;User ID=ConnectionStringsUserName;Password=ConnectionStringsPassword")




    the program run but i was not able to encrypt/decrypt app.config
    Last edited by jlbantang; Jul 23rd, 2008 at 11:58 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width