Hello,
I have an NHibernate application that shares a SQL Server database with other (non-NHibernate) applications on the same server. The other applications use a UDL file to specify their database connection, and it would be nice if NHibernate could use the same.
I've seen reference to connection strings like "File Name=filename.udl", but this fails in my configuration. I'm not sure if this is totally invalid, or just invalid for the kind of connection I'm using.
The original configuration was like this:
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property> <property name="connection.connection_string">Data Source=XXSQL1\DEV;Initial Catalog=XXXXXDEV;Integrated Security=False;User Id=xxxxx;Password=xxxxxxxxx</property> <property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property> <property name="dialect">NHibernate.Dialect.MsSql2000Dialect</property>
Can anybody help?
Chris
|