Joined: Thu Sep 18, 2008 1:42 pm Posts: 1
|
Hi,
I am using NHibernate 1.2.0 and an sdf-file to store my objects. To be able to copy the whole application without changing the configuration of NHibernate I decided to configure NHibernate this way:
<property name="connection.connection_string">Data Source=.\database.sdf</property>
It works fine until I use the part of the application that exports the database to an excel-file. Therefore I have to choose a folder and a file that the database should be exported to.
Until the application folder and the selected folder are equal everything is fine. When the excel export folder is set to another folder the export does not work because the application is not able to find the database.sdf. I think it is because now NHibernate looks for the config in the folder selected for the export.
Is anyone able to help me?
|
|