Dino
Wed Sep 03 09:57:28 CDT 2003
No, that is not the case. I am using one way encryption, no way to decript
it and beside that, it works fine when accessing encrypthed passwords from
database. It crashes only when accessing encrypted passwords from
registry.
--
Dino Buljubasic
Software Developer
http://rivusglobal.com
"Ravikanth[MVP]" <dvravikanth@hotmail.com> wrote in message
news:090101c37207$dd9fa2b0$a501280a@phx.gbl...
> Hi
>
> I guess, You should decrypt password before forming
> connection string.
>
> Ravikanth[MVP]
>
> >-----Original Message-----
> >I am storing encrypted password in registry and using it
> then to log on my
> >application. However, my objConn.Open
> (str_connecton_string) crashes the
> >application if I use the encrypted password.
> >
> >My connection string works fine with an unencrypted
> password and looks like:
> >
> >str_connection_string = "data source=XXXX;initial
> catalog=dbname;user
> >ID=username;password=encryptedpassword;connection
> timeout = 5"
> >
> >Any help will be appreciated.
> >
> >
> >--
> >Dino Buljubasic
> >Software Developer
> >
http://rivusglobal.com
> >
> >
> >.
> >