我想指定从哪里加载fbembed.dll的文件夹。在App.config中我有:
<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 :(得分:1)
您是否需要在“Database \ MYDATASTORAGE.FDB”的开头添加“。\”?