Perfect!!
Thanks a lot!!

On 2 ago, 15:30, José F. Romaniello <[email protected]> wrote:
> 1-Inherit from ConnectionProvider
> 2-Override the ConnectionString property
> 3-add this to your hibernate.cfg.xml:
> <property name="*connection.provider*">Namespace.MyConnectionProvider,
> MyAssemblyName</property>
>
> 2010/8/2 Eddie <[email protected]>
>
>
>
> > I want to encrypt my connstring.
> > When I encrypt the connectionstring I get an error because NH doesn't
> > know how to decrypt the value.
>
> > My NHibernate configuration is as follow
> > in the hibernate.cfg.xml file I got:
> >        <property name="connection.connection_string_name">ConnString</
> > property>
> > In the app.config file (it is a win32 application).
> >  <connectionStrings>
> >    <add name="ConnString" connectionString ="Xns6mtdKjfYExBeuNI="/>
> >  </connectionStrings>
>
> > The error is something like the following : "Key word not recognized:
> > 'Xns6mtdKjfYExBeuNI='"
>
> > Where do I have to place code for decrypt my connstring?
> > Someona has a working example about this?
>
> > Thanks in advance.
>
> > Eddie
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "nhusers" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<nhusers%[email protected] 
> > >
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/nhusers?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to