2010-01-04 47 views
0

我想指定從哪裏加載fbembed.dll的文件夾。在App.config中我有:Firebird嵌入式&.NET:fbembed.dll在不同的文件夾

<connectionStrings> 
<add name="database" connectionString="Dialect=3;Database=Database\MYDATASTORAGE.FDB;ServerType=1;clientlibrary=Database\fbembed.dll"/> 
</connectionStrings> 

但我仍然得到錯誤,即使文件是存在的:

The DLL library database\fbembed.dll cannot be loaded: Mentioned modul was not found.(Error based on the value of HRESULT: 0x8007007E) 

是它需要在根.DLL庫?

謝謝。

+0

我想你會在firebird .Net驅動程序支持列表中提供更好的支持http://www.firebirdsql.org/index.php?op=lists – 2010-01-04 21:08:53

回答

1

是否需要在「Database \ MYDATASTORAGE.FDB」的開頭添加「。\」?

相關問題