Where is your connection string stored? Why don't you validate it before
initializing NHibernate? You can always do a quick, old fashioned
ADO.NETconnection to test it first.

On Wed, Aug 25, 2010 at 5:09 PM, Eric <[email protected]> wrote:

>
> I am using my own DriverConnectionProvider and
> proxyfactory.factory_class = ThreadLocalConversationalSessionContext
> for a PC application.
>
> I would like to be able to disable the conversation (i.e. if user
> connection settings are wrong), let the user change the connection
> settings, hit connect, and let unhaddins and nhibernate do their
> magic.
>
> Things do not seem quite happy to have an invalid connection string,
> however.
> Is there a way to disable conversations and cause a custom
> DriverConnectionProvider to re-Configure?
>
> Best Regards,
> Eric
>
> --
> 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