开发者

Firebird Embeded & .NET: fbembed.dll in different folder

I wa开发者_运维知识库nt to specify the folder where to load the fbembed.dll from. In App.config I have:

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

But I still get the error even if the file is there:

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

Is it needed to be .dll libraries in the root?

Thanks.


Do you need to add ".\" to the start of "Database\MYDATASTORAGE.FDB"?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜